Skip to content

Remove the nicknames list's familiar forms so the package ships one licence - #1388

Merged
derek73 merged 3 commits into
masterfrom
feat/familiar-forms-without-odu
Nov 13, 2026
Merged

derek73 merged 3 commits into
masterfrom
feat/familiar-forms-without-odu

Conversation

@derek73

@derek73 derek73 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

Old Dominion University's nicknames list is a compiler's list copied whole, so it keeps its Apache 2.0 licence (decisions/shipped-data-licences, FACTS WE MEASURE). This PR removes it, so the package ships one licence: License-Expression is LGPL-2.1-or-later, as in every release through 3.0.1.

  • Removed: the list's 2,180 familiar pairs from en.toml, tools/vocab/familiar.py's path that fetched and read it, tools/vocab/nicknames_excluded.tsv (every row is one of the list's pairs), LICENSE-nicknames, the Apache-2.0 term and README's paragraph.
  • Rebuilt from data the project may use:
    • ORCID's candidates are drawn again with no pair of the list left out (3+ holders), and reviewed by two readers (Opus and Sonnet 5.5).
    • A recovery pass looks for common pairs in the FEC's filings and Congress's legislators (public domain).
  • familiar.py now reads only tools/vocab/familiar_reviewed.tsv and refuses a row from any source but orcid, fec and congress.
  • test_licensing.py's _THIRD_PARTY is empty. Its per-file checks loop rather than parametrize, so an empty table isn't read as a skip. The README check now matches the whole expression and every LICENSE-* literal.
  • AGENTS.md gains the rule: a replacement for a list is generated from data and reviewed, never by checking the list against that data.

Decisions (maintainer, relayed)

Measured (2026-11-13)

  • ORCID:
    • 421 of the list's pairs reach 3 holders: 414 new candidates, plus the 7 already reviewed.
    • 1,590 more pairs have 2 holders (104 of them the list's) and are not read.
    • The readers agree on 400 of 414 (96.6%): 389 familiar. 13 non-spelling splits are recorded, not shipped.
  • Recovery against a yardstick of the list's 193 common pairs ORCID misses (both names at 1,000+ ORCID holders):
    • The three sources together recover 15, all of them Wikidata's. The FEC and Congress pairs that ship recover 1.
    • Wikidata's P735 holds the name a person goes by, so it can't evidence Kathy/Catherine, Jeff/Geoffrey or Lisa/Melissa.
    • FEC and Congress add Betty / Elizabeth and Dennis / Denny, both agreed by the readers.
  • Vocabulary: FAMILIAR goes from 2,848 pairs to 1,059; ALTERNATE_SPELLINGS from 429 to 320.
  • match_diff --base master (69d5356), 31,250 pairs × 22 settings:
    • The key guarantee holds.
    • Under the default setting no verdict or key moves; only 23 table rows naming a refused outcome read conflict.
    • 22 pairs go from consistent to inconsistent, all under an opt-in:
      • Dropped spellings: Alan / Allan (6 pairs), Brian / Bryan (2), Dona / Donna, Glen / Glenn, John / Jon, Kris / Chris, Lindsay / Lindsey, Tracy / Tracey.
      • The list's familiar forms: Bob / Bobby, Micky / Michael, Eddy / Eduardo, Sophie / Sophia.
      • 4 Brazilian JR / JUNIOR middle names (the list's jr / junior).
    • The 23,792 key moves are all under opt-ins.
  • snapshot.jsonl is byte-identical.

The full record is decisions/name-matching's 2026-11-13 THE FAMILIAR FORMS FROM DATA ALONE and decisions/shipped-data-licences' 2026-11-13 THE NICKNAMES LIST LEAVES.

Process lesson (recorded in mechanisms.md's Field notes)

On their first pass, both review agents judged only the rows they singled out and let a script default the rest to familiar. A count of distinct reasons, masked of each pair's names, doesn't tell that apart from a true read. A planted control would (proposed, not yet run). Until a review plants one, its agreed rows are read by hand before shipping, as this PR's 389 were. #1379's second reader shows the same print, and a re-read of its verdicts (shipped alternate spellings first) follows in its own PR.

Not done here

  • The comment for Add Wikidata as a source of Central and Eastern European familiar forms (Józsi / József) #1387 (the Wikidata measurement and the 16 rows by count only): the permission classifier blocked posting it. The text and the tool are in the shared notes folder for that issue.
  • The 1,590 two-holder ORCID pairs.
  • place() writes a familiar reading on the shorter name by length, which is not always the familiar form (charles / charlie). The match reads either way, but readings_of("charles") reports it. The docstrings now say so; fixing the placement needs a direction the review file doesn't record.

Test plan

  • uv run pytest, uv run pytest -n0 -m serial
  • uv run sphinx-build -b doctest docs <tmp>, python -m doctest README.rst
  • uv run ruff check, uv run mypy
  • tools/vocab/familiar.py --check, tools/vocab/build.py --check
  • match_diff.py --base master, test_snapshot.py

Reviews run: code review, comment analysis, test coverage, design docs (decisions/, mechanisms.md, AGENTS.md), and a review of the fix commit.

🤖 Generated with Claude Code

derek73 and others added 3 commits November 13, 2026 13:14
…ublic records evidence

Old Dominion University's nicknames list is a list copied whole, which
keeps its Apache licence. Its pairs, refusals file, fetch path and
LICENSE-nicknames go, and the expression is LGPL-2.1-or-later alone.
ORCID's candidates are drawn with none of the list's pairs left out and
reviewed by two readers; FEC and Congress nicknames recover Betty /
Elizabeth and Dennis / Denny. decisions/name-matching's 2026-11-13 THE
FAMILIAR FORMS FROM DATA ALONE holds the measurements.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s, plant the title test

The 16 rows kept from the nicknames list's refused spellings because
Wikidata evidences them were the list checked against data, which the
rule this change writes forbids; only the 7 ORCID's generator finds on
its own stay, and Wikidata leaves the permitted sources until #1387.
The recipes pin their inputs, the headline is the list's 2,180 pairs,
and the Field note's figures are masked alike. A planted pair whose
short name reads as a title holds the inert-pair behavior, the sweep
covers alternate spellings and refuses an empty table, and the README
check matches the whole expression.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The planted Pres / Prescott test passed with or without the pair, as
an empty given name reads given-one-side either way; the control takes
Pres's title reading away and the pair then reads familiar-form. The
narrowed source check gains its refusal row for wikidata and a pin on
the permitted sources.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@derek73 derek73 added this to the 3.1 milestone Nov 13, 2026
@derek73 derek73 added vocabulary Fixed by a word-list entry: per-word vocabulary and language packs matching Name matching: Parser.matching(), check() and keys() labels Nov 13, 2026
@derek73 derek73 self-assigned this Nov 13, 2026
@derek73
derek73 enabled auto-merge (squash) November 13, 2026 21:41
@derek73
derek73 merged commit 9672df1 into master Nov 13, 2026
12 checks passed
@derek73
derek73 deleted the feat/familiar-forms-without-odu branch November 13, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

matching Name matching: Parser.matching(), check() and keys() vocabulary Fixed by a word-list entry: per-word vocabulary and language packs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant