Skip to content

mutation: re-run carddemo-menu and carddemo-acctview, close two case gaps (Part of #4443) - #6008

Merged
squid-protocol merged 2 commits into
mainfrom
mutation/4443-carddemo-acctview-menu-rerun
Oct 22, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
mutation/4443-carddemo-acctview-menu-rerun

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4443.

Re-runs the carddemo-menu (COMEN01C) and carddemo-acctview (COACTVWC) mutation entries (burned estate CardDemo). Both records judged older ports (stale mutation.inputs.port.sha256), so test_proof_reach skipped their survivors. Seed 0, 150 mutants each.

Class: mutation record judges an older port / survivor is a case gap

Entry Before After
carddemo-menu stale digest current; 87 killed / 52 survived (0 case_gap, 35 equivalent, 17 unreachable) / 11 stillborn
carddemo-acctview stale digest current; 96 killed / 41 survived (13 case_gap, 16 equivalent, 12 unreachable) / 13 stillborn

The survivors showed two real gaps in the committed cases, closed with stated scenarios and re-proved (equivalence.py run --record):

  • carddemo-menu: carried-customer-and-card-fields kills the copyOf() deletion survivor (16 scenarios proven).
  • carddemo-acctview: pf15-back-to-menu and carried-middle-name-and-ids (24 scenarios proven).

Triage reused by (operator, mutated text) from the old entries and the -generated twins (identical code); the rest triaged by hand against the BMS lengths and the facade (new: ACCTSID LENGTH=11, ACSPHN1 LENGTH=13, facade region.run literal).

test_proof_reach flagged-survivor count 89 -> 95 (6 more, all unreachable facade entry code); new pin test in test_mutation_scores.py.

Facts checked

  • BMS COACTVW.bms: ACCTSID LENGTH=11, ACSPHN1 LENGTH=13; copybook CUST-PHONE-NUM-1 is X(15).
  • Menu non-digit option is refused by the oracle (register X8), so those COMEN01C mutants are unreachable.
  • Gates: pr_gates.py --fast 7/7, --ratchets 9/9, audit_check.py clear, ground_truth_ledger.py check clean, mutation/evidence/proof-reach tests 88 passed.

Remaining slices

  • carddemo-acctview: 13 case_gap parser survivors in alnumToUnsigned (lines 414-442) need xref/account/customer records with odd card numbers (cardxref-4049.txt and siblings) plus card-number-* scenarios like the generated twin's.

Sibling gaps

  • Other tests/equivalence/*/evidence.json with a stale mutation.inputs.port.sha256 were not audited. PCIMMA/B/L/S are stale and out of scope per the issue.

Cross-repo

None; engine repo only.

🤖 Generated with Claude Code

… ports, close two case gaps (Part of #4443)

Both records judged older ports (stale digest), so their survivors were skipped by the
proof-reach check. Re-run at seed 0, 150 mutants; the survivors showed two real gaps in the
committed cases, closed with stated scenarios (menu: carried customer/card fields; acctview:
PF15 back to menu, carried middle name and ids) and the cases re-proved. The acctview parser
mutants (alnumToUnsigned) stay a stated case gap for the next slice.

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 22, 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 22, 2026 12:49
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 12:53
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6008 @ 2931137: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39781540801/job/119834963514
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 165 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 133457
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is f4a75e71c6bf7adf8cf5afbbdeebf3809069743922f2e9a502b9ed8a29335c6e
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12426713788
Artifact det-sweep-ledger has been successfully uploaded! Final size is 133457 bytes. Artifact ID is 12426713788
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39781540801/artifacts/12426713788
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/0aa453fa-0fbc-4ee6-a6da-08175b1296b7' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 22, 2026
… (Part of #4443)

Regenerated with det_coverage_ledger.py update from a det sweep of the two cases, after the new scenarios.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (bcc8220) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 13:21
@squid-protocol
squid-protocol merged commit 5c4c8db into main Oct 22, 2026
38 checks passed
@squid-protocol
squid-protocol deleted the mutation/4443-carddemo-acctview-menu-rerun branch October 22, 2026 13:23
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