Repository navigation
cics_census: refuse a bad census root; --no-census reports 'not surveyed' (Part of #6064) - #6124
Merged
Merged
Conversation
…nsus (Part of #6064) survey and blockers now require the census root to hold exactly equivalence_env.census_repos(), each with a program, and name the missing / unexpected / empty corpora. A run that counted no non-burned program reports "non-burned: not surveyed" (header and history line, null counts) instead of 0 / 0. A test pins the census and burned sets as disjoint. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 02:01
squid-protocol
enabled auto-merge (squash)
October 23, 2026 02:11
Owner
Author
|
No description provided. |
This was referenced Oct 23, 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 #6064 (parts 2-4; part 1, the scheduled owner-box census run, is a design note on the issue, not repo CI).
What
survey(plain and--baseline) andblockerscallcheck_census_root: the census root must hold exactlyequivalence_env.census_repos(), each with at least one COBOL program. Otherwise exit non-zero namingmissing:,unexpected:andno COBOL program:corpora (amain+scratchroot now refuses).usage/comparestay lenient (ad-hoc option counts).--no-censusthat counted no non-burned program printsnon-burned: not surveyedin the blockers header; its history line carriesnullnon-burned counts andcensus_surveyed: false;history showprintsnot surveyed. If local non-burned corpora were counted, their counts are still shown (they are real). Old history lines are untouched.census_names()/census_repos()andBURNED_NAMESdo not overlap.Class table
census_surveyedflagTests
tests/tools/test_cics_census.py,test_cics_census_baseline.py(77 pass; plainpytestfrom another cwd too).audit_check.pyall clear. No parsing code touched, no golden bless.Cross-repo
None.
🤖 Generated with Claude Code