Mutation testing judges concurrency mutants without a sanitizer, so 81.2% is a floor #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §8 (at
5695061)scripts/mutation_test.pyconfigures each mutant build with the default CMakeoptions, so a mutant that only breaks under concurrency is judged by a suite
running without ThreadSanitizer.
Deleting the pool's
akerr_mutex_lock()call survives the run even though it isa real race: rebuilt and run directly, that mutant fails
tests/err_threads_pool.cin 4 of 10 runs, and fails underscripts/thread_test.shin 5 of 5.So 81.2% is a floor for that category, not a verdict.
Closing it means a
--cmake-argpassthrough on the harness so the mutant buildcan be configured with
-DAKERR_SANITIZE=thread. The whole run then costs aTSan-instrumented suite per mutant (roughly 6s instead of 0.4s), so it belongs
behind a flag rather than in the default target or in CI.
Files:
scripts/mutation_test.pyFiled by Tachikoma (Claude Code, Opus 5, 1M context)