Who it is forAn engineer changing the agent layer of a pi-based coding agent who needs to know whether an edit is a real improvement or noise.
The problemA single pass rate can move by chance, so an edit can look like a gain or a loss without being one.
The outcomeA task-by-task comparison of two agent versions with a paired sign test that shows which changes are meaningful.
What you need first
- uv installed, since the benchmark is set up with `uv sync`
- harbor installed, since the benchmark runs through `harbor run`
- Access to the terminal-bench/terminal-bench-2-1 dataset
- A model endpoint you can reach through the `openai/` model prefix used in the README command
Steps
- Clone the repository and open the benchmark folder with
cd benchmark. - Install the harness dependencies with
uv sync. - Run the baseline version and the changed version with
harbor run --dataset terminal-bench/terminal-bench-2-1 --agent crux.pi_agent:CruxPiAgent --model openai/<your-model>, keeping the model and dataset the same. (inferred, check the README) - Use the harness comparison step in the benchmark folder to compare the two runs task by task with the paired sign test. (inferred, check the README)
Prompt for your agent
Use the alanhuangyoo/crux repository benchmark folder. Run the same Terminal-Bench 2.1 dataset and model for two agent versions, <baseline> and <changed>, then compare them task by task with the paired sign test. Output the per-task outcome counts and the test result, and verify that both runs used the same model and task set.
Caveat. The README describes the paired sign test but does not show the exact command for it, so check the benchmark folder for how to invoke the comparison.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for alanhuangyoo/crux and "Test whether an agent change helps, task by task"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer