Repository navigation
Read Malaysian a/l, a/p and anak as patronymic particles, as bin is (#1468) - #1475
Merged
Merged
Conversation
…1468) Malaysian Indian names write a/l (son of) or a/p (daughter of) between the bearer's name and the father's, and Iban and Bidayuh names write anak; all three read as middle names, cutting a father's name of two words (KUMAR A/L RAJAN NAIDU read middle 'A/L RAJAN', family 'NAIDU'). Each is now a patronymic reading in ms.toml, so the family opens at it and the patronymic view holds the father's name. a/l and a/p are never given; anak keeps a given reading, so Balinese Anak Agung at the head stays the given name, reported, as binti does. my-candidates: 115 of 3,683 spellings move, every one a name holding A/L, A/P or ANAK, all now read with the father's whole name. opensanctions-parliaments: the 25 my_parliament names move the same way; three ANAK AGUNG names gain the particle-or-given report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reviews found the move counts dividing distinct names by records (115 of 3,077 names, 130 of 3,683 records in my-candidates, where the first commit's message and entry said 115 of 3,683 spellings), a real candidate's name in a note, an unsupported surname claim, and wording true only under the default order. They also found shapes no row pinned: a/l opening the name and the given part after a family comma (P1's fold for a never-given particle, as de reads, where bin leaves a given name), a trailing Anak under FAMILY_FIRST, case repair in capitals, and anak opening the family behind a Balinese prefix, where the patronymic view holds the title Anak Agung. That last cost is recorded as accepted in rules/R9 and decisions/R9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review of the first fix found the new R9 bullet saying anak reads as the particle anywhere inside the name, where the head of the given part after a family comma leaves it to position (Putra, Anak Agung Made), and the release log saying anak opening a name reports the fork, where one opening the family before a family comma does not (Anak Agung Ayu, Sari). Both are now stated by position, with examples. A row note said "a family-first order" where only FAMILY_FIRST opens the family; an example name was one word from a real record and is replaced; the initials example and the ORCID count now name their input and population. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #1468
Malaysian Indian names write
a/l(anak lelaki, son of) ora/p(anak perempuan, daughter of) between the bearer's name and the father's, and Iban and Bidayuh names writeanak. All three read as middle names, so a father's name of two words was cut. Each is now apatronymicreading innameparser/vocab/ms.toml, read asbinis (rules/R9, the patronymic view).KUMAR A/L RAJAN NAIDUDevi a/p MuthuRita Sari anak Jerome InsolAnak Agung Made Putraparticle-or-givenThe issue's open questions
bin. R9's kind test is that the phrase after the particle names the bearer's own father, not a family name passed down. It passes: of 118 distinct phrases after the three words in the two Malaysian lists, 109 follow one bearer. The other 9 are one member written two ways, brothers, or a common Tamil given name.anakoutside a Malay choice: shipped in the default vocabulary, with agivenreading beside the patronymic one, asbintihas. So a name it opens (BalineseAnak Agung, about 300 ORCID given boxes and Indonesia's DPR, DPD and regional lists) keeps its reading and reports the fork. The cost is recorded as accepted in rules/R9 and decisions/R9: mid-nameanakbehind a Balinese or Bruneian prefix (I Gusti Anak Agung Made,Pengiran Anak), or opening the family before a family comma, opens the family, and the view then holds a title, not a father. No list measured writes the prefixed shape. Telling the title from the particle would need a two-word exception the vocabulary cannot express.A / Lwith spaces: not supported. Neither list writes it, norAL/APfor the particle, nor a full stop. Only the slashed spellings are written, in capitals and lower case. One candidate writesA/Kforanak; it is left unlisted, and decisions/R9's Open line records it.a/landa/pstatemay_be_given = false, so they fold likede(rules/P1):A/L Rajanreads family 'A/L Rajan'.Kumar, a/l Rajan(one word before a family comma) reads family 'Kumar a/l Rajan' and no given name, wherebinleaves given 'bin'. Neither list writes that shape, and it is pinned as accepted.Case repair writes the particles in lower case, as it writes
bin:KUMAR A/L RAJANrepairs to 'Kumar a/l Rajan'.Measured 2026-11-19, against master
a6198e5dsnapshot.py --local <corpus> --base <master checkout>:my-candidates(Malaysia's election candidates, in capitals): 115 of 3,077 distinct names move (130 of 3,683 records). Every one holdsA/L(69),A/P(3) orANAK(43). Before, none read with the father's whole name in the family and the view; after, all 115 do. Nothing else moved.opensanctions-parliaments: 28 of 26,400 distinct names move.my_parliamentnames holdinga/l(12),a/p(1) oranak(12): 0 right before, 25 after.ANAK AGUNG …names of Indonesia's lists gain theparticle-or-givenreport; no field moves.Suresh a/l Muthu,Kavitha a/p Raman), and the rules examples add new names.conventions_agreement.jsonre-records those two names: the source states no family name for them, the same recordHassan bin Yusofhas, and their patronymic now agrees.Sweeps
binreads. A trailingAnakunder FAMILY_FIRST opens the family before the first word, asBintidoes there; that is pinned.a/lis listed whole, so no slash-chunk credential reading touches it;Kumar A/L Rajan MD/PhDkeeps the suffix.Rows
tests/v2/cases.py. Thefix(#1468)rows fail on master; the Balinese head row fails there only for its new report.tools/differential/parity_check.py: 0 of 642 parity rows differ from 1.4.0.Docs
Checks
uv run pytestanduv run pytest -n0 -m serialuv run mypyuv run ruff checkuv run sphinx-build -b doctest docs <tmp>tools/vocab/build.py --checkReview
pr-review-toolkit's code-reviewer, pr-test-analyzer and comment-analyzer, and the repository's design-docs-reviewer, on the first commit. The fix commit was then reviewed by design-docs-reviewer, and its findings fixed in a third commit. What the reviews found:
a/lopening a name, one word before a family comma, capitals case repair, and a trailingAnakunder FAMILY_FIRST;Anak Agungcost, now recorded as accepted.Not applicable: silent-failure-hunter and type-design-analyzer (no error handling or types changed).
🤖 Generated with Claude Code