Skip to content

cbsa-bankdata: VSAM OPEN/WRITE fault runs, branch coverage 17 to 20 of 48; coverage quoted for BANKDATA and CBSTM03B (Part of #5561) - #5758

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5561-20261020T1648Z
Oct 20, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5561-20261020T1648Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Part of #5561. Checklist: partial [c:c957d43c] -- CBSTM03B is at the L3/L4 bar; BANKDATA is at L3 (24/24 paragraphs) but 20/48 branch outcomes, the other 28 named below.

Coverage quoted (det sweep ledger, tests/equivalence/det_sweep_coverage/)

program runs paragraphs branches
CardDemo CBSTM03B (carddemo-cbstm03b, unchanged) 33 14/14 29/29
CBSA BANKDATA (cbsa-bankdata), before 3 24/24 17/48
CBSA BANKDATA, after this PR 6 24/24 20/48 (det port PROVED on all 6 runs)

Change

cbsa-bankdata/case.json gains three declared VSAM fault runs: OPEN OUTPUT status 37, WRITE of the first customer status 30, WRITE of the control record (4th write) status 30. Each reaches one IF CUSTOMER-VSAM-STATUS NOT EQUAL '00' arm (l.450, 564, 595). The ledger entry was rewritten by proof_sweep.py --det-only + det_coverage_ledger.py update, not by hand. Test pins the faults and the entry.

The 28 branch outcomes still uncovered (nothing loosened, no infeasible entries claimed)

  • 22: the failed-SQL error arms (l.841-843 ACCOUNT INSERT; l.1205-1214, 1271-1280, 1337-1346 the three DELETEs). Their derived SQL fault runs are "not runnable faithfully": the oracle overruns SQLERRMC(1:SQLERRML) (register X8). They are refused by name, not infeasible. Needs an owner call on X8 or an IBM-side reference for SQLERRMC.
  • 2: PARM guards l.397 (END < START) and l.403 (step = 0). Reachable by input, but a case has one PARM; needs a PARM per run (harness) or sibling cases.
  • 1: l.579 COMMIT-COUNT > 1000 (needs > 1000 customers; same PARM limit).
  • 3: l.912 false and l.917 true/false (the opened-date retry loop; depends on the PARM seed, so also one PARM per case).

Remaining slices

  1. Per-run parm override for batch fault/scenario runs (equivalence.py + Java side), then runs for END<START, step=0, >1000 customers and a seed that hits the date retry.
  2. X8 decision for the SQLERRMC arms.

Gates

pr_gates --fast 6/6; --ratchets 8 pass 0 fail; test_evidence.py + tree-wide guards + audit_check.py clean. Evidence records of other cases are stale (scheduled job re-proves).

Cross-repo

None.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 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 20, 2026 17:08
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 17:09
@squid-protocol
squid-protocol merged commit 19feb7c into main Oct 20, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/5561-20261020T1648Z branch October 20, 2026 17:17
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