$ X100_FAST=1 node --test --test-name-pattern="verify/history.tsv only grows" test/ledger-laws.test.mjs
mutate ledger-history-grows
files lib/verify.mjs (lines 41 to 47)
planted 7 edits, every one this command can make here.
killed    5. The check failed on a planted defect.
survived  2. The check passed with the defect in place.
invalid   0. The edit left code that does not parse, so it was not run.
score     5 of 7 caught of the defects that ran, 71.4%.

survivors. Each is a defect the check did not notice.
  lib/verify.mjs:44  compare: === becomes !==
  lib/verify.mjs:44  number: 0 becomes 1

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/verify.mjs:42  boolean: true becomes false. exit 1
  killed    lib/verify.mjs:44  logic: || becomes &&. exit 1
  survived  lib/verify.mjs:44  compare: === becomes !==
  survived  lib/verify.mjs:44  number: 0 becomes 1
  killed    lib/verify.mjs:46  arithmetic: + becomes -. exit 1
  killed    lib/verify.mjs:46  arithmetic: + becomes -. exit 1
  killed    lib/verify.mjs:46  arithmetic: + becomes -. exit 1
