Skip to content

mutation: carddemo-tranview-generated gets the survivor scenarios, 9 case gaps judged, 8 killed (Part of #4049) - #5660

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4049-20261019T1551Z
Oct 19, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4049-20261019T1551Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4049 (slice 4, no Closes).

What

The menu-family re-judge (adminmenu, useradd, userdel, tranview) was already done on main by #5528 (re-record: score before -> after, table, evidence), #5541 and #5552 (their case gaps: 0 left). This slice covers the one menu-family case still carrying case gaps: carddemo-tranview-generated (the generated-data variant of the same COTRN01C port; 9 case_gap survivors, 58/100).

The case lacked the inputs carddemo-tranview already carries. Eight scenarios copied in, each with a why (inputs only; GnuCOBOL decides every expectation): first-entry, enter-empty-transaction-id, pf3-blank-from-program, pf3-low-values-from-program, pf3-xctl-fails (PGMIDERR), lookup-io-error (READ IOERR), enter-with-process-date-on-screen, enter-empty-transaction-id-with-process-date. Case re-proved PROVED (unapproved). 100 mutants, seed 0, re-judged (mutation.py run --record, then the 2 survivors re-run with --only and folded in with mutation_scores.py build --rejudged).

Result (raw / adjusted)

carddemo-tranview-generated: 58/100 (58%) / 87% -> 66/100 (66%) / 99%. Case gaps 9 -> 0: 8 killed, 1 harness gap (86d6cda785, the cursor flag on the empty-id send: the proof does not compare the SEND MAP cursor). evidence.py mutation refreshed; mutation table regenerated. The initial-screen filler survivor (7d40a8c9dc) is killed only by first-entry.
Stop rule met for all five menu-family cases: no case gap is left.

Gates

pr_gates --fast 6/6, --ratchets 8/8, audit_check.py all clear, test_evidence 38 passed, test_strengthen_loop / test_mutation_scores / test_proof_reach 92 passed (plain pytest from /tmp). No parser change, no golden bless. Hand-written: case.json, test_strengthen_loop.py, mutation_testing.md (3).

Sibling gaps

  • Harness: SEND MAP cursor and java-facade mapset not compared (tranview-generated 86d6cda785, useradd ccaa395318); burned: CardDemo tranview, useradd.
  • signon COSGN00C (needs EIBCALEN key in equivalence_cics.py), userlist COUSR00C, CBSA updacc (38 untriaged), CSUTLDTC, GenApp LGAPVS01/LGICDB01/LGUPDB01, TRNRPT batch.
  • Other -generated CardDemo cases were not checked for the same missing hand scenarios.

Lessons for agents

  • A -generated case is a separate mutation row for the same port: it needs the hand-proposed scenarios its sibling got (scenarios list beside scenario_generate).
  • Re-judging a few survivors after a full --record: write a filtered mutation.json for --only, then mutation_scores.py build --runs <full> --rejudged <only> --triage <results file> <extra triage> --keep-others.
  • Adding scenarios to an equivalence case can break a test outside the strengthen loop that pins the case's shape: grep tests/ for the case directory name before pushing. The Equivalence harness: BMS maps support #4506 BMS tests pinned carddemo-tranview-generated to its single no-commarea scenario. That module importorskips tree_sitter_language_pack, which the main .venv lacks, so it skipped locally and failed only on CI. Run it in .crucible_venvs/full_precision with PYTHONPATH=<worktree> (rescue fix, 427ed6a).

Owner decisions

  • Owner OK (phone 2026-10-19): one more fix attempt after 3 fix runs and an Opus rescue.

Checklist: done [c:2132fb76]

Cross-repo: none.

🤖 Generated with Claude Code

…case gaps judged, 8 killed (Part of #4049)

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5660 @ 3f2ca26: 3 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39283734770/job/118165802311
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 130 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 104194
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 13548bf68f5a182d2e9753c2330c8cdfa38898a2eb7c4cd9386d6650997a7c06
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12203330742
Artifact det-sweep-ledger has been successfully uploaded! Final size is 104194 bytes. Artifact ID is 12203330742
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39283734770/artifacts/12203330742
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/89f79310-115f-4896-99ae-e2cf81b3a53c' 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/39283734793/job/118167993500
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:
##[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 warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
# #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.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
# #5543: ... or when the layout needs no warm job (a cache hit on the scans, or the busy layout): the parts then warm for themselves
{ ok "$WARM" || { test "$WARM" = "skipped" && test "$PLANNED_WARM" = "false"; }; } && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: skipped
PARTS: failure
SKIP:
MODE: full
PLANNED_WARM: false
LAYOUT: busy
##[endgroup]
ground-truth warm: skipped, parts: failure (tested-tree skip: , plan mode: full, layout: busy, warm planned: false)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39283734793/job/118164509486
repro: python -m pytest -q tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_case_turns_through_keys_and_types_its_one_field tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_screen_sends_its_fset_id_field_empty_in_some_scenarios
failing tests: tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_case_turns_through_keys_and_types_its_one_field tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_screen_sends_its_fset_id_field_empty_in_some_scenarios
errors:
fail-on-cache-miss: false
E AssertionError: assert (['no-commarea...-screen', ...] == ['no-commarea']
tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py:216: AssertionError
E AssertionError: assert None not in ['0000000328781772', '0000000328781772', '0000000328781772', '0000000328781772', '0000000328781772', None, ...]
tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py:238: AssertionError
FAILED tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_case_turns_through_keys_and_types_its_one_field - AssertionError: assert (['no-commarea...-screen', ...] == ['no-commarea']
FAILED tests/cobol_mainframe/test_equivalence_bms_inputs_4506.py::test_the_generated_tranview_screen_sends_its_fset_id_field_empty_in_some_scenarios - AssertionError: assert None not in ['0000000328781772', '0000000328781772', '000000032878
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: e4a56f9c7b66569bbf2ddedc452fb127b0458034d255cc88d78d0f9798ff7420
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-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 92881
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is fbe79fa56c04f78fbe8b5d8ed4043f67f27daf5c5d3d52c477bcb42ebc08375f
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12201434138
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 92881 bytes. Artifact ID is 12201434138
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39283734793/artifacts/12201434138
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d171f428-f706-4b13-baeb-3dbdae8c0341' 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 19, 2026
…ed scenarios only (Part of #4049)

The two tests in test_equivalence_bms_inputs_4506.py pinned the case to one hand-written scenario
(no-commarea) and read TRNIDINI from every scenario with a RECEIVE. The survivor scenarios this PR
adds broke both. The tests now check no-commarea first plus a #4049 `why` on each added scenario,
and read TRNIDINI from the `generated-` scenarios only. mutation_testing.md was regenerated
(`mutation_scores.py table`) from the merged mutation_scores.json.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 19, 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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5660 @ 427ed6a: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39289410792/job/118191451213
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 130 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 104194
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a81547f1eb0611b50cf8907af7b6e18fb7eea04f2a138351a3f122849f5c5ccb
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12204764819
Artifact det-sweep-ledger has been successfully uploaded! Final size is 104194 bytes. Artifact ID is 12204764819
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39289410792/artifacts/12204764819
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7e675749-761d-447b-bcf9-d1a434e85cec' 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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-10-19). Nothing is needed from contributors; work resumes once it is answered.

@squid-protocol

Copy link
Copy Markdown
Owner Author

The owner decided (2026-10-19); the bot applies it on its next tick.

@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 17:35
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 55c9506 into main Oct 19, 2026
37 checks passed
@squid-protocol
squid-protocol deleted the churn/4049-20261019T1551Z branch October 19, 2026 17:42
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