Repository navigation
test(analog): sar_comparator_psp mutation census -- 6 of 9 survivors killed, 2 accepted (Closes #12099) - #12115
Conversation
…killed, 2 accepted with arithmetic (Closes #12099) `tri mutate spec` on specs/analog/sar_comparator_psp.t27 (master-built t27c, jobs 3, timeout 30): 41 mutants, 26 killed, 9 survived, 5 hung, 1 unviable. After this change: 32 killed, 2 survived, 6 hung, 1 unviable; the gate with --accepted passes (one survivor became hung: the first bisection with a swapped bound). Three tests appended at the end of the spec (the accepted line numbers hold): the "no crossing" branch of the time readers, the absolute value of a signed integer, and the mirrored unequal pair, whose flip point moves to the other side (+70064 and -70062) and so reaches the first bisection branch with a non-zero result. 16 tests pass, 0 vacuous. docs/analog/mutation-accepted-sar_comparator_psp.txt lists the 2 survivors (both equivalent) and the 6 hung mutants, each with its arithmetic. The record is docs/analog/mutation-sar_comparator_psp-2026-10-25.md. The seal is re-saved with the master-built t27c; strict coverage stays gaps 0, 130/130. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Summary by t27-beesChecked by the t27 compilert27c parse, parse-complete and typecheck on each changed .t27 file at
Read by the modelThis PR adds three tests to Worth a look
Read: 4 files, +195 -11, the whole diff. Head |
Summary
Mutation lane for
specs/analog/sar_comparator_psp.t27. Closes #12099 (part of epic #10486; this PR does not close the epic).--accepted, 05:07-05:09 +07, exit 0, "Gate passed.")readers (-1 when no output reaches half the supply, 131.5 for a jump at the last sample); the absolute value of a
signed integer; the mirrored unequal pair, whose flip point moves to the other side (+70064 and -70062 at this seal),
which reaches the first bisection branch with a non-zero result.
docs/analog/mutation-accepted-sar_comparator_psp.txt: the 2 remaining survivors (both equivalent, with thearithmetic) and the 6 hung mutants (loops that cannot move their bracket).
docs/analog/mutation-sar_comparator_psp-2026-10-25.md: the record, with where each number comes from.t27c(tri seals changed).hi + lo > 1in the first bisection), 2 accepted.Checks run
tri test specs/analog/sar_comparator_psp.t27: 16 pass, 0 fail, 0 vacuous.tri mutate spec --file specs/analog/sar_comparator_psp.t27 --accepted docs/analog/mutation-accepted-sar_comparator_psp.txt --jobs 3 --timeout 30: 8 not killed, 8 accepted, 0 accepted lines now killed.tri coverage 'specs/analog/*.t27' --strict:gaps 0 coverage 130/130.Not claimed
The 2 accepted survivors are classified by arithmetic, not proved by a tool; which test killed which mutant was not
measured; the pinned flips are the model's own words, not ngspice values (the tests compare the mirror, not ngspice).
🤖 Generated with Claude Code