Repository navigation
equivalence: CardDemo COTRTLIC and COPAUS2C on generated Db2 rows (Part of #4507) - #5765
Merged
Merged
Conversation
…rt of #4507) carddemo-cotrtlic-generated: 14 TRANSACTION_TYPE + 20 category rows from the DDL, 7 stated and 24 generated scenarios; proven on 25 scenarios, 50/59 paragraphs, 123/230 branches. carddemo-copaus2c-generated: 6 AUTHFRDS rows, 2 stated SQL-fault and 24 generated COMMAREAs; proven on 28 scenarios, 2/2 paragraphs, 6/6 branches. Generator fix: a SMALLINT filler value is clamped to 32767 (SQL0413N). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 18:27
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 20, 2026 18:31
Owner
Author
|
No description provided. |
7 tasks done
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
Two CardDemo Db2 cases on rows generated from the corpus DDL (
db2.seed: "@generate"), beside their hand-seeded originals:carddemo-cotrtlic-generated(COTRTLIC, CICS): 14TRANSACTION_TYPE+ 20TRANSACTION_TYPE_CATEGORYrows (category rows name generated parents). 5 stated scenarios, 2 PF10 scenarios (DELETE of an unreferenced type, UPDATE), 24 generated (filters, D/U/S selection, ENTER/PF3/PF5/PF7/PF8). Proven on 25 scenarios, 50/59 paragraphs, 123/230 branches.carddemo-copaus2c-generated(COPAUS2C, LINKed): 6AUTHFRDSrows (CARD_NUM and AUTH_TS pinned to the corpus sample values so a generated COMMAREA can build a key a row holds), 24 generated COMMAREAs (INSERT, INSERT -803 then UPDATE) and the two -913 fault scenarios. Proven on 28 scenarios, 2/2 paragraphs, 6/6 branches.tests/tools/equivalence_db2.py): a SMALLINT filler was drawn up to 100000 and Db2 refused the INSERT (SQL0413N); clamped after the draw, so the random stream and every other column are unchanged.EQUIVALENCE_E2Etests and the twodet_sweep_coverageentries (written bydet_coverage_ledger.py update).Class
Class: burned CardDemo Db2 cases whose rows come from a hand-written
seed.sql(db2.seed: "@case/seed.sql") and so need a-generatedsibling ("@generate"). Source:grep '"db2"' tests/equivalence/carddemo-*/case.json.carddemo-cobtupdt-generatedexistscarddemo-cotrtlic-generated, proven, E2E testcarddemo-copaus2c-generated, proven, E2E test@case/seed.sql; no-generatedcaseSibling gaps
tests/equivalence/carddemo-cotrtupc/case.json.Evidence levels
WS-STRING-OUTto length 0 (X8, named inbounds_refusedas in the original); the auto-derived SQL-fault variants reach the DSNTIAC hole (Q5).Cross-repo
None. Corpus (CardDemo) unchanged.
Notes
equivalence_db2.pyis a harness component: otherdet_sweep_coverageentries using the Db2 layer go stale on the harness fingerprint, which only warns until the scheduled refresh.Checklist: done [c:d1425103]
Lessons for agents
det_port.pyprinting DIFFERS can hide an unnamed X8 refusal; readDIR/<case>/proof.log.🤖 Generated with Claude Code