Repository navigation
equivalence: BNK1TFN on generated Db2 rows (Part of #4507) - #5703
Merged
Merged
Conversation
cbsa-bnk1tfn-generated: 30 ACCOUNT rows generated from CRETB01, PROCTRAN empty, 40 generated transfers (account numbers drawn from the rows, some misses), SQLCODEs and tables compared. Proven on 64 scenarios, 28/28 paragraphs, 56/72 branches. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
5 tasks done
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 07:49
squid-protocol
enabled auto-merge (squash)
October 20, 2026 07:54
This was referenced Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
cbsa-bnk1tfn-generated: CBSA's transfer-funds screen (BNK1TFN -> XFRFUN, ABNDPROC) on Db2 rows generated from CRETB01's DDL instead of a hand-writtenseed.sql. 30 ACCOUNT rows (boundary values, NULLs, a quarter under another sort code); PROCTRAN starts empty (CRETB02 declares no foreign key on it, so no multi-table FK generation is needed). 40 generated ENTERs draw FROM/TO account numbers from the rows (10% a number no row holds). Stated scenarios keep the non-ENTER keys, MAPFAIL and the row-independent input checks.Evidence (det_port.py run, Docker Db2 + GnuCOBOL, JDK 17)
det_sweep_coverage/cbsa-bnk1tfn-generated.jsonwritten from the sweep.pr_gates --fast6/6,--ratchetsall PASS, tree-wide guards +test_equivalence_db2_rows.pypass (E2E test skipped withoutEQUIVALENCE_E2E=1).Finding (not masked)
BNK1TFN moves the typed amount through a COMP-2 (
WS-AMOUNT-AS-FLOAT, line 494). On a first run, generated amounts 12.34, 9999999999.99 and 0.01 DIFFERED: GnuCOBOL and the det port move a non-exact double into the 2-decimal field differently (12.34: balance off by 0.01; 0.01: GnuCOBOL read it as not greater than zero). Which is IBM-correct is not settled here. This case therefore draws only amounts a double holds exactly (100.50, 0.25, 2500.50, ...); the case notes say so. xfrfun-generated covers the amount range directly through the COMMAREA.Class table (burned CBSA Db2 cases on seed.sql)
Checklist: partial [c:a7f4b905] -- bnk1cac, bnk1ccs
Cross-repo: none (no engine change, no golden re-bless).
Lessons for agents
🤖 Generated with Claude Code