Skip to content

equivalence: carddemo-useradd-generated and carddemo-userupd-generated -- RECEIVE MAP typed from BMS (Part of #4506) - #5825

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4506. Checklist: partial [c:a0dccb01] -- userlist, tranlist, cardlist, cardupdate, acctupdate, tranadd, billpay, menu, adminmenu, signon, report, cotrtupc, and an @bms pass on cotrtlic-generated.

What

Two more hand-written RECEIVE MAP cases move to @bms, as -generated twins of carddemo-useradd (COUSR01C) and carddemo-userupd (COUSR02C), modelled on carddemo-userdel-generated:

  • 30 generated scenarios each, map input typed from the BMS source (bad 0.1, empty 0.3), aid list turning through ENTER / PF3 / PF4 (+ PF5 / PF12 / PF7 where the program assigns or ignores them), generated USRSEC file (20 records) compared after each task.
  • The user-id field is drawn from the file with misses (duplicate vs new for useradd; found vs not found for userupd); userupd's COMMAREA selected user likewise.
  • Hand-written scenarios kept only where generation cannot reach them (no COMMAREA, fault runs), each with a why.
  • Test pin: both added to the parametrized test_the_generated_screen_cases_type_their_map_from_the_bms_source.

Evidence

  • equivalence.py run: useradd-generated proven on 34 scenarios, 9/9 paragraphs, 17/21 branches; userupd-generated 34 scenarios, 11/11 paragraphs, 31/46 branches.
  • proof_sweep.py --det-only on both: PROVED; coverage ledgers written with det_coverage_ledger.py update, durations added.
  • Gates: pr_gates --fast 7/7; --ratchets completeness and ground-truth pass (other ratchets not run: no engine or port change); bms-inputs test file 45 passed; tree-wide guards pass. No mutation run for these twins yet.

Class table (hand-written RECEIVE MAP case on a burned CardDemo program, no @bms twin)

member status
useradd, userupd done here
userdel, cardview, acctview, tranview already done
userlist, tranlist, cardlist, cardupdate, acctupdate, tranadd, billpay, menu, adminmenu, signon, report, cotrtupc open (sibling gaps)
cotrtlic-generated twin exists, receive not @bms

🤖 Generated with Claude Code

…d -- 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 05:06
@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 05:06
@squid-protocol
squid-protocol merged commit d626b0c into main Oct 21, 2026
49 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261021T0457Z branch October 21, 2026 05:27
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