Answer product-owner round 2: 0 🔴, 1 🟡 (0 misread); name the Rust causes in the no-bug message

This commit is contained in:
2026-11-27 17:11:30 +01:00
parent a720f461c2
commit 86efe8fa57
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ def planted_tasks(bench: Bench, mutants: list[Mutant], seed: int, bugs: int) ->
return task
tasks += [task] if task else []
if not tasks:
return Failure(f"None of the {len(mutants)} mutants the tests kill becomes a bug: each is on a line the head changed, the test it fails doesn't print a message, or, in a Rust file, a `#[cfg(test)] mod name;` of the tree names a file the bench can't find.")
return Failure(f"None of the {len(mutants)} mutants the tests kill becomes a bug: each is on a line the head changed, the test it fails doesn't print a message, or, for a Rust mutant, it stands in a test file or the tree holds a `#[cfg(test)] mod name;` that names no file the bench finds or a string or comment that is never closed.")
return Planned(tasks, [] if len(tasks) == bugs else [f"Planted {len(tasks)} of the {bugs} bugs asked for: no other mutant the tests kill becomes one."], {"seed": seed})