Android Development Benchmark Update: The Trade-Offs of Agentic Coding

    A new round of public coding benchmark results for real-world Android development tasks shows that AI agent performance cannot be reduced to a single score. This article breaks down the four key metrics—pass rate, average completion, average time, and cost per run—and explains how to read them together. It also covers why high completion often comes with long runtimes, how the agent scaffold around the same model changes results, and how to convert dollar costs into engineering resources. Readers will find practical guidance on task routing, shifting verification earlier, context budgeting, and building an internal benchmark to choose the right setup for their workflow.

    1. What the Benchmark Update Signals: From “Writing Correct Code” to “Delivering Engineering”

    An official developer channel for a mobile app ecosystem recently published a batch of coding benchmark results aimed at real development scenarios. The participants were combinations of general-purpose large models paired with different agent frameworks. Unlike traditional algorithm puzzles or unit-test generation evaluations, these benchmarks define tasks at the level of long-horizon software engineering: creating a runnable application from scratch, adding new features to an existing project, migrating code across versions, and converting one UI form into another.

    What makes these evaluations worth attention is that they change the measurement standard. In the past, we tended to evaluate models with “single-turn code correctness,” but real development is a continuous sequence of dozens or even hundreds of decisions: reading requirements, scanning project structure, editing multiple files, running builds, reading errors, and fixing them. The evaluation dimensions therefore naturally expand into four categories:

    • Pass rate: the proportion of tasks genuinely completed and accepted within a given time/step budget;
    • Average completion: how far unfinished tasks progressed, reflecting “half-finished quality”;
    • Average time: wall-clock time from task dispatch to convergence;
    • Cost per benchmark run: the direct expense of running the full benchmark once.

    From the public data, two newly added combinations show a clear split. One is agent-driven, with a pass rate of about 24.0% and average completion of 82.3%, but an average time of about 27.4 hours and a cost per run of about $317.4. The other has a pass rate of about 17.3% and average completion of 71.2%, with an average time of about 12.0 hours and a cost of about $9.9. The former is higher than several participating combinations but below the top result of about 28.7%; the latter has a slightly lower pass rate but a significant advantage in speed and cost. This is not simply “which one is stronger,” but a collision of two engineering philosophies.

    2. How to Read the Four Metrics: Don’t Look at Pass Rate Alone

    Looking only at pass rate leads to misjudgment. It helps to combine the four metrics into a decision table:

    Scenario Metric to prioritize Reason
    One-shot delivery, strict acceptance Pass rate + completion Half-finished output is nearly worthless
    Iterative development with human fallback Average completion 70%-complete output can be quickly finished by engineers
    Interactive coding with CI feedback Average time Feedback delay directly determines whether flow is interrupted
    Large-scale batch tasks Cost per run Cost scales linearly with task volume

    A practical formula is “effective output cost”:

    1. effective output cost ≈ cost per run / (pass rate × average completion)

    After normalizing with it, a high-completion approach does not necessarily win on “output per hour/per dollar,” and a low-cost “quick draft + manual refinement” pipeline may actually be better in total cost. What engineering should truly optimize is not a single metric, but the end-to-end delivery efficiency of this pipeline.

    3. Why “High Completion” Often Comes with “Long Time”

    Long runtime is not a defect, but the cost of capability boundaries. It mainly comes from four aspects:

    1. Exploratory localization. In real projects, locating relevant files itself requires multiple rounds of retrieval and reading; the longer the context, the slower each reasoning step.
    2. Verification loops. Builds, static checks, tests, and real-device/emulator runs form a feedback loop, and each round of feedback requires reorganizing the context.
    3. Rollback and retry. Long-horizon tasks have a high failure rate; after a failure, the agent must fall back to the last stable point and repeatedly consume budget.
    4. Context inflation. Historical messages, tool outputs, and log fragments keep accumulating, increasing the input size of each call, so time and cost rise together.

    A simplified model can describe this:

    1. T_total ≈ N_steps × (t_infer + t_tool) × (1 + r_retry)
    2. C_total ≈ N_steps × (c_in + c_out) × (1 + r_retry)

    Here r_retry is the retry amplification factor. The most effective way to reduce time is not to switch to a faster model, but to reduce N_steps and r_retry: break tasks into smaller pieces, move verification earlier, and expose failures as soon as possible.

    4. Agent Architecture: Same Model, Different Results

    A key variable in the public results is that “different agents drive the model.” This shows that, with the same model capability, the scaffold determines how much of that capability is released. A mature coding agent typically has:

    • Tool layer: file read/write, retrieval, command execution, build and test invocation;
    • Memory layer: persistence of task plans, completed steps, and failure reasons;
    • Policy layer: when to continue, when to roll back, and when to ask a human for help;
    • Context governance: on-demand loading, summary compression, and retrieval augmentation.

    A schematic agent main loop:

    1. for step in range(max_steps):
    2. plan = planner.update(goal, history)
    3. action = executor.act(plan) # read files / edit code / run tests
    4. obs = verifier.observe(action) # build and test results
    5. if obs.passed:
    6. return submit(action)
    7. history = compressor.summarize(history, obs)
    8. if budget_exceeded(history):
    9. return escalate_to_human(history)

    The engineering lesson is that making the “verifier” stronger yields more stable gains than swapping in a bigger “generator.” Deterministic build and test feedback is the most effective constraint against an agent “drifting confidently.”

    5. Cost Model: Converting Dollars into Engineering Resources

    The gap between about $317.4 and about $9.9 per run is more than 30x in magnitude. When making technology choices, cost should be broken into three layers:

    • Direct inference cost: input/output token consumption, which grows nonlinearly with context length;
    • Tool and infrastructure cost: the occupied duration of build machines, emulators, containers, and log storage;
    • Human review cost: the time engineers spend reviewing, patching, and running regressions.

    The third layer is often overlooked. If a high-completion approach can compress manual finishing from 2 days to 2 hours, its true total cost may actually be lower. It is advisable for teams to build their own “normalized ledger,” converting all three cost types to “per merged change” before making horizontal comparisons.

    6. Actionable Practices

    1. Tiered task routing. Classify requirements into “draft-level / regular-level / critical-level” and route them respectively to a low-cost fast approach, a balanced approach, and a high-completion approach.
    2. Shift verification earlier. First add a minimal runnable build and test skeleton, then let the agent make changes; this can significantly reduce r_retry.
    3. Budget the context. Set token and step limits for each task; on exceeding them, summarize or escalate to a human.
    4. Commit in small steps. Enforce fine-grained changes and frequent commits to make rollback and localization easier.
    5. Build an internal benchmark. Construct 20–30 long-horizon tasks from your own repositories and track the four-metric baseline over time, so you are not led by external benchmark numbers.
    6. Add observability. Use logging services, monitoring alerts, and metric dashboards to record per-step time and failure reasons, forming a data loop for continuous optimization.

    7. Selection Checklist: A One-Page Decision Table

    • Pursuing one-shot pass, strict acceptance, time-insensitive → choose the high-completion, long-runtime approach;
    • Frequent interaction, requiring instant feedback → choose the low-time approach with manual refinement;
    • Batch migration/conversion tasks → use cost per run as the primary metric and run a small-sample trial first;
    • Critical-path tasks → run both approaches in parallel and take the better one; cost rises but risk drops;
    • Budget-constrained teams → use the low-cost approach as the baseline and invest the saved budget into verification infrastructure.

    8. Conclusion

    The real value of this benchmark update is not a ranking, but putting the trade-offs of “agentic coding” on the table: completion, time, and cost cannot be optimal at the same time, and architecture plus the verification loop are the adjustable levers. For developers, the rational approach is to first clarify where their own scenario sits in the four-metric space, then choose a matching approach, and continuously calibrate with an internal benchmark. With the general capabilities of cloud platforms such as Baidu AI Cloud (for example, container platforms, object storage, logging services, and monitoring alerts), teams can solidify the above verification loop and cost ledger, turning AI coding from “occasionally impressive” into “stable output.”