Skip to content

survivor_attack --as SIBLING; refresh re-judges moved sibling kills (Part of #6166) - #7772

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6166-20261105T0931Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6166-20261105T0931Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Slice 3 of 3 for #6166: tooling for sibling (linked) cases. Part of #6166.

Checklist: partial [c:da7b5789] -- the survivors still unaccounted in carddemo-userlist are not worked here (tooling only).

Changes

  • survivor_attack.py try ... --as SIBLING: the new inputs go on the sibling case's case.json (e.g. carddemo-userlist-linked, whose case-level linked flag enters COUSR00C by LINK) while the mutants stay the case's own; refuses a sibling from another corpus entry.
  • det_mutation.py refresh: a moved sibling case used to stale the entry forever (sibling:X never renewed) and needlessly re-ran every survivor on the case. Now a moved sibling re-judges only its recorded kills against the case's det port (rejudge_siblings / renew_siblings): all still dying renews the fingerprint; any that no longer die are named, the sibling stays stale and refresh exits 1 (the kill claim was wrong).
  • Tests: renew / lost-kill / not-re-run, and the --as refusal.

Class / Sibling gaps

Class: a ledger input that moves without a path to renew it. Members: case.json, corpus, survivors list (renewed by the existing survivor re-run), port (re-run), generator/harness/oracle (byte compare), recorded sibling cases (was never renewed; fixed here). Sibling gaps: refresh for a sibling kill that now survives does not re-add the mutant to survived or its dropped stated verdict (it fails and asks for a re-run); the oracle path (rejudge_siblings runs mutation.py) is covered by unit tests of the verdict logic only, not a live Docker run.

Remaining slices

Work the remaining carddemo-userlist survivors (dataset-key mutants 7c6d5055f5/8526a1b6cf; stated verdicts without tried) using try --as carddemo-userlist-linked.

Facts checked: #7767 landed sibling; no prior PR for this tooling on main.

🤖 Generated with Claude Code

…ed sibling kills (Part of #6166)

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 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 09:45
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 09:47
@squid-shepherd
squid-shepherd Bot merged commit 51429a2 into main Nov 5, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6166-20261105T0931Z branch November 5, 2026 10:25
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