Skip to content

Spring harness seeds TRANBKP's KSDS from the chain's POSTTRAN output: BKUP equal to the chain's (Part of #8886) - #9298

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8886-20261125T1332Z
Nov 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8886-20261125T1332Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8886. Checklist: partial [c:101680f3] -- SYSTRAN (INTCALC's program step is a stub in the dataset-comparing harness) and the remaining program steps are not linked to the proven ports there.

What

The Spring harness (equivalence_forged_spring.scan_and_run) compares each created generation with the chain's (#9249) and seeds GDG inputs from the chain's bytes (#9266). One final dataset still differed for a seed reason: TRANBKP's BKUP(+1) is a REPRO of the TRANSACT KSDS, which the harness seeded from the 100-record fixture while the chain's KSDS holds POSTTRAN's TRANFILE output (264 records).

  • equivalence_job.run_case exports each step's COBOL output bytes (<work>/outputs/<case>/<DD>, report key outputs_dir).
  • The forged spec's dataset takes chain_feed: {case, dd}; seed_datasets(..., outputs) seeds it with those bytes (whole records checked; the fixture stays the fallback when the chain exported nothing).
  • carddemo-nightly.forged.json: the TRANSACT KSDS names carddemo-posttran TRANFILE.

Evidence (ran the chain in Docker, then the Spring harness over its report)

equivalence.py run carddemo-nightly (7 of 9 steps equal, IBM stop at ICE043A, TRANIDX model-only) then the harness seeded from that report:

  • AWS.M2.CARDDEMO.TRANSACT.BKUP: equal in strict and skip (92400 bytes, sha256 431ff04b7c42...), before: 35000 bytes, differs.
  • AWS.M2.CARDDEMO.TRANSACT.COMBINED: equal (109900 bytes, 8d57782a059a...).
  • AWS.M2.CARDDEMO.SYSTRAN: still differs ("INTCALC wrote no new generation"): INTCALC's program step is the stub here. Not rounded to equal.
  • Steps: 8 of 9 equal in each mode (TRANIDX STEP30 is the IDC1646I refusal).

Gates

Added tests (2) pass with the other 19 in the module; time_ratchet 0 over; audit_check all clear; pr_gates --fast: 7 of 9 gates pass; derived fixed by change_classifier --write; affected fails only on test_call_compare_4778 (corpus example-health-apis gone upstream, an env gap, not this change). Ratchets not run (same missing corpus, per the prior handoff).

Class / Sibling gaps

Class: a final dataset of the forged job that the Spring harness compares with the chain and that differs only because the harness seeded the wrong input or ran a stub. Members: COMBINED (equal since #9266), BKUP (equal here, via the chain feed), SYSTRAN (missing: the dataset-comparing harness stubs INTCALC; the ported run carddemo-job-posttran-intcalc-forged proves the step's outputs but not into this dataset comparison), TRANSACT.VSAM.KSDS itself (seed only; no step creates a new generation of it), CREASTMT's TRXFL.SEQ (ICE043A stop, no dataset, as the chain). Sibling gaps: SYSTRAN needs the ported INTCALC linked into run_forged instead of the stub (a different mechanism: compiling the det port into the harness build); TRANIDX STEP30 refused (IDC1646I); CREASTMT STEP040 behind the TRANSACT record-format owner decision.

Remaining slices

  1. Link the proven det ports for program steps into run_forged (replace STUB), so SYSTRAN is written by INTCALC under Spring and compared (tests/tools/equivalence_forged_spring.py, one test file).
  2. A forged-spring mode on equivalence.py run that runs the chain and this harness in one command and fails on any differs outside the stated refusals.
  3. ifChain-before-JobBuilder assertion in test_jcl_forged_job_fixture.py; abend scenarios under Spring.

Doc-refs fixes: none.

🤖 Generated with Claude Code

… BKUP generation equal to the chain's (Part of #8886)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 25, 2026 14:01
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 14:01
@squid-shepherd
squid-shepherd Bot merged commit d408f88 into main Nov 25, 2026
71 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8886-20261125T1332Z branch November 25, 2026 14:21
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