Skip to content

equivalence: ACCTCTRL and DELACC on generated Db2 rows (Part of #4507) - #5496

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

cbsa-acctctrl-generated and cbsa-delacc-generated: the two CBSA single-table siblings on 30 IBMUSER.ACCOUNT rows generated from CRETB01/CREI101 (boundaries, NULLs, unique sort code + number) instead of seed.sql, with compare_sql and generated LINKs (DELACC draws the account number from the rows, 20% misses). The original cases' pin-one-value hand scenarios stay. DELACC's PROCTRAN starts empty and is compared with ACCOUNT after every task. Two E2E tests in test_equivalence_db2_rows.py (EQUIVALENCE_E2E=1, Docker Db2) det-port and prove each.

Evidence (Docker Db2, det-port, local)

  • ACCTCTRL: 18/18 statements translated, PROVED; 6 generated tasks, all SQL answered alike (SQLCODE 0); paragraphs 7/7, branches 2/2.
  • DELACC: 134/134 translated, PROVED; 37 SQL-compared outputs all equal (SQLCODE 0 and +100); 6 HRAC abends alike on both sides; paragraphs all live covered, branches 13/14 (uncovered: line 363 RAD010 IF false).
  • pr_gates.py --fast: 6/6 pass.

Checklist: partial [c:a7f4b905] -- inqacccu (needs CUSTOMER/ABNDFILE datasets aligned to generated accounts) and the multi-table FK set (crecust, xfrfun, dbcrfun, bnk1*)

Cross-repo: none.

🤖 Generated with Claude Code

cbsa-acctctrl-generated and cbsa-delacc-generated replace the hand-written
seed.sql with 30 rows generated from CRETB01/CREI101, compare_sql on, and
det-port proofs (tests, EQUIVALENCE_E2E=1).

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.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 16:21
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 16:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5496 @ 7c04b49: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39144605734/job/117729341940
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 115 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 91127
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 442d2e3ee4be50902d7f3ab7f5034dcc13249e58237bd7549cc3097cf5d27344
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12143457023
Artifact det-sweep-ledger has been successfully uploaded! Final size is 91127 bytes. Artifact ID is 12143457023
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39144605734/artifacts/12143457023
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/647aa6b8-26a7-4284-a258-cfb79b9369da' 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 (c37e6bd) 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 16:50
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 22862f5 into main Oct 18, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261018T1608Z branch October 18, 2026 17:05
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