You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
local_agreement scores a miss where a filer typed a title into the given-names box (Dr. Anna read title 'Dr.', given 'Anna') #1501
local_agreement.py scores a record as a miss where the filer typed a title into the given-names box and the parser reads it as the title. For a source with no title box (orcid-researchers, patentsview-inventors) the box then holds a word the given field lacks, so a change that starts reading a real title shows up as a regression.
Given box
Family box
parse() on e0f698c8
Scored
د. منى
حسن
title د., given منى, family حسن
miss
Dr. Anna
Berg
title Dr., given Anna, family Berg
miss
The names are invented, of the shapes read.
How often (PR #1497's count, 2026-11-19, against master 667828ae): listing the Arabic titles written short scored 423 orcid-researchers records as regressions and 211 as changed; 629 records open the given-names box with a newly listed title. The same class is in every earlier title batch's ORCID figures, uncounted.
Why it cannot simply agree.#1477 kept Dr.Ahmed read title Dr., given Ahmed a miss on purpose. The scorer cannot tell a title rightly peeled (Dr.) from a given name wrongly peeled (a leading Md. before #1383, or Dean), and the second is the mistake these sources exist to catch.
Proposal. Count it as a class of its own, neither agreeing nor missing: a record where the parser's title, then its given and middle names, spell the given-names box, in a source with no title box.
The summary line states the class's size beside the agreement figure, as it does the suffix in the surname box.
--base reports a record entering or leaving the class apart from regressions and fixes, with the titles most often peeled, so a reader checks the words rather than the records.
A source with a title box (cz-candidates) is untouched: there the title is scored against its box.
Open questions
Whether the class should count towards the agreement figure. Counting it would raise ORCID's figure by the size of the class and hide a wrong peel; leaving it out keeps the figure comparable with every figure already quoted.
Whether a trailing title or post-nominal typed into the family box (Berg PhD) belongs to the same class. The summary line already counts a suffix there.
Done
The class, with test rows for each shape above, a wrongly peeled given name still visible in the report, and the guard test's grid and recorded control re-taken.
The size of the class in each fielded local corpus on master, and a drawn sample read by hand.
tools/differential/README.md and the root AGENTS.md paragraph on local_agreement.py say how to read the class.
The shared agreement records are re-recorded after merge.
Decided 2026-11-20: a record where the filer typed a listed title into the given-names box, and the parse reads that title as the title and the rest of the box as the given name, is a class of its own. It is reported on its own line and counted in neither the agreeing nor the missing records, so the agreement figure is taken over the records outside the class. The parse is right there and the box is what differs, so a miss understates accuracy and an agreement overstates it.
Activity
derek73 commentedon Nov 20, 2026
Decided 2026-11-20: a record where the filer typed a listed title into the given-names box, and the parse reads that title as the title and the rest of the box as the given name, is a class of its own. It is reported on its own line and counted in neither the agreeing nor the missing records, so the agreement figure is taken over the records outside the class. The parse is right there and the box is what differs, so a miss understates accuracy and an agreement overstates it.
Say which records the title-word filter lets through to the titled cl…
Count a listed title typed into the given-names box apart from the sc…