Repository navigation
Mutation re-run of the 13 non-PC crucible ports after #4343 (#4047) - #4439
Merged
Merged
Conversation
#4425 regenerated the crucible ports' facades, so their recorded mutation results judged old code. Re-run mutation_crucible.py (seed 0, 24 mutants per port, cics-crucible v0.2.0) for CALINK, CASUB, CAXA, CAXB, GTSTART, GTWORK, GTSHOW, GTTERM, HCMAIN, HCSUB, HCQREAD, HXATTR, HXEXT: 201 killed, 90 survived, every survivor triaged (34 case gap, 4 harness gap, 35 equivalent, 17 unreachable). The four PC* ports wait for #4427. The 4 harness gaps: mutation_crucible.py runs the java-ported side only, so facade-body mutants are never run; the java-facade side kills all four. test_proof_reach: the stale-ness assertion now covers only the PC* ports; re-run ports get exact flagged-survivor counts, the four harness gaps pinned by id, and an exact killed / survived floor per port. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
Contributor
A facade-body mutant is never run by the java-ported side, so four survived for that reason. Prove on both sides; re-run CASUB, CAXB, GTSTART, GTWORK (seed 0, 24): 205 killed / 86 survived over the 13 ports, 0 harness gaps. mutation_scores.py build gets --keep-others so the file is written by the tool. test_proof_reach: original harness_gap assertion restored, floor updated. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
squid-protocol
marked this pull request as ready for review
October 5, 2026 12:31
This was referenced Oct 5, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fresh mutation run for the crucible ports #4425 regenerated, except PCCONF / PCWIZ / PCMENU / PCDETL (changing under #4427; re-run after it merges).
mutation_crucible.py run --sample 24 --seed 0, cics-crucible v0.2.0, on d69a634. The tripwire intest_proof_reach.pychanged as expected (below).Tooling fix (harness gap closed at its source)
mutation_crucible.proveran the runner with--sides java-portedonly, which never runs a facade body, so 4 mutants insidehandleLink/handleTransactionsurvived. It now passes--sides java-ported java-facade. CASUB, CAXB, GTSTART, GTWORK were re-run (seed 0, 24, same mutants); each gained exactly one kill, the four. The other 9 ports were run on java-ported alone: their mutants sit outside facade bodies (the only facade-body survivors were those four), so the second side adds nothing for them.Per port
Survivor triage (all 86, reasons in
docs/language_status/mutation_scores.json)writeqTsCatraceL22, HCQREADwriteqTsHcworkL37,readqTsHcworkL57); the rest are the never-existing HCNONE queue's success path, defensive no-task checks, impossible guards.<=/<on zero.Tripwire, before to after
Before:
assert "case_gap" not in verdicts and "harness_gap" not in verdicts;assert crucible and not any(_mutated_port_is_current(...))(all 17 stale);assert verdicts.count("unreachable") == len(verdicts).After: the first assertion is unchanged; stale-ness is
assert crucible and stale == {"PCCONF", "PCWIZ", "PCMENU", "PCDETL"};assert len(flagged) == 3 and verdicts.count("unreachable") == 3. Newtest_the_re_run_crucible_ports_keep_their_measured_floor: exact killed / survived per port (table above), 0 untriaged, 0 harness gaps, 205 / 86 in total, record current. Nothing loosened.How the files were produced
mutation_scores.json: bymutation_scores.py build --runs <the 13 ports' run dirs> --triage <triage> --commit d69a63419 --keep-others.buildrewrote every port from the runs given, so I added a minimal--keep-othersflag (keeps the existing entries of ports the runs do not cover: the 4 PC* and the 3 equivalence-case ports). No hand-merge. Thenmutation_scores.py tableandevidence.py mutationfor the doc table and the 13 evidence records / pages. Generator, ports, harness,det/, pyproject untouched.Tests
test_proof_reach.py,test_mutation_scores.py,test_evidence.py: 53 passed. Fullpr_gates.pyearlier: 5/7, golden and suite failing only on the 11test_security_auditorfailures (pandas / xgboost missing from the shared venv); CI has them.🤖 Generated with Claude Code