$ node verify/gates.check.mjs --only ci-green-all-jobs-or-nothing
mutate ci-green-all-jobs-or-nothing
files scripts/ci-green.mjs
planted 40 of 86 possible edits (sampled, seed 1, at most 40).
killed    13. The check failed on a planted defect.
survived  27. The check passed with the defect in place.
invalid   0. The edit left code that does not parse, so it was not run.
score     13 of 40 caught of the defects that ran, 32.5%.

survivors. Each is a defect the check did not notice.
  scripts/ci-green.mjs:20  operand: delete || typeof needs !== 'object'
  scripts/ci-green.mjs:24  compare: === becomes !==
  scripts/ci-green.mjs:24  word: 'string' becomes 'missing'
  scripts/ci-green.mjs:24  word: 'missing' becomes 'object'
  scripts/ci-green.mjs:24  word: 'missing' becomes 'string'
  scripts/ci-green.mjs:24  word: 'missing' becomes '--expect'
  scripts/ci-green.mjs:41  condition: wantsHelp(args) becomes true
  scripts/ci-green.mjs:43  number: 0 becomes 1
  scripts/ci-green.mjs:45  condition: args.length !== 2 || args[0] !== '--expect' || !args[1] becomes false
  scripts/ci-green.mjs:45  operand: delete || args[0] !== '--expect'
  scripts/ci-green.mjs:45  operand: delete || !args[1]
  scripts/ci-green.mjs:45  compare: !== becomes ===
  scripts/ci-green.mjs:45  word: '--expect' becomes 'missing'
  scripts/ci-green.mjs:45  word: '--expect' becomes 'success'
  scripts/ci-green.mjs:45  number: 1 becomes 0
  scripts/ci-green.mjs:47  number: 3 becomes 4
  scripts/ci-green.mjs:54  number: 1 becomes 0
  scripts/ci-green.mjs:56  number: 1 becomes 0
  scripts/ci-green.mjs:62  condition: !verdict.ok && env.GITHUB_ACTIONS === 'true' becomes true
  scripts/ci-green.mjs:62  condition: !verdict.ok && env.GITHUB_ACTIONS === 'true' becomes false
  scripts/ci-green.mjs:62  operand: delete && env.GITHUB_ACTIONS === 'true'
  scripts/ci-green.mjs:62  logic: && becomes ||
  scripts/ci-green.mjs:62  word: 'true' becomes 'object'
  scripts/ci-green.mjs:62  word: 'true' becomes 'string'
  scripts/ci-green.mjs:62  word: 'true' becomes '--expect'
  scripts/ci-green.mjs:67  number: 1 becomes 0
  scripts/ci-green.mjs:67  number: 2 becomes 3

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    scripts/ci-green.mjs:20  condition: !needs || typeof needs !== 'object' || Array.isArray(needs) becomes false. exit 1
  survived  scripts/ci-green.mjs:20  operand: delete || typeof needs !== 'object'
  killed    scripts/ci-green.mjs:20  word: 'object' becomes 'missing'. exit 1
  killed    scripts/ci-green.mjs:20  word: 'object' becomes 'success'. exit 1
  killed    scripts/ci-green.mjs:20  boolean: false becomes true. exit 1
  survived  scripts/ci-green.mjs:24  compare: === becomes !==
  survived  scripts/ci-green.mjs:24  word: 'string' becomes 'missing'
  survived  scripts/ci-green.mjs:24  word: 'missing' becomes 'object'
  survived  scripts/ci-green.mjs:24  word: 'missing' becomes 'string'
  survived  scripts/ci-green.mjs:24  word: 'missing' becomes '--expect'
  killed    scripts/ci-green.mjs:25  condition: result !== 'success' becomes true. exit 1
  killed    scripts/ci-green.mjs:25  compare: !== becomes ===. exit 1
  killed    scripts/ci-green.mjs:25  word: 'success' becomes 'object'. exit 1
  killed    scripts/ci-green.mjs:25  word: 'success' becomes 'missing'. exit 1
  killed    scripts/ci-green.mjs:25  word: 'success' becomes 'true'. exit 1
  killed    scripts/ci-green.mjs:28  condition: !expected.length becomes true. exit 1
  survived  scripts/ci-green.mjs:41  condition: wantsHelp(args) becomes true
  survived  scripts/ci-green.mjs:43  number: 0 becomes 1
  survived  scripts/ci-green.mjs:45  condition: args.length !== 2 || args[0] !== '--expect' || !args[1] becomes false
  survived  scripts/ci-green.mjs:45  operand: delete || args[0] !== '--expect'
  survived  scripts/ci-green.mjs:45  operand: delete || !args[1]
  survived  scripts/ci-green.mjs:45  compare: !== becomes ===
  survived  scripts/ci-green.mjs:45  word: '--expect' becomes 'missing'
  survived  scripts/ci-green.mjs:45  word: '--expect' becomes 'success'
  survived  scripts/ci-green.mjs:45  number: 1 becomes 0
  survived  scripts/ci-green.mjs:47  number: 3 becomes 4
  survived  scripts/ci-green.mjs:54  number: 1 becomes 0
  survived  scripts/ci-green.mjs:56  number: 1 becomes 0
  survived  scripts/ci-green.mjs:62  condition: !verdict.ok && env.GITHUB_ACTIONS === 'true' becomes true
  survived  scripts/ci-green.mjs:62  condition: !verdict.ok && env.GITHUB_ACTIONS === 'true' becomes false
  survived  scripts/ci-green.mjs:62  operand: delete && env.GITHUB_ACTIONS === 'true'
  survived  scripts/ci-green.mjs:62  logic: && becomes ||
  survived  scripts/ci-green.mjs:62  word: 'true' becomes 'object'
  survived  scripts/ci-green.mjs:62  word: 'true' becomes 'string'
  survived  scripts/ci-green.mjs:62  word: 'true' becomes '--expect'
  killed    scripts/ci-green.mjs:67  condition: process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url) becomes true. exit 3
  killed    scripts/ci-green.mjs:67  operand: delete && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url). exit 3
  survived  scripts/ci-green.mjs:67  number: 1 becomes 0
  killed    scripts/ci-green.mjs:67  compare: === becomes !==. exit 3
  survived  scripts/ci-green.mjs:67  number: 2 becomes 3
