Skip to content

det_mutation: refuse a judging run that kills every judged mutant; profile of one L5 run (Part of #7954) - #8598

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
l5-profile-tripwire
Nov 18, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
l5-profile-tripwire

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7954 (L5 epic #4628).

What this does

A judging run that kills every judged mutant is refused instead of written as a ledger entry. On 2026-11-17/18 the one-JVM runner lost the X23 stop mark (since fixed on main in #8513) and reported all of UPDCUST's and ABNDPROC's mutants killed with no killer, and 456 stated verdicts as "the claim is wrong". Nothing flagged it; it took a person reading the log.

  • det_mutation.all_killed_reason(results): 30 or more judged (killed or survived) and none survived. Stillborn, timeout and error are not judged and do not count.
  • record prints not recorded: ... and writes nothing; refresh fails that case (not renewed) and leaves the ledger as committed. Applies to a fresh run and to a refresh's re-run of survivors.
  • Override after a person has checked the run: GITGALAXY_DETMUT_ALLOW_ALL_KILLED=1.
  • Threshold read off the data: over the 131 committed ledgers no case with 20 or more judged mutants has fewer than 2 survivors, and the highest kill rate is 98%. A test pins that.

Profile of one fast+one-jvm run (UPDCUST, --sample 60 --seed 1 --jobs 2, quiet box, n=1)

stage s share
start-up, scan, translate 64 scenarios ~20 26%
baseline proof of the unmutated port ~19 25%
enumerate 690 mutants, compile-check the sample ~19 25%
prove 57 mutants (2 at a time) ~17 23%

Total 74.6 s. Proof time per mutant averaged 0.18 s (killed ones round to 0; survivors 0.42 s), so about three quarters of a run is fixed overhead, not the mutants. The "hours" came from the --no-one-jvm fallback. Next candidates, unmeasured: skip re-translating an unchanged case, share the baseline across cases, early exit at first kill in the CICS in-process path. Known limit of the fast mode (not fixed here): it does not judge the java-facade runs, so a mutant only handleLink / lastLinkBytes runs kill survives falsely; --no-one-jvm catches it.

Checked

tests/tools/test_det_mutation.py 65 passed (3 new). det_mutation.py check ok. test_l5_speedups::test_javac_session_compiles_live_and_rejects_stillborn fails on the build box (its JDK) and does not touch this change.

🤖 Generated with Claude Code

…rt of #7954)

30 or more judged mutants and none surviving is a broken judge, not a strong proof: the one-JVM runner lost the X23 stop mark and reported all of UPDCUST's and ABNDPROC's mutants killed, and 456 stated verdicts as wrong. record writes no ledger and refresh fails the case; GITGALAXY_DETMUT_ALLOW_ALL_KILLED=1 overrides after a person checked. Threshold read off the 131 committed ledgers (none with 20+ judged has under 2 survivors; max kill rate 98%).

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 Nov 18, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review November 18, 2026 17:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 18, 2026 17:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit eace107 into main Nov 18, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the l5-profile-tripwire branch November 18, 2026 18:31
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