Mutation test of the 100x Engineer skill's property checker
===========================================================

What this is
------------
The 100x Engineer skill (github.com/DeadInternetStudios/100x-engineer-skill, MIT)
ships a small model checker, skills/100x/assets/property-checker.mjs, with an
example: an order workflow (pay, ship, deliver, cancel, refund) and a model of it.
This kit plants one small defect at a time in that example code and records
whether the shipped model catches it. It also exercises the `100x verify` ledger.

Nothing here calls a language model or needs an API key.

Files
-----
  project/src/order.mjs         the example implementation, copied unchanged (exports added)
  project/verify/check.mjs      the shipped checker and model, importing src/order.mjs
  project/verify/values-only.mjs  the same with -1, 0.5 and 1.5 added to the tried payments
  project/tests/order.test.mjs  six example-based tests, our baseline for comparison
  harness/mutate.mjs            generates the mutants, runs every check, writes results.json
  harness/ledger.sh             the `100x verify` commands we ran
  results.json                  every mutant, every result (recorded run)
  results-summary.md            the tables
  results-chart.svg             the chart
  ledger-transcript.txt         terminal output of harness/ledger.sh
  values-only.txt               terminal output of verify/values-only.mjs
  build_summary.py              rebuilds the summary and chart from results.json
  environment.txt               versions and commit
  LICENSE-100x-engineer-skill.txt  license of the code copied from that repository

Run it
------
The recorded run used Docker with the network off, because the code under test
comes from a repository we do not control:

  cd project
  docker run --rm --network none -v "$PWD/..":/work -w /work/project node:22-bookworm-slim \
    node ../harness/mutate.mjs
  cd .. && python3 build_summary.py

Without Docker: cd project && node ../harness/mutate.mjs   (Node 22 or newer)

The ledger part needs the repository itself:

  git clone https://github.com/DeadInternetStudios/100x-engineer-skill repo
  git -C repo checkout 9147d7959c78612e1d5e4f0ea8c83c83f2c2b63b
  mkdir ledger && cp -R project/src project/verify project/tests ledger/
  docker run --rm --network none -v "$PWD":/work -w /work/ledger node:22-bookworm sh /work/harness/ledger.sh

Limits
------
One example of 24 lines and one model, both written by the tool's author. The
mutants are single textual edits from eleven operators; other edits would give
other numbers. The six example tests are one file we wrote and say nothing about
unit testing in general. The agent side of the skill (planning, building, a
second model reviewing) was not run. Results apply to commit 9147d79.
