# made by 100x verify mutate
# command: X100_FAST=1 node --test --test-name-pattern="values:pay names|pinned:pay names|an opt-out with no reason|a model with every opt-out|MAX_PINS says|a part payment that cancels|tries one up and one down|lists three fields in full|says what it saw when the values|a model whose states are not objects|shows every step on the way|the pinned check says which step|pinned is a sample and says so|values counts a value only where|a value below the least that the step accepts|a value that is not a number leaves" test/property-checker-strength.test.mjs
# defect: skills/100x/assets/property-checker.mjs:437 condition: live.length === 0 becomes true
# exit: 1
# digest: 12ec454f18f4b0cc
FAIL  checker-questions. a planted defect made the check fail at skills/100x/assets/property-checker.mjs:437: condition: live.length === 0 becomes true (exit 1)
✔ a part payment that cancels the order fails post:pay in the new example and passes in the 0.1.4 one (596.467584ms)
✖ values:pay names the kinds of value a list leaves out, and a reasoned leavesOut settles it and is printed (259.100167ms)
✔ pinned:pay names a field that nothing pins and a value that would pass, and each reasoned way out settles it (1235.518333ms)
✔ an opt-out with no reason is refused with a sentence that asks for one, and nothing is explored (1744.874958ms)
✔ a model with every opt-out given a reason exits 0 and prints each reason, so nothing is left out unseen (413.937583ms)
✔ MAX_PINS says how many transitions of a step the pinned check asks about, and the result says when it asked about fewer than all (549.445708ms)
✔ a model whose states are not objects has no fields to pin, so it is explored without the pinned check (326.736709ms)
✔ the pinned check says which step it is asking about and how far it has got, since it can take longer than the search (3288.902291ms)
✔ pinned:<step> tries one up and one down for a number, lets an invariant pin a field, and says in words why it asked about nothing (1740.110042ms)
✔ pinned:<step> lists three fields in full and counts the rest, in the singular for one (2789.686917ms)
✔ pinned:<step> shows every step on the way to the state where a field was found loose, and not only the last one (565.669167ms)
✖ values:<step> says what it saw when the values are not numbers or none was tried, and prints the list it accepted (591.332166ms)
✔ pinned is a sample and says so: its level is sampled, its line counts what it asked, and it asks about the numbers and words that the spec writes out (8523.041583ms)
✖ values counts a value only where the step can run, since a fraction offered only where pre refuses everything never reaches the guard (721.201666ms)
✖ a value that is not a number leaves the values question on for the numbers of the list, since a null in the list cannot hide a missing fraction (652.402625ms)
✖ a value below the least that the step accepts is asked for, even when that least one was refused in another state (810.198458ms)
ℹ tests 16
ℹ suites 0
ℹ pass 11
ℹ fail 5
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 25475.52225

✖ failing tests:

test at test/property-checker-strength.test.mjs:133:1
✖ values:pay names the kinds of value a list leaves out, and a reasoned leavesOut settles it and is printed (259.100167ms)
  AssertionError [ERR_ASSERTION]: Model order workflow, total 3. 13 states, 15 transitions, deepest path 3.
  Exhaustive. Every reachable state was visited, so a pass is a proof for this model and these bounds.
    assumes the total is 3, and a payment is a whole number of units from 1 to 3, so zero, a negative and a fraction must be refused
    assumes one order at a time, with no concurrent callers
    assumes every step that stays possible is eventually taken (strong fairness)
  pass  inv:money-in-bounds. 13 states checked, exhaustive
  pass  inv:shipped-means-paid. 13 states checked, exhaustive
  pass  inv:refund-only-after-cancel. 13 states checked, exhaustive
  pass  guard:pay. 52 enabled and refused cases agree with the implementation, every refusal an error, exhaustive
  pass  post:pay. 6 transitions checked, exhaustive
  pass  pinned:pay. paid, status pinned. Each was asked against up to 9 other values, a sample and not a proof
  pass  values:pay. tried [1,2,3,4], but in no state could the step run, so no guard was asked about any of it
  pass  guard:ship. 13 enabled and refused cases agree with the implementation, every refusal an error, exhaustive
  pass  post:ship. 1 transitions checked, exhaustive
  pass  pinned:ship. status pinned. Each was asked against up to 9 other values, a sample and not a proof
  pass  guard:deliver. 13 enabled and refused cases agree with the implementation, every refusal an error, exhaustive
  pass  post:deliver. 1 transitions checked, exhaustive
  pass  pinned:deliver. status pinned. Each was asked against up to 8 other values, a sample and not a proof
  pass  guard:cancel. 13 enabled and refused cases agree with the implementation, every refusal an error, exhaustive
  pass  post:cancel. 4 transitions checked, exhaustive
  pass  pinned:cancel. status pinned. Each was asked against up to 9 other values, a sample and not a proof
  pass  guard:refund. 13 enabled and refused cases agree with the implementation, every refusal an error, exhaustive
  pass  post:refund. 3 transitions checked, exhaustive
  pass  pinned:refund. refunded pinned. Each was asked against up to 4 other values, a sample and not a proof
  pass  pure. no apply changed its input
  pass  deadlock. every state has a step or is a stopping point, exhaustive
  pass  coverage. every step was possible somewhere, 5 of 5
  pass  live:every-started-order-settles. holds from 12 states under strong fairness, exhaustive
  pass  live:a-cancelled-order-is-refunded. holds from 6 states under strong fairness, exhaustive
  
  
  0 !== 1
  
      at TestContext.<anonymous> (file://<project>/test/property-checker-strength.test.mjs:136:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 0,
    expected: 1,
    operator: 'strictEqual',
    diff: 'simple'
  }

