1. Small facts with plain Python
2. A note per step
3. Roll up per trial, per task and overall
reward and failed_tests have one value per trial, so the per-trial reduce gets each once
rather than once per step. tp.collect runs all three tables in one pass and shares the work
they have in common.
Run it
--replay to feed the same job in as a simulated stream; the final rows match.
Next steps
Terminal-Bench taxonomies
Label failures with a fixed taxonomy instead.
Concepts
Drill from a failure mode back to its steps with lineage.