From 9daed8218d2107c6a273934790367bd1270ac09a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 01:51:20 +0000 Subject: [PATCH] CLAUDE.md: confirm a mutant misbehaves before trusting a clean result A mutant that silently lacks its deliberate bug (here, one built from a branch before the change was committed) gives a clean result that looks like a passing test. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01736kJUqyDw9zM3Bkh2W2QT --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index c3ad8bfba..72aa142a9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -43,7 +43,8 @@ the Geofabrik Nova Scotia extract, imported with `--meta` (convert PBF to XML wi - **Correctness:** run `bench/fuzz.py` against `master`. Run a build against itself first to check that outputs are deterministic. - **Pruning or skipping changes** also need long-limit re-runs of queries that time out on - `master`, and a mutation test where practical. + `master`, and a mutation test where practical. Before trusting a clean mutation result, + confirm the mutant differs from the change on at least one query. - **Memory:** for any new allocation, state its bound and report peak memory (RSS) against `master`. Follow the existing accounting: only result sets count toward `[maxsize:]`, and auxiliary structures are not counted. Counting new ones would change which queries fail.