test at test/property-checker-strength.test.mjs:518:1
✖ values:<step> says what it saw when the values are not numbers or none was tried, and prints the list it accepted (591.332166ms)
  AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^pass {2}values:pay\. tried \[-1,0,0\.5,1,1\.5,2,3,4\]$/. Input:
  
  'pass  values:pay. tried [-1,0,0.5,1,1.5,2,3,4], but in no state could the step run, so no guard was asked about any of it'
  
      at TestContext.<anonymous> (file://<project>/test/property-checker-strength.test.mjs:521:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: 'pass  values:pay. tried [-1,0,0.5,1,1.5,2,3,4], but in no state could the step run, so no guard was asked about any of it',
    expected: /^pass {2}values:pay\. tried \[-1,0,0\.5,1,1\.5,2,3,4\]$/,
    operator: 'match',
    diff: 'simple'
  }

test at test/property-checker-strength.test.mjs:661:1
✖ values counts a value only where the step can run, since a fraction offered only where pre refuses everything never reaches the guard (721.201666ms)
  AssertionError [ERR_ASSERTION]: Model live. 4 states, 3 transitions, deepest path 3.
  Exhaustive. Every reachable state was visited, so a pass is a proof for this model and these bounds.
  pass  guard:pay. 17 enabled and refused cases agree with the implementation, exhaustive
  pass  post:pay. 3 transitions checked, exhaustive
  pass  pinned:pay. paid, status pinned. Each was asked against up to 4 other values, a sample and not a proof
  pass  values:pay. tried [-1,0,1,4,0.5], but in no state could the step run, so no guard was asked about any of it
  pass  pure. no apply changed its input
  pass  deadlock. every state has a step or is a stopping point, exhaustive
  pass  coverage. every step was possible somewhere, 1 of 1
  
  
  0 !== 1
  
      at TestContext.<anonymous> (file://<project>/test/property-checker-strength.test.mjs:666:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 0,
    expected: 1,
    operator: 'strictEqual',
    diff: 'simple'
  }

test at test/property-checker-strength.test.mjs:698:1
✖ a value that is not a number leaves the values question on for the numbers of the list, since a null in the list cannot hide a missing fraction (652.402625ms)
  AssertionError [ERR_ASSERTION]: null
  Model live. 4 states, 6 transitions, deepest path 1.
  Exhaustive. Every reachable state was visited, so a pass is a proof for this model and these bounds.
  pass  guard:pay. 16 enabled and refused cases agree with the implementation, exhaustive
  pass  post:pay. 6 transitions checked, exhaustive
  pass  pinned:pay. paid, status pinned. Each was asked against up to 4 other values, a sample and not a proof
  pass  values:pay. tried [1,2,3,null], but in no state could the step run, so no guard was asked about any of it
  pass  pure. no apply changed its input
  pass  deadlock. every state has a step or is a stopping point, exhaustive
  pass  coverage. every step was possible somewhere, 1 of 1
  
  
  0 !== 1
  
      at TestContext.<anonymous> (file://<project>/test/property-checker-strength.test.mjs:717:12)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 0,
    expected: 1,
    operator: 'strictEqual',
    diff: 'simple'
  }

test at test/property-checker-strength.test.mjs:778:1
✖ a value below the least that the step accepts is asked for, even when that least one was refused in another state (810.198458ms)
  AssertionError [ERR_ASSERTION]: Model take. 3 states, 2 transitions, deepest path 2.
  Exhaustive. Every reachable state was visited, so a pass is a proof for this model and these bounds.
  pass  guard:take. 9 enabled and refused cases agree with the implementation, exhaustive
  pass  post:take. 2 transitions checked, exhaustive
  pass  pinned:take. n pinned. Each was asked against up to 3 other values, a sample and not a proof
  pass  values:take. tried [1,2,3], but in no state could the step run, so no guard was asked about any of it
  pass  pure. no apply changed its input
  pass  deadlock. every state has a step or is a stopping point, exhaustive
  pass  coverage. every step was possible somewhere, 1 of 1
  
  
  0 !== 1
  
      at TestContext.<anonymous> (file://<project>/test/property-checker-strength.test.mjs:781:10)
      at Test.runInAsyncScope (node:async_hooks:226:14)
      at Test.run (node:internal/test_runner/test:1402:25)
      at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
      at Test.postRun (node:internal/test_runner/test:1542:19)
      at Test.run (node:internal/test_runner/test:1467:12)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 0,
    expected: 1,
    operator: 'strictEqual',
    diff: 'simple'
  }
