AI Coding Benchmark Update: Long-Horizon Task Pass Rate Doubles
The latest update to a mobile-focused AI coding benchmark signals a shift from single-turn code generation to long-horizon task completion, with pass rates doubling from 12.0% to 24.0%. This article breaks down the key metrics, explains how to build a reproducible evaluation pipeline, and covers cost-control strategies such as hybrid routing for teams adopting AI coding agents.
AI Coding Benchmark Update: From Single-Turn Generation to Long-Horizon Task Completion
The latest round of a mobile-focused AI coding benchmark sends a clear signal: the way we evaluate AI coding capability is shifting from “can it generate a runnable snippet” to “can it complete a full task across multiple files, multiple tool calls, and continuous build-and-test feedback.” According to the published test summary, a solution optimized for long-horizon tasks raised its task pass rate from 12.0% to 24.0%, reached an average task completion rate of 82.3%, cut the average time for a full test run from 66.2 hours to 27.4 hours, and reduced average cost from $418.3 to $317.4. Meanwhile, a low-cost solution achieved a 17.3% pass rate with an average run time of 12.0 hours at just $9.9, while the top-performing solution reached a 40.0% pass rate. These numbers show that progress on long-horizon tasks is not a single-metric change but a combined trade-off across pass rate, completion, latency, cost, and stability.
Why Long-Horizon Tasks Are the New Evaluation Frontier
Mobile development tasks are inherently cross-layer, cross-file, and feedback-driven. A seemingly simple requirement may touch UI state management, business logic, data persistence, permission configuration, build scripts, and test cases all at once. Long-horizon tasks require an AI coding system to maintain contextual consistency over dozens of interaction rounds: reading build errors, locating test failures, modifying multiple files, and rolling back or retrying after failures.
The main challenges include:
- State accumulation and context drift: the more rounds, the more the history balloons, and critical constraints can get buried. The system needs context compression, an explicit task checklist, and clear records of modified files and pending verifications.
- Error accumulation and recovery: a single wrong dependency change can trigger cascading build failures. Evaluation must look beyond the final pass rate to average completion and failure recovery paths.
- Environment differences and reproducibility: mobile builds depend on SDKs, emulators, resource files, and test data. Inconsistent environments directly contaminate results.
- Cost and time constraints: full builds and full test suites every round drive costs up fast. Incremental builds, caching, parallel execution, and fast failure termination are needed to keep budgets under control.
In this round, the long-horizon-optimized solution doubled its pass rate while reducing both time and cost, suggesting the gains likely come from coordinated improvements in task planning, tool-call error correction, context management, and execution efficiency rather than simply adding more reasoning rounds. For developers, the reusable takeaway is these engineering methods, not any single result.
Read Metrics as a Group: Pass Rate, Completion, Latency, and Cost
Looking at pass rate alone is misleading. A solution may have a modest pass rate but high average completion, meaning it pushes tasks to late stages; another may pass slightly more often but at extreme time and cost, making it unsuitable for frequent regression. A more reasonable evaluation framework includes:
- Task pass rate: whether end-to-end acceptance passes; measures final delivery capability.
- Average task completion: the share of sub-goals completed; reveals partial success and where failures occur.
- Time per full test run: affects feedback cycles and developer waiting cost.
- Average cost: determines the feasibility of batch evaluation and daily regression.
- Stability and variance: whether repeated runs of the same task produce consistent results.
- Failure diagnosability: whether logs are complete and failure causes classifiable.
Applying this lens to the published data: the low-cost solution ranks well with a 17.3% pass rate, 12.0-hour runs, and $9.9 cost — a clear advantage on the cost dimension. The long-horizon-optimized solution delivers a 24.0% pass rate and 82.3% completion at $317.4. These are not substitutes but fit different scenarios: low-cost solutions for batch smoke tests, initial screening, and simple tasks; high-capability solutions for complex task review, critical-path fixes, and deep regression. The 40.0% pass rate of the leading solution also shows long-horizon tasks still have substantial headroom — a doubled pass rate is a milestone, not the finish line.
Building a Reproducible Evaluation Pipeline
To turn leaderboard data into usable engineering capability, teams need a pipeline that is reproducible, auditable, and extensible. The core principles: layered task sets, environment isolation, metrics persistence, failure classification, and budget control.
Illustrative pseudocode:
tasks = load_tasks(layered=True) # layered by simple / medium / long-horizonfor task in tasks:env = create_isolated_env(task.runtime)budget = init_budget(task.max_rounds, task.max_cost)while not budget.exhausted():context = compress_context(task.history, task.constraints)plan = route_plan(task.complexity, budget.remaining)action = run_agent(context, plan, env)result = apply_and_verify(action, env)record_step(task.id, action, result, budget.used())if result.passed:breakif result.unrecoverable:breakmetrics = collect_metrics(task.id, result, budget.used())record_metrics(metrics)
In this pipeline, environment isolation prevents cross-task contamination; context compression keeps long-horizon tasks focused despite growing history; budget control prevents infinite retries on a single task; and metrics persistence supports later comparison, regression gating, and cost optimization. Enterprise teams should also add manual spot checks to prevent overly narrow automated acceptance rules from enabling “pass-rate gaming.”
Hybrid Routing and Cost Control Strategies
Costs vary dramatically across long-horizon task evaluations, and running every task through the highest-capability solution is not economical. A more practical approach is hybrid routing:
- Low-cost first for simple tasks: syntax fixes, single-file changes, and style adjustments can go to the low-cost solution first, escalating only on failure.
- Capability-first for complex tasks: cross-module refactors, build-chain repairs, and test-failure localization go straight to the high-capability queue to avoid wasted rounds.
- Fast failure termination: stop when multiple consecutive rounds show no progress, the budget is exceeded, or an unrecoverable error occurs, while preserving diagnostic logs.
- Caching and incremental execution: cache dependency downloads, build artifacts, and test results; run incrementally only on affected modules.
- Parallelism and queue isolation: place long-horizon tasks in a dedicated queue so they don’t block short-task feedback, and cap resource consumption.
The key is not locking into one solution but dynamically selecting based on task complexity, budget, historical pass rates, and failure types. The evaluation system should log every routing decision and its outcome, forming a replayable data loop.
Building the Evaluation Foundation on General-Purpose Cloud Capabilities
Operationalizing the pipeline requires foundational capabilities such as isolated execution, artifact retention, log search, and anomaly alerting. On Baidu AI Cloud, teams can assemble this foundation from general-purpose services: a container platform for isolated task execution environments, object storage for build artifacts and test reports, a log service for centralized search across multi-round execution logs, and monitoring and alerting for timeouts, failure-rate spikes, and cost anomalies. These capabilities don’t change the evaluation logic itself, but they significantly improve the observability and operability of long-horizon tasks.
Conclusion: What to Watch After the Pass Rate Doubles
This round of the mobile AI coding benchmark shows that doubling the long-horizon pass rate reflects real capability progress, but neither vendor selection nor engineering adoption should hinge on a single number. What matters more: whether completion improves in tandem, whether time and cost are acceptable, whether failures are diagnosable, whether evaluation is reproducible, and whether hybrid routing can balance quality against budget. AI coding evaluation is moving from single-turn code generation to closed-loop task completion. Only by establishing layered task sets, composite metrics, and an observable execution foundation can teams convert leaderboard signals into sustained improvements in R&D efficiency.
