Agent Long-Horizon Coding Benchmark Update: How to Read the New Scores
This article breaks down a recent update to a mobile development benchmark that added two coding agents and shifted its focus from single-file completion to long-horizon tasks. It explains how to interpret the four core metrics—pass rate, average completion, average runtime, and cost per run—and what their trade-offs mean for engineering teams. It also covers tiered task routing, how to build a reusable internal evaluation framework, and common pitfalls such as treating pass rate as the only goal or granting agents overly broad permissions.
1. Why Long-Horizon Tasks Became the Core Benchmark Focus
A recent version update to a mobile development benchmark added scores for two additional coding agents. Unlike earlier evaluations centered on single-file completion and short function generation, this round puts the emphasis on long-horizon tasks: agents must work continuously for hours or even days across dozens of interrelated development tasks, autonomously handling requirement understanding, code retrieval, cross-file modification, build verification, and rollback when things fail.
The shift has a clear engineering rationale. In real development work, what developers hand to an agent is rarely an isolated code snippet. It is more often a task like “add pagination to this module” or “migrate this network layer to a new concurrency model”—work that spans a dozen or more files, requires consistent context, and demands self-correction on failure. Short-horizon evaluations cannot expose long-chain problems such as context drift, state loss, and error accumulation. As a result, the industry has gradually adopted long-horizon pass rate as a key measure of whether an agent is actually usable in engineering practice.
It is worth stressing that a leaderboard is only a reference point, not a conclusion. The same agent can perform very differently under different scaffolds, model routing strategies, and tool permission configurations—and those differences often matter more in practice than the gap in rankings.
2. How to Read the Four Core Metrics
The scores for the two newly added agents can be abstracted into the following structure (values are used only to illustrate the relative magnitude between metrics):
Agent A: pass rate 24.0% | average completion 82.3% | average runtime 27.4 hours | ~$317 per runAgent B: pass rate 17.3% | average completion 71.2% | average runtime 12.0 hours | ~$9.9 per runRelative position: A is above some mainstream solutions and below the current leader at 28.7%
First, pass rate measures the proportion of tasks that fully meet the bar. It is an all-or-nothing hard metric that answers the question: how many tasks can be delivered as-is, without manual rework?
Second, average completion is a smoother signal. It reflects how far a task was advanced, so even when a run ultimately fails, you can tell whether the agent got stuck at the final verification step or drifted off course during requirement understanding. Only by reading the gap between 82.3% and 71.2% together with the pass rate gap can you judge whether the failure mode is “close to success” or a “structural deviation.”
Third, average runtime determines whether long-horizon tasks can fit into a daily development rhythm. A 27.4-hour runtime means a task spans multiple working days and must be paired with checkpoint resume, intermediate artifact persistence, and manual inspection. A 12.0-hour runtime is far easier to close out within a single working day.
Fourth, cost per benchmark run is a dimension that is easy to underestimate. The two differ by more than thirty times, and that gap is quickly amplified in high-frequency usage. Converting cost into “the marginal investment required to gain one percentage point of pass rate” is more useful for decision-making than looking at the absolute price alone.
3. What Speed and Cost Mean for Engineering
The value of a low-cost solution is not limited to the bill. It lets teams absorb a higher rate of trial and error: the same task can be run in parallel across multiple prompt strategies and multiple tool permission combinations, replacing a one-shot bet with a statistically grounded winner. For small teams that are sensitive to budget and response time, this “rerunnable” property often delivers more real value than a few percentage points of pass rate on the leaderboard.
A high-completion solution, by contrast, fits scenarios with long task chains and high rework costs, such as cross-module refactoring or build pipeline repair. Once such a task fails midway, the cost of a human taking over is extremely high, so it is more worthwhile to pay for stability.
A practical approach is tiered routing: classify tasks by estimated chain length and failure cost, send short-chain, low-cost tasks to a low-cost agent in batches, route long-chain, high-cost tasks to the high-completion solution, and place automated validation gates in the middle tier.
def route(task):# Illustrative: tiered routing by task complexity and failure costif task.estimated_steps <= 3 and task.rework_cost == "low":return "fast_agent" # low-cost, low-runtime optionif task.requires_build_pass and task.rework_cost == "high":return "deep_agent" # high-completion optionreturn "fast_agent_with_review" # low-cost option + manual/automated review
4. A Reusable In-House Evaluation Framework
Leaderboard data cannot replace your team’s own baseline. It is advisable to build an internal evaluation set of 20 to 40 samples drawn from real backlog tasks, covering four categories: new features, bug fixes, dependency upgrades, and build repair. Fix the following variables: the granularity of task descriptions, available tool permissions, whether web retrieval is allowed, and the maximum runtime and budget caps.
During evaluation, record the four metrics above and additionally collect two engineering signals: the share of time taken over by humans and the reusability rate of intermediate artifacts. The former reflects real delivery efficiency; the latter determines whether long-horizon tasks can be safely parallelized. Archive all run results to a logging service, and use monitoring alerts to set threshold reminders for timeouts and cost anomalies, so that a single runaway run does not consume an entire month’s quota.
5. Common Pitfalls and Practical Recommendations
The first pitfall is treating pass rate as the only goal. If the evaluation set is too easy, pass rate will be inflated; samples should be rotated regularly to keep the difficulty distribution stable.
The second pitfall is ignoring the determinism of the runtime environment. Dependency version drift and network jitter can both cause long-horizon tasks to fail needlessly at the verification stage, so a containerized, fixed environment is a necessary prerequisite.
The third pitfall is granting agents overly broad permissions. The principle of least privilege applies to agents as well: grant only the directories and command scope a task requires, which can significantly reduce the risk of unintended changes and data exposure.
For a rollout path, start with a pilot on low-risk modules, accumulate your own baseline data over two to three weeks, and then decide whether to adopt a higher-cost solution. At the same time, bring prompt templates, tool inventories, and validation scripts under version control so that evaluation results are reproducible and comparable. If you need elastic compute to handle batches of long-horizon tasks, a common architecture is a container platform paired with object storage for intermediate artifacts, scaling on demand to control cost. Baidu AI Cloud can provide general product-category support for this kind of batch inference and elastic scheduling scenario, but the specific selection should still be based on your team’s own test data.
