Repository navigation
gap_prevalence: named source defects read as such, census counts accounted (Part of #7709, #7523) - #7752
Merged
Conversation
…unts accounted (Part of #7709, #7523) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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.
Part of #7709 (census mock trial), #7523.
Checklist: done [c:502fdc63]
What this does
The det translator already refuses a STRING numeric sender with a P or a decimal place, and a numeric literal sender, by name (
Gen.string_sender, register C11): a compile error in Enterprise COBOL. #7746 keyed the census row's owner as a #7523 source defect, but the row's status still read "not modelled" and the tool had no accounted count, so the page still showed it as an open hole.status_of: a non-refused gap whose owner is a source defect reads "named source defect".rank/reowner: newaccounted_now(whole, or every gap a named source defect), added only when it differs fromwhole_now;headlineprints it. The committed census summary is re-rendered with no survey (derived fromshapes).Class / Sibling gaps
Class: census gap rows IBM rejects at compile time, named as source defects by owner: STRING numeric sender, STRING numeric literal sender, undeclared item, PERFORM undeclared paragraph (all handled here, one status path).
Sibling gaps: (1) the two STRING-P programs also hold the MOVE / STRING "literal beyond the single-byte code page" rows (register D4, owner "unowned", #7526): they stay unaccounted until that item gives the row an owner; no burned program needs it. (2)
missing copybook: estate-owned(9 programs) is a named clone problem but not counted as accounted by this change; whether it should be is the trial's measurement call. (3) A numeric FUNCTION as STRING sender: frontier only.Facts checked:
test_gap_prevalence.py+test_blocker_report.py149 passed;audit_check.pyall clear; regeneration changes only status cells, the accounted line and one JSON key.Remaining slices
None for this item.
Hand-written files:
tests/tools/gap_prevalence.py,tests/tools/test_gap_prevalence.py. Regenerated:docs/language_status/gap_prevalence.md,tests/fixtures/gap_prevalence/census_summary.json.🤖 Generated with Claude Code