Repository navigation
survivor_attack --as SIBLING; refresh re-judges moved sibling kills (Part of #6166) - #7772
Merged
Merged
Conversation
…ed sibling kills (Part of #6166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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.
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-levellinkedflag 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:Xnever 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).--asrefusal.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:
refreshfor a sibling kill that now survives does not re-add the mutant tosurvivedor its dropped stated verdict (it fails and asks for a re-run); the oracle path (rejudge_siblingsruns 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) usingtry --as carddemo-userlist-linked.Facts checked: #7767 landed
sibling; no prior PR for this tooling on main.🤖 Generated with Claude Code