Skip to content

mutation: read-triage the three GenApp ports (Part of #4047) - #5548

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4047-20261018T2301Z
Oct 19, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4047-20261018T2301Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4047

Checklist: done [c:b6e88625]

What changed

The last three ports with bulk-placeholder survivors (GenApp LGAPVS01, LGICDB01, LGUPDB01; burned estate) are re-run and read. The committed survivors predated the current port, case and harness, so reading them would have triaged mutants that no longer exist. Each port was re-run (seed 0, 150 sampled; mutant counts 184 / 201 / 403), then its 53 + 79 + 73 = 205 survivors were each given a verdict and a reason by mechanism, against the port, the COBOL and the case scenarios.

port case gap harness gap equivalent unreachable
LGAPVS01 0 41 1 11
LGICDB01 1 55 8 15
LGUPDB01 7 46 5 15

UNREAD_PLACEHOLDERS in tests/cobol_mainframe/test_mutation_scores.py is now empty, so no port carries a placeholder. The evidence records of the three cases are refreshed by the tooling. tests/cobol_mainframe/test_proof_reach.py now counts the re-run's flagged survivors: the re-run ended the three ports' #5053 stale-record skip, so 21 survivors in code no proof runs are checked again, all unreachable (facade entry, LGAPVS01 writeKsdspoly, the EIBCALEN = 0 branch). The count goes from 37 to 58. Edits to mutation_scores.json / mutation_testing.md are the three ports' rows plus the derived totals and one prose bullet; origin/main (with #5541 and #5544) is merged.

Findings

  • Most survivors are harness gaps: the error-message text is only visible through LGSTSQ's WRITEQ, which the harness refuses (X6, Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050), so the duplicate-key / io-error / nospace scenarios run the code but the proof stops before comparing it; the rest need a Db2 fault the harness cannot inject.
  • Case gaps (8): LGUPDB01 absent policy (FETCH +100), zero-row motor UPDATE, an LGUPVS01 failure, a . in a numeric field; LGICDB01 a NULL column (-305).
  • The plan changed: it assumed reading ~188 old placeholder survivors; they were stale, so the ports were re-run first.

Sibling gaps

Remaining slices

None for this item. Scores are a 150-mutant sample at seed 0.

Gates

audit_check.py all clear; pr_gates.py --fast 6/6; test_mutation_scores.py, test_det_mutation.py, test_evidence_report.py 95 passed; after the fix, test_proof_reach.py + test_mutation_scores.py + test_evidence_report.py 104 passed. No parsing logic touched, so no golden bless.

Lessons for agents

  • Re-running a port's mutations ends its stale-record skip in test_proof_reach.py, so that test's flagged-survivor count moves: run it (it is in the ground-truth CI part, not pr_gates --fast) after any mutation_scores.json change.
  • A port's committed mutation survivors can predate its latest port/case/harness change (mutant ids are content hashes, at lines go stale): compare the entry's commit with git log and re-run before reading them.
  • mutation_scores.py build --runs takes a dir holding mutation.json or */*/mutation.json; pass the committed results file as a --triage input plus a {case/PROGRAM:id: {verdict, reason}} map, with --keep-others.

🤖 Generated with Claude Code

LGAPVS01, LGICDB01 and LGUPDB01 still carried the bulk placeholder verdict, and
their committed survivors predated the current port, case and harness. Re-ran
each (seed 0, 150 sampled) and triaged all 205 survivors by mechanism with a
reason. UNREAD_PLACEHOLDERS is now empty.

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 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 23:54
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 23:55
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5548 @ bea0dbf: 1 failed check(s)

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39178450120/job/117826123851
repro: python -m pytest -q tests/cobol_mainframe/test_proof_reach.py::test_every_survivor_in_code_no_proof_runs_was_triaged_as_out_of_the_proofs_reach
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 (58 == 37)
tests/cobol_mainframe/test_proof_reach.py:305: 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 (58 == 37)
##[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-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 88586
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 21842d7d5ce9d335da038394f2e8536c3435606ce01d9118a39682364e0d22c0
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12154833597
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 88586 bytes. Artifact ID is 12154833597
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39178450120/artifacts/12154833597
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/b7421064-b177-478c-abd1-9acaa29118ca' 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
squid-protocol and others added 2 commits October 18, 2026 20:50
…t of #4047)

Re-running LGAPVS01 / LGICDB01 / LGUPDB01 ended their #5053 stale-record
skip, so their survivors in code no proof runs are checked again: 21 more,
all unreachable (facade entry, writeKsdspoly, EIBCALEN = 0). 37 -> 58.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (a7079b3) 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 removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@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.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit e7c3bf6 into main Oct 19, 2026
31 of 32 checks passed
@squid-protocol
squid-protocol deleted the churn/4047-20261018T2301Z branch October 19, 2026 01:03
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