Repository navigation
mutation runs record themselves: --record on mutation.py / mutation_crucible.py (Part of #4048) - #5517
Merged
Conversation
… --record (Part of #4048) build_scores() is the body of `mutation_scores.py build`; --record on both runners scores the run into the committed file (committed triage kept) and refreshes the evidence records, no `evidence.py mutation` step. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 18, 2026 19:10
squid-protocol
enabled auto-merge (squash)
October 18, 2026 19:19
Closed
4 tasks done
Closed
10 tasks
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.
Part of #4048.
Checklist: done [c:e577218a]
What
mutation_scores.py buildalready refreshed the records, butmutation.py run/mutation_crucible.py runonly wrote a scratchDIR/mutation.json, so a person chained the scoring andevidence.py mutationby hand.mutation_scores.build_scores()is now the body ofbuild(CLI output unchanged); into the committed file it still refreshes every record'smutationand the pages.mutation_scores.record_run(work, triage_files): scores a run into the committed file with--keep-others, carrying over the committed survivors' triage (new survivors stayuntriagedunless--triage FILEis given).mutation.py run CASE --record [--triage F ...]andmutation_crucible.py run --record [--triage F ...]call it after the run.--recordis refused with--case-file/--only/--port/--files(mutation.py) and--case-gaps(crucible): those do not judge the committed port on the committed case (re-judging isbuild --rejudged). Sampling stays allowed: the committed scores are samples.save()keeps them).Class table
mutation.py run--recordaddedmutation_crucible.py run--recordaddedmutation_scores.py buildbuild_scoresdet_mutation.py runevidence.py mutationTests
tests/cobol_mainframe/test_mutation_scores.py: refresh + triage carry-over, no refresh for a non-committed--out,mutation.pyand crucible--recordchaining and refusals (runners stubbed; no Java run here, so a real--recordrun on a port was not exercised).Gates:
pr_gates --fast6/6 pass;test_mutation_scores.py,test_proof_reach.py,test_source_reads.pypass.--ratchetsnot run (no parser/golden/port change).Lessons for agents
mutation_scores.py buildreplaces a port's survivors' verdicts unless the committed file is passed as triage;record_rundoes that.🤖 Generated with Claude Code