The benchmark of the decision engine. It imports the Zenodo 16921094 corpus of student grammar attempts, runs full engine decisions or one registered procedure on each pair, checks the evidence independently, and writes run archives with the measured Fuel. It also compares complete run archives and promotes a checked run to a baseline.
Run these commands from the repository root after installing the development dependencies.
node src/bench/run.mjs fetch
node src/bench/run.mjs import
node src/bench/run.mjs truth
node src/bench/run.mjs execute --label candidate --tier 200-ms --mode fuel
node src/bench/run.mjs execute --label repeat --tier 200-ms --mode fuel
node src/bench/run.mjs gates --candidate candidate --tier 200-ms --again repeat
node src/bench/run.mjs report --candidate candidate
node src/bench/run.mjs promote --label candidate
import and truth write their evidence under bench/import and bench/truth. execute writes each run to bench/runs/data/<label>, and report adds the report files to that folder. gates writes its receipt next to the run. promote copies a checked run to bench/baselines/engine/<label>. Each command first saves the exact bundle that it runs in bench/implementations, and it keeps its journals in bench/journals.