Skip to content

equivalence: cardview and userdel -generated cases, RECEIVE MAP typed from BMS (Part of #4506) - #5816

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4506-20261021T0322Z
Oct 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4506-20261021T0322Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4506.

Checklist: partial [c:a0dccb01] -- left: menu, useradd, userupd, userlist, acctupdate, cardupdate, cotrtupc, tranadd, billpay, report, signon, adminmenu, cardlist, tranlist, cotrtlic (acctview and tranview already have @bms siblings)

What

Two new -generated sibling cases whose RECEIVE MAP input is typed from the BMS source ("@bms"), with the generated file data and a generated COMMAREA, as acctview / tranview / mortgage-mlist did:

  • carddemo-cardview-generated (COCRDSLC, CCRDSLA): 30 CARDDATA records from CVACT02Y, 30 scenarios + 5 hand-written fault / no-COMMAREA ones. Proven on 35 scenarios, 29/30 paragraphs, 53/75 branches.
  • carddemo-userdel-generated (COUSR03C, COUSR3A): 20 USRSEC records from CSUSR01Y, 30 scenarios (PF5 deletes compared on the file) + 6 fault runs. Proven on 36 scenarios, 11/11 paragraphs, 24/32 branches.

Proof: equivalence.py run <case> on both (every event equal, java-facade included), proof_sweep.py --det-only --cases ... then det_coverage_ledger.py update and --update-durations. Pins added to test_equivalence_bms_inputs_4506.py. pr_gates --fast 7/7; tree-wide guards, evidence tests pass.

Class table (hand-written RECEIVE MAP on burned CardDemo cases, no @bms)

Done here: cardview, userdel. Not done: the rest (all burned-estate programs).

Sibling gaps

  • carddemo-menu (COMEN01C): a generated 2-char OPTION reaches 13..99 / 0 / blank, which the case refuses (oracle X8 bounds); needs an OPTIONI value rule beside @bms, so core scope.
  • useradd / userupd / userlist (USRSEC, same mechanism as userdel): next slice.
  • acctupdate, cardupdate, cotrtupc, tranadd, billpay, report, signon, adminmenu, cardlist, tranlist, cotrtlic: larger maps / more fields; later slices.

Mutation on these generated cases is not run here (separate checklist item).

🤖 Generated with Claude Code

…ed -- RECEIVE MAP typed from BMS (Part of #4506)

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 21, 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 21, 2026 03:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 03:32
@squid-protocol
squid-protocol merged commit ea21737 into main Oct 21, 2026
49 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261021T0322Z branch October 21, 2026 03:52
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