Repository navigation
census: the survey inventory lists a data-only copy member and does not count it (Part of #7901, #7709) - #7907
Merged
Conversation
…ot count it as a program (Part of #7901, #7709) 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.
Census inventory: a data-only copy member (no IDENTIFICATION / PROCEDURE DIVISION, no PROGRAM-ID) gets a marked
copy_memberrow indet_surveyinstead of a program row.cics_census.load_surveysskips it;load_copy_memberslists it with the reason;gap_prevalencereports the count andprogramsis over the corrected basis (40 -> 39, owner ruling 2026-11-06, #7709). A member with a PROCEDURE DIVISION but no PROGRAM-ID stays a program (refused row, reported, not dropped).Class sweep
Class: a survey inventory row for a member that is not a program, chosen by file extension alone.
det_survey.mainprogram selection: fixed here.det_survey.markdownexcludes copy rows from its counts.cics_census.usage/cics_census.cics_programs: no change needed, they select members holding EXEC CICS commands, which a data-only member lacks.Remaining slices
CICS_CENSUS_CORPORAunset), regeneratedocs/language_status/gap_prevalence.md+tests/fixtures/gap_prevalence/census_summary.json(gap_prevalence.py --census-survey ... --write), post the 40 -> 39 row on Census mock trial: take the 40 census programs from 8 whole to 40 of 40 accounted, measured by the tool only #7709. Old surveys keep the census: basis note for the copy member in the 40-program basis (Part of #7847, #7709) #7898 basis note until then.Tests: new
tests/tools/test_cics_census_copy_member_7901.py(data-only listed not counted; programs missing PROGRAM-ID / divisions not copy members; free format; load split; markdown; headline). 261 census/gap_prevalence/blocker tests pass;audit_check.pyall clear.Cross-repo: none. Overlaps open PRs #7904, #7906 on
gap_prevalence.py(13 added lines, no regenerated files touched here); merge either first.Checklist: partial [c:41196887] -- census-half page/fixture regeneration and the #7709 row need a re-survey with the census clones
Lessons for agents
cat > filebefore a heredoc in a one-liner hangs the shell on stdin.ruff format tests/tools/with the PATH ruff reformats 37 unrelated files; format only changed files (audit_check uses the pinned one).Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code