Repository navigation
feat(morph): audit pinned native JSON before Python POS conversion - #622
Conversation
|
Later-run acceptance, 2026-11-24, exact head 10 N candidates (5 noun-role, 3 cardinal-role, 2 unrelated-control); 2/3 clean negative controls. All ten raw rows expose the same six key names: commonGrammems, found, homonymWeight, morphInfo, wordForm, wordWeight. Zero occurrences of the 16 explicit source-key names; zero unrecognized top-level keys. Raw and wrapped POS sequences match in native CI. This excludes a discarded explicit top-level source-POS key in these examined rows only; nested values and the C++ source enum are not verified. Next: inspect exact hash-pinned sdist renderer and original AOT gramtab discriminator feasibility, not another wrapper-surface audit. No mapping change; M2 0/5; #282 remains open. Squash merged as |
Refs #282.
The reviewed #621 Python instance probe saw 10 native N analyses without explicit source-POS fields in its allowlist. The pinned upstream binding calls the raw JSON renderer and the Python wrapper selects only a subset of JSON fields. This distinct probe measures that earlier boundary, compares complete POS sequences with wrapped candidates and checks per-token counts against the existing same-run probe.
The source-free receipt exposes only allowlisted key names, counts of unknown keys, fixture hashes and an observation digest. Unknown keys require source review; source-like keys require independent enum validation. No raw values or lexical content are exported; no production mapping or package pin changes. M2 stays 0/5.
Verification at authorship: 5/5 focused local synthetic tests PASS (fixture constants copied exactly from pinned existing module); module --help PASS. Remote readback confirms tested Git blobs dc45cee8 and 1336d998. Full repository and native CI NOT_RUN at authorship. Accept only after exact-head CI and independent source-free artifact verification; no same-run merge.