$ X100_FAST=1 node --test --test-name-pattern="a check that only passes because defects|a floor is missed when|a report with no survivor" test/mutate-all.test.mjs test/mutate.test.mjs
mutate mutate-all-floor
files lib/mutate-all.mjs (lines 45 to 100)
planted 100 edits, every one this command can make here.
killed    40. The check failed on a planted defect.
survived  60. The check passed with the defect in place.
invalid   0. The edit left code that does not parse, so it was not run.
score     40 of 100 caught of the defects that ran, 40%.

survivors. Each is a defect the check did not notice.
  lib/mutate-all.mjs:55  boolean: false becomes true
  lib/mutate-all.mjs:60  compare: === becomes !==
  lib/mutate-all.mjs:62  condition: saved.kept becomes true
  lib/mutate-all.mjs:62  condition: saved.kept becomes false
  lib/mutate-all.mjs:69  word: '_all' becomes 'red'
  lib/mutate-all.mjs:69  word: '_all' becomes 'none'
  lib/mutate-all.mjs:69  word: '_all' becomes 'score'
  lib/mutate-all.mjs:69  word: '_all' becomes 'killed'
  lib/mutate-all.mjs:69  word: '_all' becomes 'survived'
  lib/mutate-all.mjs:69  word: '_all' becomes 'planted'
  lib/mutate-all.mjs:70  boolean: true becomes false
  lib/mutate-all.mjs:71  arithmetic: + becomes -
  lib/mutate-all.mjs:76  compare: <= becomes <
  lib/mutate-all.mjs:76  number: 3 becomes 4
  lib/mutate-all.mjs:79  number: 0 becomes 1
  lib/mutate-all.mjs:79  number: 0 becomes 1
  lib/mutate-all.mjs:85  arithmetic: + becomes -
  lib/mutate-all.mjs:85  number: 0 becomes 1
  lib/mutate-all.mjs:87  condition: all.waived.length becomes true
  lib/mutate-all.mjs:87  condition: all.waived.length becomes false
  lib/mutate-all.mjs:88  condition: stopped.length becomes true
  lib/mutate-all.mjs:88  condition: stopped.length becomes false
  lib/mutate-all.mjs:90  condition: ran.length becomes true
  lib/mutate-all.mjs:93  word: 'none' becomes 'red'
  lib/mutate-all.mjs:93  word: 'none' becomes '_all'
  lib/mutate-all.mjs:93  word: 'none' becomes 'score'
  lib/mutate-all.mjs:93  word: 'none' becomes 'killed'
  lib/mutate-all.mjs:93  word: 'none' becomes 'survived'
  lib/mutate-all.mjs:93  word: 'none' becomes 'planted'
  lib/mutate-all.mjs:94  number: 2 becomes 3
  lib/mutate-all.mjs:96  word: 'score' becomes 'red'
  lib/mutate-all.mjs:96  word: 'score' becomes '_all'
  lib/mutate-all.mjs:96  word: 'score' becomes 'none'
  lib/mutate-all.mjs:96  word: 'score' becomes 'killed'
  lib/mutate-all.mjs:96  word: 'score' becomes 'survived'
  lib/mutate-all.mjs:96  word: 'score' becomes 'planted'
  lib/mutate-all.mjs:96  word: 'killed' becomes 'red'
  lib/mutate-all.mjs:96  word: 'killed' becomes '_all'
  lib/mutate-all.mjs:96  word: 'killed' becomes 'none'
  lib/mutate-all.mjs:96  word: 'killed' becomes 'score'
  lib/mutate-all.mjs:96  word: 'killed' becomes 'survived'
  lib/mutate-all.mjs:96  word: 'killed' becomes 'planted'
  lib/mutate-all.mjs:96  word: 'survived' becomes 'red'
  lib/mutate-all.mjs:96  word: 'survived' becomes '_all'
  lib/mutate-all.mjs:96  word: 'survived' becomes 'none'
  lib/mutate-all.mjs:96  word: 'survived' becomes 'score'
  lib/mutate-all.mjs:96  word: 'survived' becomes 'killed'
  lib/mutate-all.mjs:96  word: 'survived' becomes 'planted'
  lib/mutate-all.mjs:96  word: 'planted' becomes 'red'
  lib/mutate-all.mjs:96  word: 'planted' becomes '_all'
  lib/mutate-all.mjs:96  word: 'planted' becomes 'none'
  lib/mutate-all.mjs:96  word: 'planted' becomes 'score'
  lib/mutate-all.mjs:96  word: 'planted' becomes 'killed'
  lib/mutate-all.mjs:96  word: 'planted' becomes 'survived'
  lib/mutate-all.mjs:96  word: 'properties' becomes 'red'
  lib/mutate-all.mjs:96  word: 'properties' becomes '_all'
  lib/mutate-all.mjs:96  word: 'properties' becomes 'none'
  lib/mutate-all.mjs:96  word: 'properties' becomes 'score'
  lib/mutate-all.mjs:96  word: 'properties' becomes 'killed'
  lib/mutate-all.mjs:96  word: 'properties' becomes 'survived'

next. Read each survivor: is it a gap in the check, or an edit that changes nothing? For a gap, add a case that fails with that defect in, then run this again. --min <percent> makes a lower score exit 1.

