Install
Pick a model
Why did these runs fail?
Summarize every step, then roll the summaries up per trial and per task:step is the whole step (its message, reasoning, tool calls and output). The full
pipeline is in
examples/failure_modes.py.
Run it with per_task.to_pandas(). On six tasks from a run of Claude Code on Terminal-Bench, five
attempts each, you get one row per task (text shortened here):
Drill down into the results
Print one task’s failures, and what the passing runs did differently:lineage=True. .inputs() then goes from a task to
its runs, and from a run to its steps:
Next steps
Concepts
Tables, signatures, operators and lineage.
Load traces
Harbor jobs, Claude Code and Codex sessions, OpenTelemetry.
Optimization
Improve a step against your labels with GEPA.
Why did my runs fail?
The full failure-modes recipe.