Skip to content

equivalence: DBCRFUN on generated Db2 rows (Part of #4507) - #5519

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4507-20261018T1915Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4507-20261018T1915Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

CBSA DBCRFUN on 30 generated IBMUSER.ACCOUNT rows (CRETB01/CREI101), PROCTRAN empty, compare_sql on, 40 generated LINKs (account in turn / 10% miss, debit and credit amounts to the S9(10)V99 limit, teller and payment facility types). Det-port proof PROVED on 43 scenarios (SQLCODEs 0 and +100 alike on both sides, ACCOUNT and PROCTRAN alike after every task), 16/22 paragraphs, 23/35 branches (uncovered: abend/CICS-fault arms). Test: test_the_dbcrfun_det_port_holds_on_generated_db2_rows (EQUIVALENCE_E2E=1). Coverage ledger entry via proof_sweep + det_coverage_ledger update.

Class

CBSA cases on hand-written seed.sql. Covered: dbcrfun. Not shipped: xfrfun (below). Left: crecust, bnk1* (multi-table, CUSTOMER/CONTROL).

XFRFUN finding (not shipped, proof not loosened): a generated case differs under compare_sql when the TO account's SELECT hits a NULL date (-305): COBOL falls through (misplaced END-IF) to an UPDATE that Db2 rejects (-180/22007); the Java port issues no UPDATE statement (generated-03/16/29/33). The hand case missed it (no compare_sql). Needs a translator/runtime fix; draft case kept in the handoff dir.

Checklist: partial [c:a7f4b905] -- xfrfun (blocked on the -180 UPDATE statement difference), crecust, bnk1*

Gates: pr_gates --fast 6/6, --ratchets 8/8; db2_rows tests and tree-wide guards pass.

Cross-repo: none.

🤖 Generated with Claude Code

cbsa-dbcrfun-generated replaces the hand-written seed.sql with 30 ACCOUNT rows
generated from CRETB01/CREI101, compare_sql on, 40 generated LINKs; det-port
proof and coverage ledger entry. XFRFUN's generated case differs on a NULL-date
TO read (COBOL's failing UPDATE -180 has no Java statement) and is not shipped.

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 19:27
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 19:33
@squid-protocol
squid-protocol merged commit e588ad6 into main Oct 18, 2026
47 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261018T1915Z branch October 18, 2026 19:50
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