Skip to content

evidence: mutation scores and triaged survivors for 9 burned-estate ports (Part of #4048) - #5326

Merged
squid-protocol merged 6 commits into
mainfrom
churn/4048-20261017T0834Z
Oct 17, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/4048-20261017T0834Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4048 (next item: mutation section of the evidence record; 29 of 49 records carried mutation: null).

What

  • Mutation runs (seed 0) for the burned-estate ports that had none: crucible PCIMMA/B/L/S, CBSA INQACC/UPDACC, GenApp LGAPVS01/LGICDB01/LGUPDB01. Every survivor carries a verdict; mutation_scores.json, the table in mutation_testing.md and 10 evidence records are rebuilt with mutation_scores.py build --keep-others (+ evidence.py mutation refresh). carddemo-dateutil's record also gains its inputs hashes from that refresh.
  • mutation_crucible.py: a port that ships the det translator's cobolrt/ runtime (PCIMMA) is mutated in its own files only (SHARED_RUNTIME), with a test. The first PCIMMA run drew 6085 mutants, nearly all in the shared runtime (2/22 caught, noise); now 394 own mutants.

Results (killed / judged, sample 150, crucible 24)

port caught survivors
INQACC 131/131 0
UPDACC 95/133 38 case gap
LGAPVS01 70/121 51 case gap
LGICDB01 49/130 81 case gap
LGUPDB01 76/138 62 case gap
PCIMMA 6/22 11 case gap, 5 equivalent
PCIMMB 11/23 7 case gap, 5 equivalent
PCIMML 9/23 11 case gap, 3 equivalent
PCIMMS 8/24 9 case gap, 7 equivalent

Triage honesty

  • PCIMM*: 20 equivalents, from the COBOL source (no program reads EIBTIME/EIBDATE/EIBTASKN/EIBRESP*; base +/- 0; unreachable diagnostic strings). The rest are boilerplate case gaps, triaged by construct, not one by one.
  • CBSA/GenApp: all 232 survivors are case_gap by default rule: "not proven equivalent, no scenario kills it". Some may really be equivalent; that only raises the adjusted score, so the numbers here are conservative. Case gaps are listed, not fixed (The test-strengthening loop: mutation survivors -> model-proposed inputs, the COBOL as oracle #4049 owns the strengthening).

Gates

pr_gates.py --fast 6/6, --ratchets 8/8, evidence/mutation tests 141 passed, evidence.py render --check clean. No engine change: no golden bless. Stale-record warnings are pre-existing (harness/generator drift, scheduled refresh).

Sibling gaps

  • 21 other CardDemo ports (excl. dateutil/menu/acctview) still mutation: null.
  • Shared cobolrt/ runtime is no longer mutated by crucible runs; the det-port cells prove it.

Overlap: #5146 also touches mutation_testing.md (table rows only here); merged origin/main before pushing.

Lessons for agents

  • A crucible port's overlay can contain the shared translator runtime; sample only the port's own files or the score measures nothing.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 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 marked this pull request as ready for review October 17, 2026 10:33
@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 10:35
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5326 @ 44f8b27: 1 failed check(s)

== ground-truth part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39025348447/job/117375324874
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach
errors:
fail-on-cache-miss: false
E AssertionError: assert ('case_gap' not in ['case_gap', 'case_gap', 'case_gap', 'case_gap', 'case_gap', 'case_gap', ...])
tests/cobol_mainframe/test_proof_reach.py:253: AssertionError
FAILED tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach - AssertionError: assert ('case_gap' not in ['case_gap', 'case_gap', 'case_gap', 'case_gap', 'case_gap', 'cas
##[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 137057
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a1e709179fda2b1db1c9c2b25160730782f5bbd75a25702df5c759cdbfbdb2fa
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12098571609
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 137057 bytes. Artifact ID is 12098571609
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39025348447/artifacts/12098571609
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/660158c9-5568-436e-b345-f9f3ef920dfc' 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 17, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (1a31df1) 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).

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 11:15
@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