mutation: parallel jobs in temp copies, per-mutation test files, FFF_MUTATION reduced iterations, trap cleanup, sleep inhibit

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 19:19:58 +01:00
co-authored by Claude Sonnet 5.5
parent dcb8efa422
commit 8d3b77add4
3 changed files with 69 additions and 35 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
## shared test helpers (not a test file)
import std/math
import std/[math, os]
import geometry
proc scaled*(n: int): int =
## FFF_MUTATION=1 (set only by tools/mutation.sh) divides random/oracle iteration counts by 10; normal runs use n.
if getEnv("FFF_MUTATION") != "": max(1, n div 10) else: n
proc W*(ax, ay, bx, by: float, door = false, open = false): Wall =
Wall(a: (ax, ay), b: (bx, by), door: door, open: open)