AI Coding Benchmarks Update: The Capability and Cost Trade-Off of Long-Horizon Tasks

    A new AI coding benchmark focused on Android development has updated its leaderboard with scores for three large models. Unlike single-function completion tests, it evaluates long-horizon engineering tasks such as app creation, feature development, code migration, and app form-factor conversion. This article breaks down the four key metrics—pass rate, average completion, average wall-clock time, and cost per run—and explains the engineering trade-offs behind them, along with practical guidance on task decomposition, tiered routing, and building a repeatable evaluation pipeline.

    1. Why an Android Development Benchmark Matters

    A recently updated AI coding benchmark targeting Android development has publicly released scores for three large models for the first time. Rather than testing single-function completion, the benchmark scales its evaluation unit to real engineering granularity: application creation, feature development, code migration, and application form-factor conversion. It contains 30 long-horizon tasks that require an agent to work continuously for hours or even tens of hours with little or no human intervention.

    The value of this kind of benchmark is that it moves “model capability” out of static question answering and back into the context of engineering delivery. For technical teams, the question is no longer whether a model can produce a correct snippet, but whether it can self-correct across multiple rounds of context growth, dependency conflicts, build failures, and failing tests, and ultimately deliver something that runs and can be verified.

    The three models on the leaderboard represent three typical capability profiles: high completion with long runtime, balanced, and low-cost and fast. The high-completion, long-runtime option passed about 24.0% of the 30 tasks, with an average completion of 82.3%, an average time of 27.4 hours, and a cost of about $317.4 per benchmark run. The low-cost, fast option passed about 17.3%, with an average completion of 71.2%, an average time of 12.0 hours, and a cost of about $9.9 per run. The top-ranked option had a pass rate of about 28.7%. These numbers are observations under a specific benchmark and a specific agent scaffold, and should not be extrapolated into general productivity conclusions.

    2. Breaking Down the Metrics

    To read the leaderboard correctly, start by unpacking how the metrics interact.

    • Pass rate: the proportion of tasks judged fully acceptable. It is the strictest and most binary metric, answering “can it deliver in one pass?”
    • Average completion: the mean percentage of task progress, reflecting “how close it gets.” High completion with a low pass rate often means the model can push the work to 80% or even 90%, but gets stuck on final compatibility, edge cases, or acceptance details.
    • Average time: wall-clock time for long-horizon tasks, which directly determines the length of the feedback loop. The gap between 27.4 hours and 12.0 hours means the former requires cross-day hosting and checkpoint resume, while the latter can close within a single workday.
    • Cost per run: the combined overhead of model calls, tool execution, build and test environments, and more. The difference between roughly $317.4 and roughly $9.9 is more than an order of magnitude, which turns “more capable” and “scalable” into two different questions.

    These four are not independent variables. Raising the pass rate usually requires more rounds of self-verification and a longer exploration budget, which pushes up time and cost; cutting cost often comes at the expense of exploration depth and lowers the pass rate. The essence of an engineering decision is choosing an acceptable trade-off point among the four, not optimizing a single metric.

    3. The Engineering Trade-Off of Long Runtime and High Completion

    The high-completion, long-runtime profile reveals a frequently overlooked fact: the “last 10%” of a long-horizon task is extremely expensive for an agent. It requires repeated builds, test runs, log reading, regression localization, and even rollback and refactoring. The tokens and compute consumed in this tail can exceed the total for the first 90%.

    There are three takeaways for teams. First, task decomposition matters more than model selection. Splitting “migrate an entire module” into “migrate one screen + add unit tests + update the dependency manifest” can significantly shorten a single hosting session and improve verifiability. Second, long tasks must be designed for observability. Without intermediate artifacts, execution logs, and failure snapshots, long runtime degrades into an uncontrollable black box. Third, cost should be accounted for by “effective delivery” rather than “number of calls.” If one $317.4 run yields a mergeable change, its unit cost may be lower than ten $9.9 runs that all require rework.

    Illustrative task orchestration pseudocode:

    1. task = split(epic, granularity="one_verifiable_change")
    2. for t in task:
    3. result = agent.run(t, budget=BUDGET_CAP, tools=[build, test, log])
    4. if not result.verified:
    5. result = agent.run(repair(t, failure_snapshot), budget=REPAIR_BUDGET)
    6. if result.verified:
    7. merge(result.patch)
    8. else:
    9. escalate_to_human(result.context)

    4. Where the Low-Cost, Fast Option Fits

    The value of the low-cost, fast option is not “stronger” but “scalable.” A cost of about $9.9 per run and an average time of 12.0 hours make it suitable for budget-sensitive and response-time-sensitive scenarios: batch boilerplate code generation, mechanical dependency upgrades, filling in logging and monitoring instrumentation, and generating documentation and comments.

    Its boundary must be clear, however: when a task involves cross-module architectural changes, complex state management, or strict compatibility requirements, low completion turns into human rework cost. The practical recommendation is “tiered routing”: use the low-cost option to batch-process low-risk tasks, escalate high-uncertainty tasks to the high-capability option, and back everything with a unified acceptance gate.

    5. A Practical Selection and Evaluation Method

    1) Build your own task set. Draw 20–50 automatically verifiable tasks from a real requirements pool, covering creation, development, migration, and conversion, and avoid testing only “generation” without “modification.”
    2) Use a unified acceptance gate. Make build pass, unit test pass, static check pass, and key-path manual test pass the hard conditions for “pass,” eliminating subjective scoring.
    3) Record full-chain metrics. Beyond pass rate and completion, collect time distribution, retry count, human intervention rate, and cost per task to form a comparable baseline.
    4) Adopt tiered routing and budget guardrails. Set a budget cap and timeout threshold for each task type, and automatically downgrade or escalate to a human when exceeded.
    5) Keep regressing. Rerun the same task set after model and toolchain iterations to prevent capability regressions from being masked by averages.

    6. Integrating with Cloud Engineering Systems

    To truly embed agent evaluation into the development workflow, general cloud capabilities are needed: a container platform to host isolated build and test environments, object storage to preserve intermediate artifacts and failure snapshots, a message queue to queue and smooth out long tasks, logging and monitoring with alerting for full-chain observability, and an identity and permission system to constrain the agent’s operational boundaries. Baidu AI Cloud can provide corresponding foundational capabilities in these general categories, helping teams turn “benchmark scores” into a reusable engineering pipeline.

    7. Conclusion

    The point of a leaderboard is not to give a single answer but to make the trade-offs explicit. The high-completion, long-runtime option suits high-value, low-tolerance critical tasks; the low-cost, fast option suits large-batch, low-risk modifications; and the better engineering approach is tiered routing plus a unified acceptance gate, making selection with data rather than impressions.