@@ -410,48 +410,29 @@ def suggest(self, names: Iterable[str]) -> Suggestion:
410410 an empty group, or one with no votes, suggests no change. A
411411 bare str, bytes, a mapping or a non-str item raises TypeError.
412412
413- Measured 2026-11-10, re-taken 2026-11-11, 2026-11-12,
414- 2026-11-14, 2026-11-15, 2026-11-16 and 2026-11-19, with
415- tools/differential/suggest_measure.py on groups drawn from real
416- names written in a known order, 300 groups a size
417- (decisions/group-suggestion's 2026-11-19 #1364 and #1447
418- entries hold the sizes): a group written in this parser's own order kept it
419- in at least 97% of groups at every size from 2 to 2,000 names,
420- under either base order, save three lists. ORCID holders who
421- typed their given name in capitals (``ANNA Smith``), which the
422- capitals signal reads as a family name, kept their given-first
423- order in 52% of groups of two and 4% of five (why, in that
424- file's 2026-11-12 CAPITALS entry). A list of
425- nothing but bylines written two or three joined initials first
426- (``AM Hoy``) kept it in at least 97% of groups at every size
427- measured, to 500 names (it holds 644), but 50 and 100 names,
428- where it kept it in 94.7% and 93.3%, the name tables voting on
429- a few of its names. And a list of nothing but given names that
430- ORCID's holders type as surnames (``Cooper``, ``Burke``) fell
431- below 95% at every size and was read wrong in every group from
432- 5 names, the surname table voting on each of them (that file's
433- 2026-11-19 #1364 entry).
434- Moving the base takes more names, and
435- how many depends on what the names carry: groups of Chinese,
436- Taiwanese, Korean, Czech, Polish or Italian names (the romanized
437- surnames and the common given names) and of Russian ones (where
438- their patronymics stand) were read right in 95% of groups from 5
439- names; German, Dutch, Spanish, British, French,
440- Romanian, Vietnamese and Japanese from 10; US, Turkish,
441- Nigerian and Brazilian from 20; Indian from 50; and PSC's
442- Bangladeshi filers from 200 (PatentsView's Philippine inventors
443- from 20, through the Russian names among them). A group whose votes fall short of
444- the thresholds keeps the base rather than guess, so a smaller
445- group moves it in fewer of the draws. ``capitals_as_family``, measured 2026-11-12
446- (decisions/group-suggestion's CAPITALS entry): ORCID holders who
447- typed their family name in capitals were suggested it in at least
448- 95% of groups from 4 names, and from 10 where many of the
449- surnames are two or three letters (holders in China, Korea,
450- Vietnam and Taiwan). Of the lists measured that do not write their
451- family names so, only ORCID holders who typed their given name in
452- capitals (``ANNA Smith``) were suggested it, which nothing in a
453- name tells apart; no other list was, ORCID's bylines (``AM Hoy``)
454- included. A name wholly in one case carries no evidence.
413+ Measured on groups drawn from real names written in a known
414+ order (docs/suggest.rst's limits; the dated tables are in the
415+ source repository's docs/design/decisions/group-suggestion.md),
416+ these figures give a general idea and will differ for every
417+ dataset. A group written in this parser's own order kept it in
418+ at least 95% of groups from 2 to 2,000 names, and in 97% for
419+ nearly every kind, save three kinds of list: given names in
420+ capitals (``ANNA Smith``), whose capitals read as a family name;
421+ nothing but two or three joined initials (``AM Hoy``), which
422+ kept it in just under 95% of groups of 50 and 93% of 100; and
423+ nothing but given names that are common surnames elsewhere
424+ (``Cooper``, ``Burke``), read the wrong way round. A group
425+ written the other way round takes more names to move the base:
426+ from 5 for Chinese, Taiwanese, Korean, Czech, Polish, Italian
427+ and Russian names to 50 for Indian ones and 200 for Bangladeshi
428+ ones. A group whose votes fall short of the thresholds keeps the
429+ base rather than guess. ``capitals_as_family`` was suggested in
430+ at least 95% of groups from 4 names for holders who typed their
431+ family name in capitals, and from 10 where many of the surnames
432+ are two or three letters (China, Korea, Vietnam and Taiwan); of
433+ the lists that do not write their family names so, only the one
434+ writing its given names in capitals was suggested it. A name
435+ wholly in one case carries no evidence.
455436 """
456437 from nameparser ._suggest import suggest
457438 return suggest (self , names )
0 commit comments