Repository navigation
#5856 slice 3: CBSTM03A equivalence case (batch subprograms, mvs step, tab-indented copybooks) - #5891
Conversation
…e_mvs lowering (Part of #5856) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…step on the Java side, tab-indented copybooks CBSTM03A (CardDemo) walks PSA -> TCB -> TIOT and CALLs CBSTM03B. The batch COBOL oracle now compiles a case's `subprograms`; the Java run states `mvs_step` as -Dgitgalaxy.mvs.step; a copybook whose tab-indented lines pass column 72 at tab stops of 8 is staged at 4 (refused by name if still too long). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5891 @ f051ca3: 1 failed check(s) == det (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (621edec) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #5856 (slice 3 of 3).
Cross-repo
None. Stacked on #5887 (branch
churn/5856-20261021T1607Z, not merged): its branch is merged into this one, so this PR also shows its commits. Merge #5887 first; nothing re-runs elsewhere after.What changed
tests/equivalence/carddemo-cbstm03a/: batch case for CardDemo CBSTM03A (job CREASTMT, step STEP040,mvs_stepstated, CBSTM03B as asubprogramsentry, STMTFILE and HTMLFILE compared). LICENSE, NOTICE, trnx.txt are copies from the cbstm03b case.tests/tools/equivalence.py: the batch oracle compiles a case'ssubprograms(it only existed for CICS).tests/tools/equivalence_java.py: the Java run passes-Dgitgalaxy.mvs.stepwhen the case statesmvs_step(the COBOL side already hadGGMVS_STEP).tests/tools/equivalence_common.py: a copybook with tabs whose lines pass column 72 at tab stops of 8 (CardDemo CUSTREC.cpy) is staged at stops of 4; one that fits at 8 is untouched; one still too long is refused by name. Only columns move, never tokens.tests/cobol_mainframe/test_cbstm03a_case_5856.py: case shape, harness wiring, tab-stop cases, e2e gated on EQUIVALENCE_E2E.docs/language_status/register/A2.mdwas dropped from this slice; its "not yet modelled" line is equivalence: the oracle's PSA/TCB/TIOT -- ggtiot.c and the equivalence_mvs lowering (Part of #5856) #5887's to fix.Evidence (level, not a verdict)
det_port.py run carddemo-cbstm03a --faults none: PROVED. Translated 477/477 (0 holes, 0 refused). Executed-equivalent: 1 scenario, RETURN-CODE 0/0, STMTFILE 950/950 records, HTMLFILE 3200/3200, SYSOUT 11/11 lines (includes job, step and DD names from the TIOT walk). COBOL coverage 23/25 paragraphs, 0/46 branches (the run takes no error paths). No fault runs. Oracle is GnuCOBOL plus our stub, not z/OS; relies on register A2. CBSTM03B (callee) has 0 holes.evidence.py provecould NOT record a level: it needs a committedport/that builds on the generated skeleton; a det batch port importscobolrt.batch, so the Java side fails to build. Noevidence.jsonis committed (none was hand-written). Needs a decision on how evidence records a det batch port.Checklist
Checklist: partial [c:80274138] -- CBSTM03A is 477/477 translated and proven by det_port.py run; coverage ledger entry now recorded (carddemo-cbstm03a, 23/25 paragraphs, 0/46 branches); no committed port, see above
Checklist: partial [c:0fb89649] -- case added and proven via det_port run; evidence.py prove cannot record a det batch port (above)
Class sweep
Class: a batch program that CALLs a COBOL subprogram, or reads its own control blocks, or copies a tab-indented member.
subprograms); CBSTM03A is the firstSibling gaps: evidence for det batch ports (above). Remaining slices: none for the case; the evidence path needs an issue.
Gates
audit_check (ruff, mypy, dead-key, ast-accuracy) clear;
pr_gates --fast7/7;--ratchets8/8; the new test,test_tiot_walk_5856andtest_mvs_oracle_5856pass (plainpytestfrom/tmp). Not run:det_port.py check(no translator or runtime change), golden bless (no parsing change).Lessons for agents
evidence.py proveon a case with noport/writes anot-provenrecord; delete it, do not commit it._tab_stops.subprogramsfor any program that CALLs another COBOL program.🤖 Generated with Claude Code