Skip to content

det_mutation refresh carries verdicts across case/harness/oracle drift; COBIL00C L5 (Part of #5862) - #5911

Merged
squid-protocol merged 4 commits into
mainfrom
churn/5862-20261021T2018Z
Oct 21, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/5862-20261021T2018Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5862.

What

det_mutation.py refresh now carries verdicts across case / corpus / harness / oracle drift (it handled only a generator-only move). When the port's bytes are unchanged after translating, it re-runs only the recorded survivors (same seed, operators, scope, mode) via mutation.run(only=...), then merge_survivors:

  • still survives with the same Java before/after: kept, so its stated verdict still accounts for it;
  • now killed or timed out: drops out of survived, moves to killed; a stated equivalent/unreachable one is a wrong claim and exits 1;
  • error/pending: stays listed and counted, so L5 is withheld;
  • fingerprints renewed, a refreshed provenance key added (only on a re-run). The generator-only path still needs no re-run. A port that moved is refused with the existing "re-run" message.

Limit (documented): previously killed mutants are not re-proven, so a case weakened since would not show. A new survivor cannot appear, since only recorded survivors are re-run.

Class: a det-mutation ledger entry stale on an input fingerprint while the port bytes are unchanged

Member Status Evidence
generator drift handled before; kept (no re-run) test_refresh_generator_only_does_not_rerun
case drift handled here test_refresh_carries_verdicts_across_case_drift
harness drift handled here test_refresh_flags_a_killed_stated_claim
oracle, corpus drift handled here (same code path, moved != ["generator"]) stale() list drives the branch
port moved refused, re-run needed (by design) test_refresh_refuses_when_the_port_moved; real COBIL00C hit this
survivor killed / error / line moved handled test_merge_survivors_carries_verdicts
killed mutants re-proven after a case change out of scope (documented limit) docs bullet

COBIL00C

refresh correctly refused: the translator's current port differs from the ledger's. A full run on the current port killed 147/147 judged mutants (0 survivors, 3 stillborn). That killed all 52 stated survivors of the old port, so det_mutation_survivors/carddemo-billpay.json is removed (the tool's rule: a killed stated entry goes; reviewers: these were owner-reviewed claims). status(): current, l5 true. The refresh re-run path itself is covered by stubbed tests only: no ledger was both stale and port-identical, so it has not run on real data.

Gates

test_det_mutation.py 16 passed; det_mutation.py check ok; audit_check.py clear; pr_gates --fast 7/7. No golden bless (no engine code).

Sibling gaps

Remaining slices

  1. Scheduled lane re-running stale ledgers (workflow file + planner test), needs this refresh.
  2. pr_gates hint or ratchet re-running the ledger when a PR changes a case that has one.
  3. First L5s: COTRN02C, COADM01C.

Checklist: done [c:eb99f8d1]

Lessons for agents

  • det_mutation.py refresh refuses ("the det port changed") when the translator moved since the ledger was cut: do a full run, then drop stated survivors the new run kills.
  • A fresh worktree shell has no python: put /srv/storage_16tb/projects/gitgalaxy/venvs/selfscan/bin on PATH before heavy-run.sh.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 21, 2026 16:21
… by re-running only the survivors (Part of #5862)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d, claims for the old port's survivors dropped (Part of #5862)

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 21, 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 21, 2026 20:32
@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 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@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.

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