Repository navigation
equivalence: the first committed job case, CardDemo TRANREPT STEP05R -> STEP10R (Part of #4268) - #7265
Merged
Conversation
…-> STEP10R, SORTOUT 25/25 and TRANREPT 86/86 equal (Part of #4268) A job case lives in tests/equivalence/jobs/ (outside the */case.json glob); a step's `inputs` replaces a dataset's input so both steps read the job's one date card. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ect helper cap, 120) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
5 tasks done
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.
What
Part of #4268. The first committed multi-step job case: CardDemo TRANREPT STEP05R (the lowered DFSORT step) then STEP10R (CBTRN03C), TRANFILE fed from SORTOUT. It lives at
tests/equivalence/jobs/carddemo-job-tranrept.json, outside the*/case.jsonglob, so none of the ~30 per-program case enumerators (construct_map, proof_sweep, ports_compile_check ...) trips over a case with noprogram/datasets.load_casefalls back to that path;.gitignorewhitelists it.New harness key: a step's
inputs({DD: file beside the job case}) replaces a dataset's input. Needed because STEP10R's own case reads a 2022-07-01..07-31 date card, while STEP05R sorts on 2022-01-01..07-06: first run fed 25 records into a report of 0 records, "equal 0/0", which proves nothing. With the shared card the report has 86 records.Class
Class: a job case must be a first-class equivalence case without breaking enumerators that assume one program per case. Sweep: all
glob("*/case.json")users (listed by grep, ~30); the separate path keeps them untouched. Siblings: a vacuous-equal chain (0 records compared) is the same hazard for any future job case; the committed test pins the shared card, and the F4 note says so.Evidence (levels, not "proven")
Run 2026-10-31, GnuCOBOL against the det ports: executed-equivalent over 2 steps; SORTOUT 25/25 records equal, TRANREPT 86/86 equal, both RETURN-CODE 0. Not covered: a read JCL job (wiring is
feeds/inputs), z/OS; mutation not run.Checklist
Checklist: done [c:5944f8ad]
Checklist: partial [c:ac8b71e6] -- SORT/IEBGENER/REPRO run via the lowering; IDCAMS DEFINE and the rest stay refused by name in F4, no new oracle execution here
Checklist: partial [c:9e003ccd] -- F4 updated for the job case; no other F4 change
(SORT case [c:2148d504] landed in #7251.)
Gates
audit_check.py all clear; new tests
test_job_case_4268.py(5),test_equivalence_job_4268.pypass. No engine change, no golden bless.Remaining slices
None for the job case. Left under the issue: executing IDCAMS DEFINE, utility steps beyond REPRO/IEBGENER/DFSORT subset.
Lessons for agents
A job chain can compare equal over zero records: check the compared record count of each step, not only
equal.🤖 Generated with Claude Code