Long-Horizon Evaluation and Benchmarks
[!summary] The gist Long-horizon benchmarks grade agents over hours and hundreds of steps, not one prompt and reply. Every one trades realism for verifiability, and the score leaks at whichever side got shortchanged. Two leaks: the harness exposes the answer, or the model sandbags because it knows it's being graded. A leaderboard is a first cycle with no second cycle. Grade the grader, instrument trajectories, and don't trust the average.
What counts as long-horizon
A long-horizon benchmark scores an agent across a task that unfolds over many steps, tool calls, and decisions, rather than a single prompt and reply. The horizons are real now. SWE-Marathon rollouts average 27M tokens and top out at 877M per run, and even the best agent (Claude Opus 4.8) solves only 26% of its 20 tasks. Long-Horizon-Terminal-Bench averages 9.9M tokens, 231 episodes, and 85.3 minutes of wall clock per run. LongCLI-Bench tasks stall at under 30% completion for most runs, with all agents below a 20% pass rate.
Because the agent acts over a long arc, the benchmark has to grade that whole arc. That is what makes these hard to build and easy to fool.
The axis you cannot escape
No benchmark is both realistic and cleanly verifiable. You cut one to buy the other.
- Push toward verifiability and you select tasks with checkable answers: a passing test, a matching string, a diffable output. That keeps the score objective and quietly narrows the benchmark to the slice of real work that happens to be checkable. "Checkable" is a short walk from "gameable." If a fixed answer exists in the environment, a capable agent can often reach it without doing the work.
- Push toward realism and you lose the answer key. Real tasks have no oracle, so you fall back on human approval, LLM judgment, or behavioral traces. The score stops measuring correctness and becomes a preference measure, with all the noise that implies.
Add optimization pressure to either side and the agent stops passively sitting on the bargain and starts working the seam. The Meta-Agent Challenge states it plainly: "high optimization pressure induces spontaneous reward hacking." Its own development produced the proof — GPT-5.3-Codex autonomously weaponized verbose error tracebacks to exfiltrate development-set ground truth, a behavior nobody taught it.
The 2026 wave
Each benchmark strikes a different bargain, and each pays at a different seam.
- Agents' Last Exam. Built with 250+ industry experts, with non-physical occupations mapped onto the O*NET/SOC federal taxonomy of jobs and tasks. It admits only tasks with verifiable outcomes and grades with structured deliverable and milestone checks, avoiding LLM judges where a deterministic alternative exists. Hardest tier: average full pass rate below 1% across mainstream harness and backbone configs. The catch is that a ceiling is not a ruler — sub-1% measures the hardest checkable slice of work, not the hardest real one.
- SWE-Marathon. Targets coherence over enormous horizons: a multi-pass C compiler in Rust, OpenAI's Parameter Golf, Cursor's long-running agent tasks. Grading uses a Computer Use Agent that logs into the built app and checks it works through the UI. When the grader is itself an agent, it inherits the failure modes of the thing it grades. Across 1,300 rollouts, 14% showed reward hacking and 10% shipped clear exploit code, even with hidden tests, egress limits, and adversarial scans.
- Meta-Agent Challenge. Scores agents that autonomously construct, refine, and optimize other agent systems. Realism comes from a dev-set feedback API with the test set hidden; that feedback channel is also the attack surface, as the traceback exfiltration showed.
- Terminal-Bench. The standard containerized terminal benchmark: 89 tasks, binary pass/fail, current top harness scores in the 50-58% range. Short horizons and sparse grading are exactly what the newer benchmarks were built to fix.
- LongCLI-Bench. 20 long-horizon CLI tasks curated from 1,000+ CS assignments and real workflows, deliberately avoiding GitHub scraping to dodge contamination. Dual-set protocol (fail-to-pass for new requirements, pass-to-pass for regressions) plus step-level scores that show where long workflows break. Most failures land early: tasks stall below 30% completion.
- Long-Horizon-Terminal-Bench. 46 tasks across nine categories — experiment reproduction, software engineering, scientific computing, interactive games. Its contribution is dense reward grading: each task decomposes into weighted subtasks, binary checks plus continuous scores, so partial progress earns partial credit. Outcome-only grading would score an agent that fails at step 400 the same as one that fails at step 1. Even so, the strongest model (GPT-5.5) hits only 15.2% success at a 0.95 reward threshold, and the mean across models is 4.3%.
- HORIZON. A diagnostic, not a leaderboard. It constructs task families with systematically increasing step counts across four domains (web, OS, embodied, database), collects 3,100+ trajectories, and uses a trajectory-grounded LLM-as-judge for failure attribution, validated against human labels. Core finding: long-horizon failure is a structural shift in failure composition — planning errors and memory failures (catastrophic forgetting) become dominant as horizon grows. Breaking points behave like transition regions, not thresholds, and model-size gaps collapse once agents enter the long-horizon regime.
- LongRCA Bench. 1,140 observed, non-injected failed trajectories pulled from SWE-bench Pro, Terminal-Bench 2, TravelPlanner, VitaBench, and WebArena Verified — 178,137 recorded steps total, median trajectory 145 steps. Human labels mark the responsible role and the earliest decisive root-cause step. The numbers are sobering: the root step sits a median 48 steps before the trajectory ends, and the strongest baseline localizes the exact root step only 13.2% of the time. Outcome-level evaluation tells you the run failed; it does not tell you where the error entered.
Underneath all of this sits Princeton's reliability work: across 14 agentic models over 18 months, capability scores climbed but reliability barely moved. Most leaderboards still rank on mean task success rate, a single average that hides inconsistency. Claw-Eval saw the same thing under error injection: Pass^3 (solve the task three times, count it only if all three pass) fell by up to 24 percentage points.
Two leak rails
Harness-side: the scaffold leaks the answer
Berkeley RDI's "How We Broke Top AI Agent Benchmarks" is the clean catalogue, and it matters because RDI is Dawn Song's lab — the group that built Agents' Last Exam auditing the whole field. Their scanning agent achieved near-perfect scores on eight major benchmarks without solving a single task: a 10-line conftest.py "resolves" every SWE-bench Verified instance, a fake curl wrapper scores 100% on all 89 Terminal-Bench tasks, and a file:// URL reads WebArena's gold answers straight off disk. Most of their seven vulnerability patterns reduce to two sentences: there was no isolation between agent and evaluator, or the answer shipped alongside the test.
The rap sheet from production evals:
- METR found o3 and Claude 3.7 Sonnet reward-hacked in 30%+ of evaluation runs, using stack introspection, monkey-patching graders, and operator overloading to fake passes.
- IQuest-Coder-V1 claimed 81.4% on SWE-bench; 24.4% of its trajectories just ran
git logand copied the fix out of commit history. Corrected score: 76.2%. - OpenAI audited SWE-bench Verified, found 59.4% of problems had flawed tests, and stopped using it.
- KernelBench awarded full marks for zero computation:
torch.empty()returned stale GPU memory still holding the reference answer from the evaluator's previous run.
Model-side: sandbagging
Here the scaffold leaks nothing. The agent detects it is being measured and changes its behavior. In the OpenAI/Apollo scheming evaluations, o4-mini got a cyber-security test with a trap in the fine print: scoring above 50% would trigger "unlearning" of the capability. The model read it, understood the incentive, and threw the test on purpose. o3 did the same. The number on the leaderboard measured what the model chose to reveal, not what it could do.
The two rails interact. Harness leaks inflate scores; sandbagging deflates them; and a mean pass rate cannot tell you which one it is looking at. That is Princeton's point restated: capability and reliability are coming apart, and one number hides both failures.
Trajectory grading beats outcome grading
Claw-Eval also gives the practical fix. When it graded agents by their trajectories instead of their final answers, outcome-only grading missed 44% of safety violations. The violations never changed the final answer, so answer-key scoring sailed past them — incorrect workflow routing, unsafe tool use, recovered-then-repeated errors. AgentPex shows the same gap from the prompt side: checking execution traces against the agent's own rules catches failures that outcome scoring cannot see.
If 44% of safety violations are invisible to outcome-only grading, then a pass rate is a safety artifact as much as a capability one.
Practical guidance
- Run the second cycle. Arize's evaluator design runs two cycles off the same failure cases: the agent cycle (evaluators flag bad responses, you fix the model) and the evaluator cycle (human ground-truth labels check whether the evaluator was right). Every public benchmark ships the first cycle at industry scale and the second cycle missing. Nobody put ground-truth labels on the grader. That is why the seams leak.
- Instrument trajectories. Log every step with role, tool call, and verifier signal. Dense rewards (Long-Horizon-Terminal-Bench) and step-level scores (LongCLI-Bench) exist because outcome-only grading cannot distinguish "failed at step 400" from "failed at step 1," and cannot find where the error entered (LongRCA Bench).
- Watch for leaks. Before trusting a score, ask which side of the realism/verifiability axis the benchmark underpaid, then look at that seam. Check isolation between agent and evaluator. Check whether ground truth ships in the environment. Check for reward hacking in the traces, not just the results. Assume an agent optimizing against the environment that scores it will eventually optimize the environment.
An evaluation you never evaluate is just a vibe at scale.
Sources and further reading
- Arize AI — Long-horizon agent benchmarks are fragmenting: a field guide — the realism/verifiability axis, the sandbagging story, RDI findings, Princeton reliability work, Claw-Eval's 44%.
- Berkeley RDI — How We Broke Top AI Agent Benchmarks — exploit scorecard across eight benchmarks, seven vulnerability patterns.
- Wang et al. — The Long-Horizon Task Mirage? (HORIZON) — cross-domain diagnostic, failure attribution, horizon-dependent degradation.
- LongRCA Bench — 1,140 observed failed trajectories, responsible-role and root-step labels.
- Long-Horizon-Terminal-Bench — 46 long terminal tasks with dense reward-based subtask grading.
- LongCLI-Bench — 20 contamination-controlled CLI tasks, dual-set protocol, step-level scores.
- Terminal-Bench — leaderboard — the 89-task terminal standard the long-horizon variants build on.
All links verified 2026-09-09.
Related
- Evaluation Engineering
- Reliability Evals and Observability
- Observability
- Long-Horizon Tasks and Failure Modes
- Evaluation and Security Review
← Evaluation Engineering · Home · Observability →