Repository navigation
det_parity: an HLASM CICS program is counted as its lowered COBOL (Part of #7011) - #7072
Merged
Merged
Conversation
…rt of #7011) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… test_cobol_coverage) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Oct 30, 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 #7011 (item 1: linked coverage + parity for a lowered HLASM target).
Item 1 of #7011: parity done; the coverage half was already correct (zecs-zecs001 ledger shows linked.ZECS002 22/24 paragraphs, 55/242 branches via cobol_coverage.lowered_original); items 2-4 open.
det_parity.parity()now counts an HLASM CICS program as its lowered COBOL (cobol_coverage.lowered_original), sodet_portno longer warns "ZECS002: methods 40 vs 21 expected from 0 in the COBOL". Measured on the corpus ZECS002.asm: 25 paragraphs / 255 branches lowered (was 0 / 0), kind cics. A refused lowering or plain COBOL is counted as written. I did not rundet_port.py check(heavy), so the branch ratio on the real port is unverified here.Class / Sibling gaps
Class: a metric that reads an HLASM CICS program's raw .asm as COBOL. Members: linked coverage (already lowered in cobol_coverage, handled), det_parity (fixed here; main and LINK/subprogram .asm alike, since all go through parity()). Sibling gaps: item 2 ZECSNC START target (needs a burned program that starts it with observable data: none known); item 3 ZECS001 line 854 false arm (case data, needs 20+ ZC01SD entries, ZECS001 is burned); item 4 code-page conversion (frontier, mapped only).
Tests: tests/cobol_mainframe/test_det_parity.py (HLASM, refused, already-lowered). pr_gates --fast: 8/9 before fixing the one failure it found (a test import the ground-truth planner skips), then test_ground_truth_plan passes.
Lessons for agents
cat > filewith no heredoc truncates the body to 0 bytes; check wc -c before selfcheck.🤖 Generated with Claude Code