FreeUKGen / FreeCENMigration

Issue tracking for project migrating FreeCEN to FreeCEN2 genealogy record database and search engine architecture. Code developed here is based on that developed in MyopicVicar
https://www.freecen.org.uk
Apache License 2.0
4 stars 3 forks source link

Strengthening of the Validation Process #1783

Open geoffj-FUG opened 5 months ago

geoffj-FUG commented 5 months ago

I have added the content for this story to Google Docs. Most of the code already exists. It can be found at: https://docs.google.com/document/d/1G76xWlt2a2jV91flHyk0JrizskVpqv4SKkSSA8Nx9Pk/edit

A cost benefit analysis is at the end of the document.

Geoff

geoffj-FUG commented 2 months ago

Anne

We are certainly getting there. I have done a pretty comprehensive test. One bug which baffled me for a while: If I propagate when the POB recurs the validation stops at the next identical appearance if it is the next warning. I downloaded instances and found that the flags on the next entry were: False False True prior to validation of the first entry True True True after the validation of the first entry (correct). Then I found the issue: Row 369 had the first instance. Validate and select Next Warning. Row 370 had no entries in teh Warning explanation box but had a Current warning button. I selected this and it returned to row 369. Next warning took me to 370. Row 370 had been filled with the correct alternative POB but the current/next warning buttons had not updated.

We need some additional testing: If the verbatim POB is in the prevalidation data already and the piece was prevalidated then propagation should not be offered at all. When we remove the option to prevalidate (when everybody is comfortable with it) then this test will just be whether the verbatim POB is in the prevalidation data.

Have we considered that if the piece is ERY or WRY or NRY then all Yorkshire entries should be able to be enterer into prevalidation by the validator. Ditto for IOW/HAM and the Channel Islands.

I have now successfully validated and incorporated a piece using prevalidation in test.

Geoff