Skip to content

mutation: case-gap scenarios for the menu-family ports (Part of #4049) - #5541

Merged
squid-protocol merged 5 commits into
mainfrom
churn/4049-20261018T2157Z
Oct 18, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/4049-20261018T2157Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4049 (slice 2). Draft.

What changed

The brief's 60 survivors (adminmenu/useradd/userdel/tranview) were already triaged by #5528 (untriaged = 0), so this slice went to the live work: scenarios for the case-gap survivors. 10 scenarios added (adminmenu 3, useradd 3, userdel 3, tranview 1), each with a why; expected results come from GnuCOBOL, none written by hand. The four ports were re-proven and re-recorded (mutation.py run --record, seed 0, 100 mutants); the mutation_testing.md table and #4049 paragraph are refreshed. No golden masters touched.

Class table (case-gap survivors by port, after this PR)

The class is "a CardDemo CICS port whose case lacks inputs that reach a mutated line". Raw score / case gaps before -> after for the four ports done here; the rest are siblings, not yet worked.

port raw score case gaps status
COADM01C adminmenu 55% -> 63% 15 -> 7 done this round, 7 left
COUSR01C useradd 61% -> 63% 8 -> 6 done this round, 6 left
COUSR03C userdel 71% -> 77% 9 -> 4 done this round, 4 left
COTRN01C tranview 66% -> 66% 1 -> 1 round killed nothing: stop rule met
userlist 23, tranlist 20, userupd 17, tranadd 13, tranview-generated 9, acctview 8, report 8, trnrpt 8, billpay 7, cardlist 7, menu 7, cardview 5, signon 5 unchanged 129 not started

Sibling gaps

  • 18 case gaps remain in the four ports above, with no reasoned verdict yet (ids: mutation_scores.json, verdict case_gap). adminmenu fa92091b88 looks equivalent; 724029f76d / 0cc41c91ff likely equivalent. Not proven, so left as case gaps.
  • The 13 other CardDemo CICS ports above carry the same kind of gap (short or blank COMMAREA, carried COMMAREA fields, NOTFND branches). Largest: userlist 23, tranlist 20, userupd 17.
  • The owner's target score is still pending, so the stop rule is only met for tranview.

Cross-repo

None. Overlaps #5539 on mutation_scores.json / mutation_testing.md: origin/main merged in (no rebase); only these four ports' rows differ from main.

Gates

pr_gates --fast 6/6, --ratchets 8/8 (including time), test_mutation_scores + test_proof_reach pass. Not run: test_strengthen_loop, test_evidence, audit_check.

Lessons for agents

Check the issue's premise against mutation_scores.json first: a "60 untriaged" slice was already done by an earlier PR.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 18, 2026 18:01
…-gap scenarios (Part of #4049)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…157Z

# Conflicts:
#	docs/language_status/mutation_scores.json
#	docs/language_status/mutation_testing.md
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 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 18, 2026 22:36
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 22:38
@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 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5541 @ a843372: 3 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39172957315/job/117810756919
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 120 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 95519
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is c2b3b4126410146602abdfe781241a0604441f7a9a68e9d4597d031b2ef70185
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12153113456
Artifact det-sweep-ledger has been successfully uploaded! Final size is 95519 bytes. Artifact ID is 12153113456
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39172957315/artifacts/12153113456
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/829ad023-5e76-45c1-8814-a3eed8de0426' 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

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39172957269/job/117812253211
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {c7acc2bd-d89a-4d74-8993-23f5c5272010}
Region: eastus2
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: ground-truth
##[group]Run echo "ground-truth parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
echo "ground-truth parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
MODE: full
##[endgroup]
ground-truth parts: failure (tested-tree skip: , plan mode: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39172957269/job/117809882829
repro: python -m pytest -q tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current
failing tests: tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current
errors:
fail-on-cache-miss: false
E AssertionError: re-prove these in this PR (python tests/tools/evidence.py prove KEY):
tests/cobol_mainframe/test_evidence.py:53: AssertionError
FAILED tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current - AssertionError: re-prove these in this PR (python tests/tools/evidence.py prove KEY):
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
PYTHONUTF8: 1
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 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 87540
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 7c1ebc148882ad7b561bb754ac6b8dc28dac978eb74f2bc8fd8e90e3819a7849
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12152843409
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 87540 bytes. Artifact ID is 12152843409
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39172957269/artifacts/12152843409
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f30f1cd5-cb64-4308-9577-f3a09af4efe2' 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/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 18, 2026
squid-protocol and others added 2 commits October 18, 2026 18:56
…, drop the userdel NOTFND infeasible claim (Part of #4049)

The new userdel scenario reaches DELETE-USER-SEC-FILE WHEN@323, so the stated-infeasible entry was wrong and is removed.

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 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (87a981a) 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 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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