Skip to content

equivalence: cbsa-inqacc-generated proves INQACC on generated Db2 rows (Part of #4507) - #5393

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4507-20261018T0003Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4507-20261018T0003Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507.

What

tests/equivalence/cbsa-inqacc-generated: CBSA's INQACC (burned estate) proven on Db2 rows generated from CRETB01 + CREI101 (30 ACCOUNT rows: boundaries, NULLs, unique keys), 40 generated LINKs (account number turned through the rows, 20% misses, own/other sort code) plus the 99999999 sentinel. It reuses the cbsa-inqacc port via port_from. Also: an EQUIVALENCE_E2E test, the det-sweep duration entry, the wiki status row.

Evidence (ladder)

  • Executed-equivalent: 41 scenarios, 0 diffs; every task's statements equal on both sides (SQLCODE 0 and +100); ACCOUNT and ABNDFILE compared after every task; COBOL coverage 22/25 paragraphs, 13/25 branches.
  • 9+ generated tasks hit a NULL last-statement date: FETCH -305, ABNDPROC LINK, HRAC abend, abndSqlcode -305 compared on both sides. (The harness folds -304/-305 into a fetched row in the statement log by design, so the abend is the proof.)
  • Mutation: the port is unchanged; its recorded score stays in docs/language_status/mutation_scores.json#cbsa-inqacc/INQACC. Not re-run against the generated case here.
  • Oracle is GnuCOBOL + our stub, not z/OS.

Gates

pr_gates --fast 6/6, audit_check clear, new test skips without EQUIVALENCE_E2E and passes with it. No engine code touched, so no golden bless.

Sibling gaps (still on hand-written seed.sql)

CBSA: delacc, crecust, xfrfun, dbcrfun, acctctrl, inqacccu, bnk1* (multi-table, PROCTRAN/CUSTOMER FKs). CardDemo: cotrtlic, copaus2c. GenApp: lg* (multi-table FKs, burned). zECS/cicsdev: none found with Db2 cases.

Cross-repo

None. Overlaps PR #5391 on docs/wiki/05-20-equivalence-harness.md (one-word edit; merge main first).

Lessons for agents

  • A @case/ dataset input resolves in the case's own directory: a twin needs its own copy of abndfile.bin.
  • Without the EQUIVALENCE_E2E skipif a Docker box runs the e2e test (51 s) in the plain suite.

🤖 Generated with Claude Code

…s (Part of #4507)

Twin of cbsa-updacc-generated for CBSA's INQACC (burned estate): 30 ACCOUNT rows generated from CRETB01/CREI101, 40 generated LINKs plus the 99999999 sentinel, statements compared with what Db2 answered and the table after every task. Generated NULL last-statement dates reach FETCH -305 and the ABNDPROC LINK / HRAC abend on both sides.

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 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 00:11
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 00:13
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5393 @ 5721eed: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39081877517/job/117541456657
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 112 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 88508
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 3bb4411adcab5bea2af68faf49144259021c741cdf6f147459bd038258b3096c
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12119017472
Artifact det-sweep-ledger has been successfully uploaded! Final size is 88508 bytes. Artifact ID is 12119017472
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39081877517/artifacts/12119017472
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/74d07f51-a198-48d0-b429-9140787cc7a1' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 18, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (6ad6685) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 00:25
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 9be9836 into main Oct 18, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261018T0003Z branch October 18, 2026 00:40
@squid-protocol squid-protocol mentioned this pull request Oct 18, 2026
7 tasks done
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