What this cannot show. A survivor is a defect the check did not notice, or an edit that changes nothing a person could see (an equivalent defect). Only a reader can tell which.
A count is about the defects planted and says nothing about the ones that were not.
Edits are single and come from a fixed list, so a defect that needs two is not measured.
The automatic edits read JavaScript and TypeScript. --edits takes a list of edits for any other language.

every defect
  killed    lib/mutate-all.mjs:50  condition: all.runs.some((run) => run.result.reason === 'red') becomes true. exit 1
  killed    lib/mutate-all.mjs:50  condition: all.runs.some((run) => run.result.reason === 'red') becomes false. exit 1
  killed    lib/mutate-all.mjs:50  compare: === becomes !==. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes '_all'. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes 'none'. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes 'score'. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes 'killed'. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes 'survived'. exit 1
  killed    lib/mutate-all.mjs:50  word: 'red' becomes 'planted'. exit 1
  killed    lib/mutate-all.mjs:50  boolean: true becomes false. exit 1
  survived  lib/mutate-all.mjs:55  boolean: false becomes true
  survived  lib/mutate-all.mjs:60  compare: === becomes !==
  survived  lib/mutate-all.mjs:62  condition: saved.kept becomes true
  survived  lib/mutate-all.mjs:62  condition: saved.kept becomes false
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'red'
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'none'
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'score'
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'killed'
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'survived'
  survived  lib/mutate-all.mjs:69  word: '_all' becomes 'planted'
  survived  lib/mutate-all.mjs:70  boolean: true becomes false
  survived  lib/mutate-all.mjs:71  arithmetic: + becomes -
  survived  lib/mutate-all.mjs:76  compare: <= becomes <
  survived  lib/mutate-all.mjs:76  number: 3 becomes 4
  survived  lib/mutate-all.mjs:79  number: 0 becomes 1
  survived  lib/mutate-all.mjs:79  number: 0 becomes 1
  survived  lib/mutate-all.mjs:85  arithmetic: + becomes -
  survived  lib/mutate-all.mjs:85  number: 0 becomes 1
  survived  lib/mutate-all.mjs:87  condition: all.waived.length becomes true
  survived  lib/mutate-all.mjs:87  condition: all.waived.length becomes false
  survived  lib/mutate-all.mjs:88  condition: stopped.length becomes true
  survived  lib/mutate-all.mjs:88  condition: stopped.length becomes false
  survived  lib/mutate-all.mjs:90  condition: ran.length becomes true
  killed    lib/mutate-all.mjs:90  condition: ran.length becomes false. exit 1
  killed    lib/mutate-all.mjs:93  compare: === becomes !==. exit 1
  survived  lib/mutate-all.mjs:93  word: 'none' becomes 'red'
  survived  lib/mutate-all.mjs:93  word: 'none' becomes '_all'
  survived  lib/mutate-all.mjs:93  word: 'none' becomes 'score'
  survived  lib/mutate-all.mjs:93  word: 'none' becomes 'killed'
  survived  lib/mutate-all.mjs:93  word: 'none' becomes 'survived'
  survived  lib/mutate-all.mjs:93  word: 'none' becomes 'planted'
  killed    lib/mutate-all.mjs:93  arithmetic: + becomes -. exit 1
  survived  lib/mutate-all.mjs:94  number: 2 becomes 3
  killed    lib/mutate-all.mjs:95  arithmetic: - becomes +. exit 1
  survived  lib/mutate-all.mjs:96  word: 'score' becomes 'red'
  survived  lib/mutate-all.mjs:96  word: 'score' becomes '_all'
  survived  lib/mutate-all.mjs:96  word: 'score' becomes 'none'
  survived  lib/mutate-all.mjs:96  word: 'score' becomes 'killed'
  survived  lib/mutate-all.mjs:96  word: 'score' becomes 'survived'
  survived  lib/mutate-all.mjs:96  word: 'score' becomes 'planted'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes 'red'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes '_all'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes 'none'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes 'score'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes 'survived'
  survived  lib/mutate-all.mjs:96  word: 'killed' becomes 'planted'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes 'red'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes '_all'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes 'none'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes 'score'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes 'killed'
  survived  lib/mutate-all.mjs:96  word: 'survived' becomes 'planted'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes 'red'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes '_all'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes 'none'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes 'score'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes 'killed'
  survived  lib/mutate-all.mjs:96  word: 'planted' becomes 'survived'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes 'red'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes '_all'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes 'none'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes 'score'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes 'killed'
  survived  lib/mutate-all.mjs:96  word: 'properties' becomes 'survived'
  killed    lib/mutate-all.mjs:98  word: 'score' becomes 'red'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'score' becomes '_all'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'score' becomes 'none'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'score' becomes 'killed'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'score' becomes 'survived'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'score' becomes 'planted'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes 'red'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes '_all'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes 'none'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes 'score'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes 'survived'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'killed' becomes 'planted'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes 'red'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes '_all'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes 'none'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes 'score'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes 'killed'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'survived' becomes 'planted'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes 'red'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes '_all'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes 'none'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes 'score'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes 'killed'. exit 1
  killed    lib/mutate-all.mjs:98  word: 'planted' becomes 'survived'. exit 1
  killed    lib/mutate-all.mjs:98  arithmetic: + becomes -. exit 1
  killed    lib/mutate-all.mjs:98  arithmetic: + becomes -. exit 1
