Repository navigation
census: cics_census.py preflight, counts-only checks before a blind trial (Part of #7964) - #7971
Merged
Merged
Conversation
…rial (Part of #7964) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rt of #7964) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 7, 2026
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 #7964
Checklist: done [c:preflight]
What
cics_census.py preflight [--census-corpora DIR] [--root DIR] [--t0 SHA]: counts only, exit 1 on any finding. Logic is in the newtests/tools/cics_preflight.py;cics_census.pygains the subcommand andcensus_root_problems()(the non-raising half ofcheck_census_root, message unchanged).Checks: programs vs copy members (
copy_member_reason; zero programs fails); distinct COPY names whose 3-letter prefix is in neither the estate's members nor_COPYBOOK_FAMILIES; every#Nowner ingap_prevalence.OWNERSis open (accounted rows, named source defect / product copybook frontier, skipped; aghfailure counts as not open); census dir holds only the census corpora; T0 SHA given (--t0orcensus-t0.jsonin the scratch root) and resolves in git. Output names no corpus, program or member (a test pins it).Class / Sibling gaps
Class: census configuration skew that silently changes a blind-trial result (copy members counted as programs, unknown copybook prefixes, closed gap owners, stray dirs in the census root, unrecorded T0). All five members are checked here, each with its own fixture test.
Sibling gaps: the first real run finds 10 of 16 gap-map owners closed (#4098, #4270, #4462, #5042, #5106, #5119, #5121, #5866, #7525, #7845): a re-owner pass over
gap_prevalence.OWNERS(changes the generated gap page, needs the blocker owner's call; no burned program is blocked by this tool). Checklist items 2-4 of #7964 (skill, source-defect rule, ask-the-customer list) are separate slices.Facts checked
pytest tests/tools/test_cics_preflight.py test_cics_census.py test_cics_census_copy_member_7901.py: 58 passed; also plainpytestfrom/tmp: pass.audit_check.py: all clear. Real run on the local census root: copy members 1, unknown prefixes 0, census dir clean, T0 ok, owners finding as above.🤖 Generated with Claude Code