Idea · Jul 8, 2026
Mutation Test Narrator
Run your mutation test suite and get a plain-English analyst report: which surviving mutants actually matter, what your tests are missing, and the three highest-value tests to write next.
What it would do
A CLI wrapper (npx mutation-narrator or pip install mutation-narrator) that runs an existing mutation testing tool -- Stryker for JS/TS, mutmut for Python, Pitest for Java -- captures the JSON output, and passes surviving mutants to Claude with the corresponding source code. Claude explains each surviving mutant in terms a developer cares about: what real bug it simulates, which scenario it would silently hide, and whether the mutant reveals a genuine coverage gap or is an innocuous equivalent mutant. A priority-ranked list of test cases to write is produced at the end. The report renders as rich terminal output (with color-coded severity) or as a Markdown file that can be committed alongside the test suite. A --top-n flag limits Claude API calls to the N most impactful mutants when the suite is large.