Skip to content

equivalence: the first committed job case, CardDemo TRANREPT STEP05R -> STEP10R (Part of #4268) - #7265

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/4268-20261031T0643Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/4268-20261031T0643Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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.json glob, so none of the ~30 per-program case enumerators (construct_map, proof_sweep, ports_compile_check ...) trips over a case with no program/datasets. load_case falls back to that path; .gitignore whitelists 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.py pass. 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

squid-protocol and others added 2 commits October 31, 2026 02:51
…-> 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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 06:55
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 07:00
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 2852d90 into main Oct 31, 2026
67 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4268-20261031T0643Z branch October 31, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant