Journey 1: reports and score gate 2a9698348809d0736987f0f78d166945ac3d4c581c9016910f1475e957ef2f90 src/lib.rs $ /work/.scratch/target/debug/mutarust --workers 1 --config mutarust.yml --logger-summary-json --logger-agentic-json --logger-gitlab . killed src/lib.rs conditional/bool-literal ID: 8b25da1bb9c6e587675316715d8be248 Blacklist checksum: c056b4a14386291b011db5e4053d8e58 escaped src/lib.rs conditional/bool-literal ID: b9a03954350d147b915e940fe760cb21 Blacklist checksum: 2dc2c146da136da396da6529a670b07e --- src/lib.rs +++ src/lib.rs @@ -2,1 +2,1 @@ -pub fn unchecked() -> bool { let value = true; value } +pub fn unchecked() -> bool { let value = false; value } Killed: 1 Escaped: 1 Errored: 0 Not covered: 0 Skipped: 0 Total: 2 Mutation score: 50.00% Per-mutator results: Mutator | Killed | Escaped | Skipped | Total conditional/bool-literal | 1 | 1 | 0 | 2 exit=0 --- report.json {"metadata":{"version":"0.2.1","hasCoverage":false,"oneMutant":false},"stats":{"totalMutantsCount":2,"killedCount":1,"notCoveredCount":0,"escapedCount":1,"errorCount":0,"skippedCount":0,"msi":0.5,"coveredCodeMsi":0.0},"mutatorStats":[{"name":"conditional/bool-literal","killed":1,"escaped":1,"skipped":0,"total":2}],"escaped":[{"id":"b9a03954350d147b915e940fe760cb21","blacklistChecksum":"2dc2c146da136da396da6529a670b07e","mutator":{"mutatorName":"conditional/bool-literal","originalFilePath":"src/lib.rs","originalStartLine":2},"diff":"--- src/lib.rs\n+++ src/lib.rs\n@@ -2,1 +2,1 @@\n-pub fn unchecked() -> bool { let value = true; value }\n+pub fn unchecked() -> bool { let value = false; value }\n"}],"killed":[{"id":"8b25da1bb9c6e587675316715d8be248","blacklistChecksum":"c056b4a14386291b011db5e4053d8e58","mutator":{"mutatorName":"conditional/bool-literal","originalFilePath":"src/lib.rs","originalStartLine":1},"diff":"--- src/lib.rs\n+++ src/lib.rs\n@@ -1,1 +1,1 @@\n-pub fn checked() -> bool { let value = true; value }\n+pub fn checked() -> bool { let value = false; value }\n"}],"errored":[]}--- mutarust-summary.json {"totalMutantsCount":2,"killedCount":1,"notCoveredCount":0,"escapedCount":1,"errorCount":0,"skippedCount":0,"msi":0.5,"coveredCodeMsi":0.0}--- mutarust-agentic.json { "generated_at": "2026-11-02T17:34:36Z", "msi": 0.5, "escaped_count": 1, "reminder": "A mutant is an example of how this code could be wrong — it's not a script for the test. Don't assert on the mutant directly. Instead ask: if this code were buggy, what would a caller of the public API observe go wrong? Write a test for that.", "mutants": [ { "id": "b9a03954350d147b915e940fe760cb21", "file": "src/lib.rs", "line": 2, "mutator": "conditional/bool-literal", "description": "Changes: `pub fn unchecked() -> bool { let value = true; value }` → `pub fn unchecked() -> bool { let value = false; value }`", "kill_hint": "Think about what a caller would observe if this flag were wrong. Write a test that drives the code via its public API with both values and asserts the different outcomes that a correct caller should see", "diff": "--- src/lib.rs\n+++ src/lib.rs\n@@ -2,1 +2,1 @@\n-pub fn unchecked() -> bool { let value = true; value }\n+pub fn unchecked() -> bool { let value = false; value }\n", "context_start_line": 1, "context_lines": [ "pub fn checked() -> bool { let value = true; value }", "pub fn unchecked() -> bool { let value = true; value }", "", "#[cfg(test)]", "mod tests {" ], "test_files": [] } ] }--- mutarust-gitlab.json [ { "type": "issue", "check_name": "conditional/bool-literal", "description": "Escaped mutant (conditional/bool-literal) at src/lib.rs:2 — no test kills this mutation", "severity": "minor", "fingerprint": "b9a03954350d147b915e940fe760cb21", "location": { "path": "src/lib.rs", "lines": { "begin": 2 } } } ]--- HTML evidence 2 Escaped 2 unchecked $ /work/.scratch/target/debug/mutarust --workers 1 --config mutarust.yml --min-msi 100 . killed src/lib.rs conditional/bool-literal ID: 8b25da1bb9c6e587675316715d8be248 Blacklist checksum: c056b4a14386291b011db5e4053d8e58 escaped src/lib.rs conditional/bool-literal ID: b9a03954350d147b915e940fe760cb21 Blacklist checksum: 2dc2c146da136da396da6529a670b07e --- src/lib.rs +++ src/lib.rs @@ -2,1 +2,1 @@ -pub fn unchecked() -> bool { let value = true; value } +pub fn unchecked() -> bool { let value = false; value } Killed: 1 Escaped: 1 Errored: 0 Not covered: 0 Skipped: 0 Total: 2 Mutation score: 50.00% Per-mutator results: Mutator | Killed | Escaped | Skipped | Total conditional/bool-literal | 1 | 1 | 0 | 2 mutarust: mutation score 50.00% is below the required 100% exit=4 2a9698348809d0736987f0f78d166945ac3d4c581c9016910f1475e957ef2f90 src/lib.rs