Repository navigation
Correct stale Standing examples, closed Open lines and mechanisms entries - #1437
Merged
Merged
Conversation
…ries The 3.1 release sweep's section A (docs/design only; no parser change): Standing and Elsewhere examples re-run and replaced with what the tree reads, superseded Standing lines moved to Not standing (S1, S13), Open lines citing closed issues reworded (#1296, #753, #754, #659, #317), undated counts dated or restated as invariants, and four mechanisms.md entries corrected (the UNIT-PARTITION list gains P12, one_case's sites and who records it, maiden_markers' sites, a renamed test and pin). rules/S2's opening-string Precedence and Accepted bullets narrow to the spaced `Ph. D.` pair, with `Sir PhD Van Johnson` as a boundary row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- decisions/O9, M2, M3, group-suggestion and rules/M2 cite the open issues that track the capitals title and the fullwidth-colon marker. - decisions/S11 scopes T8's division to an initial glued before any comma; the dotted-shape reading still acts after a comma. - decisions/S1 restores #807's escape as a Standing line and marks the part #792 reversed in the #807 entry's head (edit kind 1). - decisions/H10's Open line keeps only #979; deviates-registry points at decisions/O8 and stops listing the choice-only packs. - mechanisms.md names the maiden-marker hand copy and drops the universal over one_case's readers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
`Sir PhD Van Johnson` (title 'Sir', given 'PhD', family 'Van Johnson') is the one name the rebuilt corpus_rules.jsonl gains; the snapshot records it as new, and no other reading moves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Section A of the 3.1 release sweep (root AGENTS.md, release checklist step 0):
docs/design/decisions/,docs/design/rules/anddocs/design/mechanisms.md. No parser change. Where the prose and the tree disagreed, the prose now says what the tree does. Every finding was re-run on masterf5102378before it was edited.Findings and what was done
decisions/: Standing and Elsewhere examples
van Berg Jan denow folds by P11. The example is nowVan Berg Jan defamily-first → family 'Van', which still shows a family that needs a base of its own.Smith, Pedro M.Filho→ suffix 'M.Filho'. Before any comma, T8 now divides an initial glued to a word at its full stop, soPedro M.Filho→ family 'M.', suffix 'Filho'. After a comma, and for a word closed by its own stop, the dotted-shape reading still applies. A 2026-11-16 Should a title glued to the given name by its period split? (Dr.John Smithgives title 'Dr.John', no given name) #1230 Log bullet records the change.Herzog Lambsdorff, Otto→ title 'Herzog'.Grafis a rank particle (ShouldOtto Graf Lambsdorffread familyGraf Lambsdorff, asManfred Freiherr von Richthofenreads familyFreiherr von Richthofen? #709), soGraf Lambsdorff, Ottokeeps family 'Graf Lambsdorff'.Antonio Pavlović mlađi→ suffix 'mlađi'. With a name word behind it, no run starts (S8 Read a generation word before a name word as a name word (rules/S8) #1023): middle 'Pavlović mlađi', family 'Jones'.Jane van der Berg née PhD Jones→ suffix 'PhD Jones'. The oldJr Jonesexample is kept, credited to Read a generation word before a name word as a name word (rules/S8) #1023.Mary Jane Pope.→ title 'Pope.'). vocabulary-exclusions:65: a note added thatkinghas left TITLES (H9 2j). The dated measurement is left as it was.Dr. Mary of Teck/Mary of Teck née Jones, and the line notes thatDean of Chemistryis a title phrase (H9 2i).JOHN SMITH SIreports the fork.John Smith SIreports nothing since Should capitals in a mixed-case name settle a credential the way periods do? #785.john smith ß.x.y.→ 'SS.X.Y.'). R4:42: fixed (the snapshot records both case views since Has case repair now earned a column in the snapshot, as initials() did? #826).John Smith B.Tech→ middle 'Smith B.', family 'Tech', reported;B.Tech.still a suffix).Dipl.Ing.was dropped from the example because it reads as a title (vocabulary), so it shows nothing about the shape verdict.sk(Which unlisted words that open a name with a period should the vocabulary list:Sen.,Ku.,Sk.? #1129) andmd(ShouldMohd RahmanmatchMohammad Rahman? #1383) were added to the shipped set, and "acts nowhere else" was dropped. The Elsewhere line now names C13Mdafter a family comma reads as the degree and takes the given name with it (Rahman, Md Abdulgives suffix 'Md Abdul') #1393 (Rahman, Md) and T8 (Md.Karim Uddin). A 2026-11-16Mdafter a family comma reads as the degree and takes the given name with it (Rahman, Md Abdulgives suffix 'Md Abdul') #1393 Log bullet was added.Lexicon.default().remove("i", kind="conjunction").Ухнаагийн Хүрэлсүхgives given 'Ухнаагийн', family 'Хүрэлсүх') #1237) and TR_AZ (Should a Kyrgyz name readFather uuluas the family? (Бекмырза Чолпонбай уулуgives familyуулу) #1187) have shipped. Burmese (Should a Burmese choice readUandDawas titles, and stopSanjoining the family? (Daw Aung San Suu Kyigives given 'Daw', family 'San Suu Kyi') #1231) still waits.Rinpocheis 'a given name' under every order and 'a family name' only underlone_name_word=Role.FAMILY(O5).initials_as_familyand its ownDEVIATES, so it is no longer a choice-only pack. The line now points at decisions/O8 (Read the initials ending a name as its family name, opt-in, for Nepali and South Indian names (Lakshmi R Sgives middleR, familySby default) #1254). A 2026-11-16 Read the initials ending a name as its family name, opt-in, for Nepali and South Indian names (Lakshmi R Sgives middleR, familySby default) #1254 Log bullet was added; it says NE left the choice-only class and does not try to list that class.Dr King Jrreportstitle-or-nameagain (H9 2026-10-27 Should Baron, Bishop, Judge and the other title words borne as names read as names outside a title phrase? (Baron Davis→ title 'Baron', no given name) #913), andKing, Dr Jris silent. A 2026-11-16 Should Baron, Bishop, Judge and the other title words borne as names read as names outside a title phrase? (Baron Davis→ title 'Baron', no given name) #913 Log bullet was added.E.T. Smithwas fixed by T7 Should E.T. Smith read given 'E.', middle 'T.'? #1296. The file title and its index line now say five of the eight are fixed. A 2026-11-16 Should E.T. Smith read given 'E.', middle 'T.'? #1296 Log bullet was added. The counts in the older Log entries are left as they were written.John, MAis silent, so the example is now"a given name" for John, Ma.title_listno longer exists, so the line now names it as 2.x's, removed in 3.0 (Remove the 1.x vocabulary names (PREFIXES, FIRST_NAME_TITLES, …) and their bridge #357).config/regexes.pyleft in 3.0 (Removenameparser.config.regexesin 3.0? The parser has not readREGEXESsince 2.0 #1008)".U.S. Grant→ given 'U.', middle 'S.').Not standing:line. S1:8: the half of Fix two stale design-doc claims from #805's review: decisions/S7's moved example, rules/S1's ambiguous-member exception #807 still in force (quotes escape as brackets do; a clause of two or more words that is not wholly of non-name words is not suffix-shaped unless an ASCII period ends it:John Smith "Jr."→ suffix 'Jr.',John (Bob Jr) Smith→ nickname 'Bob Jr') stays a Standing line. Should a bracketed generation end there? "W. Russell (Jr.) Withers" reads family "Russell", suffix "Jr. Withers" #792 reversed part of Fix two stale design-doc claims from #805's review: decisions/S7's moved example, rules/S1's ambiguous-member exception #807 by a later decision, so this follows the README's edit kind 1, not aNot standing:line: the Fix two stale design-doc claims from #805's review: decisions/S7's moved example, rules/S1's ambiguous-member exception #807 entry's head now names the superseded part.JOHN SMITH MA JONESfamily 'JONES').locales.ESthe line reads given 'José Luis', becauseluisis a listed given name there. With the default lexicon, O6 takesLuis(family 'Luis Pérez').decisions/: Open lines citing closed issues
Open: none in this file.H10's Open line keeps only the Should a degree written with a period per letter read as a title before a name? (MexicanL.C.P. Ana Ruiz Pazgives givenL.) #979 question. The answeredE.T. Smithhalf moved to its Elsewhere line, with the pointer to T7.locales.ESsorting formGarcía López, Juan) #1145, the sort and display question split out of Phase 4: order and shapes, the rules a pack can choose, and the output model #754.locales.ESsorting formGarcía López, Juan) #1145. The strict-ungated words now point atSTRICT_UNGATED, the reviewed table intest_reading_index.py, instead of "the 16 words", so the count question is gone.patronymicfrom-sonand-dóttirnames (Guðrún Sigurðardóttirgives patronymic'') #1074 (theispack), and records that Phase 3: language packs that prefer or restrict their language #753 closed.DUPONT Jeangives givenDUPONT#659): now points at the open Should a title written in capitals stay a title undercapitals_as_family?DR Anna Bergreads familyDR#1402, and group-suggestion:28's "beside Should an ALL-CAPS word in a mixed-case name mark the family name?DUPONT Jeangives givenDUPONT#659" points at Should a title written in capitals stay a title undercapitals_as_family?DR Anna Bergreads familyDR#1402 too.山田 花子 旧姓:佐藤gives family旧姓:佐藤, not maiden佐藤) #1359, as does rules/M2:110's "Thai honorifics are glued to the given name (นายสมชาย → given "นายสมชาย") #317 tracks whether it should peel".Counts
CATEGORYmaps tosuffix". There are eight.mcandvdcarryvocab:suffix, and the patronymic particles carryvocab:patronymicat classify. On the published token onlymcandvdcarry a second tag, which the line says._normalize, of a word or of a phrase. Every site but one goes throughmaiden_marker_run. The exception is a hand copy,_script_segment._only_post_nominals, which Simplify the script, post-rule, assign and assemble stages #1434 listed as a behavior-changing candidate.rules/
Ph. D.pair. The Precedence fence gains"Sir PhD Van Johnson" → given="PhD" · boundary.tests/v2/test_doc_citations.pypasses, and no code comment quotes the changed words.mechanisms.md
one_caseis recorded by segment or classify. script_segment, which runs between them, asks for it without recording it, so classify asks again.test_the_chained_emitter_is_reachable_by_construction.dris no longer a suffix word. The line keeps the history and adds the same composition reproduced withmd(removing its credential reading turnsJohn Smith, MDinto given 'MD', family 'John Smith').INTERPUNCT→TRANSCRIPTION_DOTS.عبد العزيزas one unit:طارق أحمد عبد العزيزwithtwo_family_namesgives family 'أحمد عبد العزيز'. The quoted span in_vocab.py's UNIT-PARTITION citation is unchanged.Not audited: Japanese-segmenter claims
namedivideris not installed in this environment, so these were not run: W1:9 (a segmenter answer under 0.9 reports SEGMENTATION), W1:11 (あいさわいちろうstays whole, and山田たろうdivides 山田 + たろう), the JA half of W1:12 (高橋一郎under ZH+JA), and the segmenter half of W3:5. W1's namedivider entry was left alone, as briefed (fixed in #1434).Verification
Re-run after the review fixes, head
7884bdb4:uv run pytest tests/v2/test_design_docs.py tests/v2/test_doc_citations.py tests/v2/test_rules_*.py tests/v2/test_doc_*.py -q→ 3337 passed, 2 skipped.Every example written or kept in a changed line, run on this branch (
[key]is the parser:ffFAMILY_FIRST,ffglFAMILY_FIRST_GIVEN_LAST,capscapitals_as_family,lonefamlone_name_word=FAMILY,i_off/md_offthe reading removed,o6o7two_family_names+two_given_names,es_o6o7the same under locales.ES,capstr(capitalized())):Open questions
The capitals-title and fullwidth-colon questions are tracked by the open issues #1402 and #1359, which the docs now cite. No new issues are needed.
🤖 Generated with Claude Code