Skip to content

equivalence: card-number scenarios kill the alnumToUnsigned survivors in carddemo-acctview (Part of #4443) - #6010

Merged
squid-protocol merged 6 commits into
mainfrom
churn/4443-20261022T1252Z
Oct 22, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/4443-20261022T1252Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4443 (slice 2: carddemo-acctview alnumToUnsigned case gaps).

Class: parser mutants of the X(16)->9(16) MOVE that the committed xref records never exercise

alnumToUnsigned (the xref card number MOVE) only saw 4000000000000051. Added accounts 52-62 (xref + account records; customer 51, or a customer not on file for the plus-sign ones) and eleven card-number-* scenarios like the generated twin's: blank, comma + trailing letter, inner space, minus, trailing space, space-then-plus, plus, letter inside, all letters, letter/digit mix, decimal point.

Before (PR #6008 re-run) After (seed 0, 150 mutants)
96 killed / 41 survived (13 case_gap) 110 killed / 27 survived (0 case_gap, 16 equivalent, 11 unreachable)

12 of the 13 gaps died to the first 10 scenarios; card-number-point kills the '.' literal mutant. The last one (the high-order-digit skip loop literal) needs more than 16 characters from an X(16) source, so it is triaged unreachable. Two earlier unreachable verdicts (i-- in that loop, the '.' branch condition) are now killed, so those verdicts are gone.

Cross-repo

None. Depends on #6008 (this branch merges its head mutation/4443-carddemo-acctview-menu-rerun, which produced the 13 survivors): #6008 merges first; after it lands, this PR's diff shrinks to the slice. Overlapping files: mutation_scores.json, test_mutation_scores.py (one assertion changed from case_gap > 0 to == 0), carddemo-acctview/case.json, evidence.json.

Facts checked

  • Proof: equivalence.py run carddemo-acctview --record: proven on 35 scenarios, 31/32 paragraphs, 58/69 branches.
  • pr_gates --fast 7/7, --ratchets 9/9; mutation_scores, proof_reach, equivalence_inputs, evidence tests pass.
  • Not run: the full suite (CI's job).

Checklist: partial [c:8004bd43] -- READ ... INTO LENGTH -> LENGERR scenario not worked here; awaits a cics-crucible release carrying it.
Checklist: partial [c:a2cb034e] -- GTSHOW 10+ records and TERMIDERR/TRANSIDERR START faults not worked here.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 22, 2026 08:47
… 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]>
…om:squid-protocol/gitgalaxy into churn/4443-20261022T1252Z
… in carddemo-acctview (Part of #4443)

Xref/account records 52-62 carry odd card numbers (blank, sign, comma, inner/trailing space, letters, a point);
eleven card-number-* scenarios, like the generated twin's. Mutation re-run: 13 case gaps -> 0.

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 13:24
@squid-protocol

Copy link
Copy Markdown
Owner Author

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@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
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 13:25
…252Z

# Conflicts:
#	docs/language_status/mutation_scores.json
#	docs/language_status/mutation_testing.md
#	tests/cobol_mainframe/test_mutation_scores.py
#	tests/equivalence/carddemo-acctview/case.json
#	tests/equivalence/carddemo-acctview/evidence.json
@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 (8f3570c) 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.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 13:52
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6010 @ 8f3570c: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39790493450/job/119866504592
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 133454
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is f29df2270d8c16001b21eb8a62c2368c090df89c6df704f326a70945f9549d5b
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12430348652
Artifact det-sweep-ledger has been successfully uploaded! Final size is 133454 bytes. Artifact ID is 12430348652
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39790493450/artifacts/12430348652
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/52d35e48-6076-4253-ba7f-e55e3e82923b' 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
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 228bbef into main Oct 22, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/4443-20261022T1252Z branch October 22, 2026 16:18
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