Android Development Benchmark Update: Capability and Cost Trade-offs in Long-Horizon Tasks

    This article breaks down a recent update to an Android development coding benchmark that evaluates AI agents on real engineering tasks rather than isolated functions. It explains three key signals from the published results—low pass rates on long-horizon tasks, a wide gap between completion and pass rates, and cost differences far larger than capability differences—and why pass rate, completion, wall-clock time, and cost per run must be read together. It also covers the engineering trade-offs behind high completion with long runtimes, a reusable methodology for building a similar evaluation harness, four levers for cost control, and practical guidance for turning benchmark rankings into your own selection and budgeting decisions.

    Three Technical Signals from the Benchmark Update

    A cloud provider recently refreshed a coding benchmark built for Android development scenarios, publishing scores for several mainstream large-model agents on real engineering tasks. This kind of benchmark is fundamentally different from typical algorithm-challenge evaluations: it does not measure “can it write one correct function,” but “can it take a complete engineering task from zero to a verifiable deliverable without human intervention.”

    Three signals can be drawn from the public data.

    First, pass rates on long-horizon tasks remain low overall. The best result was a pass rate of about 28.7%, meaning fewer than three out of 30 long-horizon tasks were fully completed. This stands in sharp contrast to short-horizon code completion, where pass rates often exceed 90%, showing a large gap between “locally correct” and “deliverable as a whole.”

    Second, completion and pass rate diverge noticeably. One agent had a pass rate of 24.0% but an average completion of 82.3%; another had a pass rate of 17.3% and an average completion of 71.2%. Completion measures how far a task is advanced; pass rate measures how often a task is fully closed out. The gap of more than 50 percentage points between the two points to the same engineering reality: most long-horizon failures are not “nothing was done,” but “stuck at 80%.”

    Third, the differences in cost and time are orders of magnitude larger than the differences in capability. The top-tier approach averaged 27.4 hours and about $317.4 per benchmark run; the lightweight approach averaged 12.0 hours and about $9.9. The capability gap is 24.0% versus 17.3%, but the cost gap is close to 32x. This ratio is the part most easily overlooked during selection, yet the part most worth quantifying.

    Why the Four Metrics Must Be Read Together

    Looking at any single metric leads to the wrong conclusion. These four dimensions actually form a mutually constraining tetrahedron.

    • Pass Rate: Whether a task is truly closed out; the only metric directly tied to “deliverable.”
    • Average Completion: Reflects how deep a task is advanced and is key to diagnosing failure. Low completion means the planning or environment-setup stage collapsed; high completion with low pass rate means the agent got stuck at verification, repair, or wrap-up.
    • Average Wall-clock Time: Reflects the agent’s execution efficiency and serial waiting cost, directly affecting CI queue time and the cost of human oversight.
    • Cost per Run: Determined jointly by model call volume, tool-call rounds, and the number of build and test executions; a hard constraint on whether the approach can scale.

    A practical criterion is “cost per pass”: divide cost per run by pass rate to get the expected spend needed to obtain one truly closed-out task. Roughly calculated from the public data, the expected cost of the high-completion approach is in the thousands of dollars, while the lightweight approach is in the tens of dollars. This metric is closer to a real budget decision than a raw benchmark ranking.

    The Engineering Trade-off Behind High Completion and Long Runtime

    High completion paired with long runtime is essentially a “trade time for certainty” strategy, and its engineering meaning can be understood on three levels.

    The first level is the difference in exploration strategy. Agents that pursue high completion tend to do more thorough repository reconnaissance before acting: reading build scripts, mapping module dependencies, and confirming constraints on resources and manifest files before drafting a step-by-step plan. This upfront work produces no visible code but greatly reduces the probability of rework later. Lightweight approaches tend to produce runnable fragments as early as possible and iterate quickly through trial and error, at the cost of getting stuck in repeated patching mid-way when facing complex constraints.

    The second level is the density of the verification loop. What makes Android engineering special is that verification is expensive: it requires building, installing, launching, and running UI-level or instrumented tests, each step costing minutes or more. High-completion approaches are often willing to run more rounds of the “modify—build—test—modify again” loop, so single-task time is dominated by the verification loop rather than by code generation.

    The third level is the shift in failure modes. Long runtime does not equal inefficiency; it usually means the failure point has moved from “logic errors” to “environment and dependency problems.” These require the agent to read logs, locate the build chain, and adjust configuration—capabilities that naturally involve more call rounds.

    It is worth stressing that long runtime is not a pure advantage in engineering terms. When a task is placed in a continuous integration pipeline, a 27-hour single-task duration is nearly impossible to reconcile with a daily iteration cadence. A more reasonable approach is to tier tasks: assign long-horizon, exploratory tasks to the high-completion approach for batch execution during off-hours, and assign short-horizon, clearly bounded tasks to the lightweight approach for immediate execution within the pipeline.

    A Reusable Methodology for Evaluating Long-Horizon Tasks

    If a team wants to build a similar evaluation system, the following design can serve as a reference.

    1. Task set construction: Cover four real scenarios—application creation, feature development, code migration, and application conversion—with no fewer than several items per category, and each item having an automatically judgeable acceptance criterion.
    2. Environment isolation: Run each task in a separate container with a fixed base image, dependency versions, and device emulation configuration to avoid cross-contamination.
    3. Collect all four metrics simultaneously: Pass rate, completion, time, and cost must be collected in the same batch; otherwise cross-comparison is meaningless.
    4. Repeat and average: Agent output is stochastic, and a single result is not enough to support a conclusion; at least three repetitions are recommended.
    5. Layered failure attribution: Break failures into planning failures, environment failures, implementation failures, and verification failures, then decide optimization direction based on their proportions.

    A schematic evaluation scheduling skeleton is shown below (pseudocode, expressing structure only):

    1. def run_benchmark(task, agent, repeats=3):
    2. results = []
    3. for _ in range(repeats):
    4. env = isolated_env(base_image=BASE, device=EMU) # Environment isolation
    5. t0 = now()
    6. trace = agent.solve(task, env) # Agent execution
    7. passed, completion = grade(task, env) # Automatic grading
    8. results.append({
    9. "passed": passed,
    10. "completion": completion,
    11. "seconds": now() - t0,
    12. "cost": trace.token_cost + trace.tool_cost,
    13. "fail_stage": classify_failure(trace) # Failure attribution
    14. })
    15. return aggregate(results)

    Four Levers for Cost Control

    When the cost gap reaches around 30x, the main room for optimization is not the model unit price but the call structure.

    • Context governance: Context bloat is the main cost driver in long-horizon tasks. Retrieval-based pruning of the repository—injecting only files relevant to the current subtask—can significantly compress input size per round.
    • Tool-call convergence: Set timeouts and retry limits for builds, tests, and log reading to avoid an agent burning resources in unproductive loops.
    • Tiered scheduling: Route tasks to models of different capability tiers by complexity, so simple tasks do not occupy high-cost resources.
    • Caching and reuse: Dependency caches, build-artifact caches, and test-report reuse spread out the repeated environment-preparation cost.

    When implemented in the cloud, these capabilities are typically carried by general-purpose categories: container platforms provide isolated execution environments, object storage holds build artifacts and evaluation reports, message queues handle task distribution and peak shaving, and log services with monitoring and alerting are used to observe call chains and cost anomalies. Baidu AI Cloud has corresponding product categories for such general-purpose capabilities, which can serve as a reference direction for architecture selection.

    Selection Guidance: Turning the Benchmark into Your Own Decision Table

    The value of a benchmark is not the ranking but a set of convertible anchors. Teams are advised to proceed as follows:

    1. Define your own pass-rate floor. For example, if in-pipeline tasks require more than 90% certainty, the long-horizon high-completion approach is not suitable for direct pipeline use.
    2. Budget with “cost per pass” rather than “cost per run” to avoid being misled by a low unit price.
    3. Run a small-scale pilot first, re-testing with your own task set to verify whether the benchmark conclusions transfer.
    4. Build a failure-attribution dashboard and concentrate optimization effort on the failure stage with the largest share.
    5. Keep a human fallback step, especially for tasks related to application release, permissions, and data compliance.

    Overall, the Android development benchmark update shows that agentic coding has moved from “can write code” to “can advance engineering,” but long-horizon closed-loop capability remains unstable. The rational engineering posture is to acknowledge this instability and constrain it within a controllable range through tiered scheduling, rigorous evaluation, and cost quantification, rather than expecting a single approach to deliver high pass rate, low time, and low cost all at once.