Agent evaluation

TianyuCodings/

ImpasseBench

A benchmark that breaks the environment under coding-agent repair tasks and scores whether the agent stops, retries or hands off. 19,371 trajectories released.

What’s new here

ImpasseBench keeps a solvable repair task and breaks the environment around it, for example by making the source read-only. It then checks whether the agent’s actions follow the evidence it has already collected. The right ending might be a hand-off to a human, a note about what is unverified, or a retry of a temporary glitch.

What it does

The repo holds the harness, fault injection, a rule-based annotator, patch grading and an evidence monitor for the paper Knowing When to Stop: The Evidence–Action Gap in Coding Agents. The tasks are 102 SWE-smith repair tasks from 10 Python repositories. They run under 12 injected faults in 4 categories (persistent barriers, verification limits, temporary faults, task mismatch) plus a clean control. That makes 1,211 task–condition pairs.

Agents get an 80-step budget and one of two interfaces. base has bash, edit_file and task_complete(verified=…). escalate adds escalate_to_human. Labels come from rules, with no LLM judge. They include whether the run ended at the framework limit, how many tool calls came after the evidence point, whether an unsafe request was made, and whether the final action fits the fault.

The released data has 19,371 trajectories from 8 models across both interfaces, hosted on Hugging Face as C-Tianyu/ImpasseBench. The README reports that without an escalation tool, 98.6% of runs under a persistent barrier collect sufficient evidence, yet a third still use up the budget. Adding the tool cuts budget exhaustion from 34.0% to 6.7%.

Who it’s for

Researchers and agent builders who want to know whether their coding agent quits sensibly when the environment is broken. It also suits anyone studying hand-off behavior who would rather start from the released trajectories than run their own.

Try it

Loading data and labeling need Python 3.10+ and no Docker. Running agents and grading patches need a Linux x86-64 host with Docker, plus provider credentials.

git clone https://github.com/TianyuCodings/ImpasseBench.git
cd ImpasseBench
pip install -e ".[data]"     # released trajectories, labels, annotator
pip install -e ".[all]"      # + every model SDK, Bedrock and SWE-bench grading

Explore the released trajectories:

from impassebench import data
 
labels = data.load_labels(as_pandas=True)                     # 19,371 rows, no steps
print(labels.groupby(["category", "interface"])["L"].mean())   # framework-limit endings

Evaluate a new model:

impassebench pull-images
impassebench run --model gemini-3.5-flash --interface base     --parallel 8
impassebench run --model gemini-3.5-flash --interface escalate --parallel 8
impassebench annotate runs/ -o labels.jsonl

How mature is it

Very new. The repo was created and last pushed on 2026-11-23, with 6 stars, 0 forks, 2 contributors and 4 commits in the last 90 days. There are no releases and no open issues or pull requests. The license is MIT. The README says the annotator reproduces all 19,371 released labels exactly, and the repo includes unit tests that need no Docker or network.