Repository navigation
census: JSON PARSE / GENERATE refusals no longer collapse to the unowned 'other' row (Part of #7847, #7709) - #7906
Conversation
…unowned 'other' row (Part of #7847, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (30fd13d) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #7906 @ 30fd13d: 7 failed check(s) == equivalence-e2e (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == full-suite part 2/3 (failure) -- flake == publish-history (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…d row (Part of #7847, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ca0d350) is not the one a maintainer labelled |
|
CI shepherd: the head of this PR (cdcef62) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
…us summary and page (Part of #7847, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
What
The census
otherrow (2 programs, ownerunowned, the last unknown before the #7709 census can close) was a scrub gap, not a new construct. Its raw gap class, read withcics_censustools only (no census source), isJSONPARSE JSON PARSE: <item> is PACKED NUMERIC (only DISPLAY text and numbers are modelled)plus the siblingJSONGEN JSON GENERATE: the <name> value after an exception is not modelled. A det hole carries the statement class as its first word, so the^JSON (PARSE|GENERATE)construct pattern ingap_prevalence._CONSTRUCTSmissed both and they fell toother. Both are valid Enterprise COBOL the translator does not model, so they belong to the existing census breadth issue #7524 (translator gap, not a source defect).Fix:
_CONSTRUCTSaccepts the optionalJSON<CLASS>prefix. The census summary and page are regenerated from the cached baseline survey ofbe100ed23(before-nbonly, so the 40-program basis is unchanged):other(2) becomesJSON PARSE: not modelled(1 -> 2 programs) plusJSON GENERATE: not modelled(1 program), all owned by #7524. whole 11 and accounted 37 do not move; the programs are not refused whole.Class / Sibling gaps
Class: census gap keys that collapse to the
othercatch-all because a det hole's leading statement-class word defeats an anchored construct pattern. Members: the PARSE and GENERATE spellings, each with its own scrub case intest_gap_prevalence.py, plus a test that the committed census holds nootherrow and that an unrelated key still falls toother. Sibling gaps: none: no other raw census key scrubs tootherin the surveyed estates. The PARSE packed-numeric item usage (JSON PARSE into COMP-3) and the GENERATE exception value stay open under #7524 (not here: translator work). Remaining: PR #7904'sKNOWN_UNOWNED = {other}entry must be deleted when it merges (its test fails onceotheris gone from the census); this PR is additive to it and merged with main.Re-survey after the merge of main
Main's committed census was from an older survey. A fresh survey of main (
86603055, before-nb only, 40 programs) without this change already givesother2 and accounted 35 (was 1 and 36 on main: the #7897 JSON-CODE change moved a program), so that drift is main's. With this change:othergone, JSON PARSE 2 and JSON GENERATE 1 programs, all #7524; whole 11, accounted 35.Cross-repo
None. PRs #7899 and #7904 also edit
gap_prevalence.pyand its test; this change is a one-line pattern plus tests.Gates
pytest tests/tools/test_gap_prevalence.py(134 passed),audit_check.pyall clear, ruff 0.17.3 format clean. No engine change, no golden.Checklist: done [c:c282d9d8]
🤖 Generated with Claude Code