Repository navigation
equivalence: declared SQL fault carries SQLERRMC and SQLERRD(3); BANKDATA branches 25 to 47 of 48 (Part of #5561) - #5794
Merged
Conversation
…NKDATA branches 25 to 47 of 48 (Part of #5561) 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 22:51
Contributor
Owner
Author
|
No description provided. |
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
BANKDATA (cbsa-bankdata) branch coverage in the det sweep: 25/48 to 47/48 outcomes, paragraphs 24/24, over 24 runs, proven against GnuCOBOL plus the Db2 stub.
Derived SQL faults on BANKDATA were refused by name: the stub left SQLERRML 0, and BANKDATA does
SQLERRMC(1:SQLERRML)(register X8 / M2, a length-0 ref-mod the bounds flags refuse). A declared SQL fault can now carry SQLERRMC and SQLERRD(3), set identically on both sides.Class table (SQL fault fields)
sql_faultssqlerrmc,-= none)sqlerrd3)Plan line:
<program> <line> <nth|*> <sqlcode> <sqlstate> [<sqlerrmc|-> [<sqlerrd3>]]. Token is validated as 1 to 70 non-space characters, elseUnsupported.Coverage quoted
BANKDATA: proven on 24 runs, 24/24 paragraphs, 47/48 branches. 15 declared runs added (12 reason-arm, 3 positive-SQLCODE). The derived faults still run and are still named as unrunnable.
Left: line 917 true arm (100 failed opened-date draws in a row; each draw fails with probability at most about 1/14, so no seed reaches it in practice). Not claimed infeasible.
Assumptions relied on
Deviations from the plan
equivalence_cics.py(sql_fault_plan), notequivalence_sql.py.M2.mdnot edited (5-file cap); left as a slice below.Gates
pr_gates --fast7/7,--ratchets8/8;test_sql_faults,test_evidence,test_equivalence_sql,test_equivalence_db2_rowspass (77 passed, 19 skipped). Det sweep ledger regenerated for cbsa-bankdata only.Cross-repo: None.
Checklist: partial [c:c957d43c] -- line 917 true arm (1 outcome) left; M2 register note
Lessons for agents
ruff formatbefore the proof: formatting changes the harness fingerprint and stales the ledger.proof_sweep.py --det-only --cases X --work DIR --jobs 1 --faults all --no-ratchet, thendet_coverage_ledger.py update DIR, regenerates one case's coverage ledger.Part of #5561
🤖 Generated with Claude Code