Repository navigation
JCL oracle tier 1: 28 more IF/THEN/ELSE answers, bare ABEND / RUN evaluated (Part of #8413) - #8451
Conversation
…e evaluator ran) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ader gaps, drop stray file Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…churn selfcheck's diff read) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8451 @ 6856ab4: 2 failed check(s) == ground-truth (failure) -- real == ground-truth part 2/2 (failure) -- real |
|
No description provided. |
|
CI shepherd: the head of this PR (c0a699c) is not the one a maintainer labelled |
|
No description provided. |
Follow-up to #8418 (Part of #8413, IF / THEN / ELSE / ENDIF). Does not close it.
Checklist: partial [c:c0e6aa54] -- #8418 landed the 18-scenario IF/THEN/ELSE level; this adds 28 more and the evaluator fix they exposed. PROC-step IF scenarios stay pinned as known gaps until slice 2.
Checklist: partial [c:e2b88820] -- only pins the reader's PROC-step gap (7 scenarios); PROC resolution itself is not done.
What this adds
tests/equivalence/jcl/fixture/IFFLOW.jcl+ifflow_scenarios.json: 28 IBM-written IF/THEN/ELSE answers (z/OS MVS JCL Reference SA23-1385, IF/THEN/ELSE/ENDIF relational expressions), written before the evaluator ran, including the literal NOT sign (stored as UTF-8). Evaluator reproduces 20; 8 are pinned inIF_KNOWN_GAPS(7 need the reader to expand EXEC PROC;abn-a2-s0c4needs IF-construct ids, IBM Example 9 re-evaluation).gitgalaxy/core/jcl_flow.py: a bareABEND/stepname.RUNin an IF (IBM: means= TRUE) was refused; now evaluated. Header refusal list updated.tests/cobol_mainframe/test_jcl_flow.py,test_jcl_flow_level_fixture.py: expectations updated, tests pinning the gaps.Class / Sibling gaps
Class: IF/THEN/ELSE/ENDIF relational-expression forms the evaluator must accept or refuse by name (RC, ABEND, ABENDCC, RUN, NOT and the glyph, bare keyword forms, nested, PROC-step). Covered here: bare ABEND and bare RUN forms, the NOT glyph. Sibling gaps: (1) stepname.procstepname.RC/RUN/ABEND inside a PROC: reader does not expand EXEC PROC (7 scenarios pinned), slice 2. (2) IF-construct ids / Example 9 re-evaluation after an abend in a THEN clause: not modelled, needs a reader change. (3) bare RUN with no stepname is still refused. (4) Slices 3-5 (GDG, restart, data flow) untouched.
Remaining slices
Slices 2-5 of #8413, one PR each (PROC resolution first: needs jcl_flow to carry inner step rows).
Gates
audit_check all clear; test_source_reads, test_generated_branch, test_change_classifier pass; 39 jcl_flow tests pass. No golden / ratchet run: no parser or golden input changed. Branch merged with main (clean).
pr_gates --fast: lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet pass;affectedran 79 files, 2140 passed, 1 failed:test_container_datatype_change_reach_5005.py::test_no_burned_put_names_a_data_type_but_char(CICS corpus census, no JCL link), which fails identically on a clean origin/main worktree with this box's corpora (pre-existing, not caused by this branch).Lessons for agents
churn selfcheckcrashes with UnicodeDecodeError when a committed file holds a non-UTF-8 byte (a raw 0xAC NOT sign): store fixtures as UTF-8.Hand-written files: 5 (jcl_flow.py, test_jcl_flow.py, test_jcl_flow_level_fixture.py, IFFLOW.jcl, ifflow_scenarios.json).
🤖 Generated with Claude Code