Repository navigation
coverage: an HLASM program is measured as its lowered COBOL; ZECSNC 13/13, 10/10 (Part of #6839) - #7034
Merged
Conversation
… COBOL (Part of #6839) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…anches; ZECS002 measured 22/24, 57/242 (Part of #6839) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Oct 29, 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 #6839.
Owner decisions
Owner ruling 2026-10-29 (in chat): the assembler COVERAGE TOOL slice ZECS002/ZECSNC need to leave L2 is in scope (core, ladder focus).
What this does
coverage.jsonwas built from the.asmtext, which has no PROCEDURE DIVISION, so every HLASM program read 0/0 paragraphs and branches.cobol_coverage.lowered_originalnow lowers aDFHEIENTprogram withdet/hlasm.py;inventory()andrun_coverage()measure that lowered COBOL, andladder_gaps.pymaps each gap back to itsprogram.asm:Nline. A COBOL program, and an HLASM program the lowering refuses, are measured as before.Evidence
terminal-wrong-transid, 8 scenarios)The new ZECSNC oracle events match the GnuCOBOL run (SEND of ER_0010, 74 bytes, then RETURN) and are pinned in
test_hlasm_interp_5859.py.pr_gates --fast9/9,--ratchets9/9; ground-truth ledger and golden masters not moved.Class / Sibling gaps
The class is coverage of a non-COBOL program measured through its lowered form. Handled here: ZECS002, ZECSNC, and ZECS001's linked ZECS002. Siblings not covered: CardDemo batch assembler (not a burned CICS estate), a general non-zECS assembler path (#5859, frontier), and ZECS002's own remaining gaps (below).
Remaining slices
ZECS002 stays at L2: 2 unreached paragraphs (SY-1100, SY-1200) and 185 branch gaps. Most are arms the lowering generates (
EVALUATE HL-RG,HL-OFrange checks): they need scenarios plus an infeasible-outcome review.Cross-repo
None: no companion PRs.
Notes
equivalence_cics.pyneeded no change, so the plan's fourth file dropped out. PR #7026 also touches the zecs-zecs001 ledger: on a conflict take main's file and regenerate withdet_coverage_ledger.py update.Lessons for agents
Adding a scenario to a case with an interpreter cross-check (
ZNC_ORACLEintest_hlasm_interp_5859.py) needs the oracle events pinned there too; read them from/tmp/equiv_*/cobol/scenarios/<name>/out/events.txt(equivalence.py runon an HLASM case reaches the Java step and errors after the COBOL run, but the oracle output is already written).🤖 Generated with Claude Code