tests: mutation-harden rag_guard/guard.py — 25/25 surviving mutants killed (generated by crucible)#5
Open
Jott2121 wants to merge 2 commits into
Open
tests: mutation-harden rag_guard/guard.py — 25/25 surviving mutants killed (generated by crucible)#5Jott2121 wants to merge 2 commits into
Jott2121 wants to merge 2 commits into
Conversation
…rs killed (tester 23 + critic 2); receipt ~/.crucible-runs/rag-guard/20260712T050833Z-rag-guard-harden
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
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.
What
Adds 26 generated tests that kill all 25 mutants the existing suite missed in
rag_guard/guard.py, plus the[tool.mutmut]scope config that proved the setup.Baseline: mutation testing injected 71 defects into
guard.py; the existing suite killed 46 and 25 survived — real gaps, each one an injected bug no test caught. After this PR: 71/71 killed.How these were made
Generated by crucible — an adversarial test-hardening loop (Tester agent → mutmut → Critic agent handed the named survivors). Every verdict here is mechanical: pytest kills the mutant or it survives; no model judged model output. Receipts (per-round tokens, kills, cost, prompt hashes): run
20260712T050833Z-rag-guard-harden. Tester killed 23, Critic killed the last 2. $0 metered (Claude subscription), shadow-priced $1.63.The tests were reviewed as part of crucible's owner-approved acceptance gate before this PR was opened.
Verification
🤖 Generated with Claude Code