Android Development Benchmark Update: Balancing Capability and Cost on Long-Horizon Tasks
A recent update to an Android development benchmark includes public comparison results for three mainstream AI coding agents. Because the benchmark comes from an official developer platform for a mobile operating system ecosystem, its task set closely mirrors real engineering work: app creation, feature development, code migration, and app form-factor conversion. This article breaks down the four reported metrics—pass rate, average completion, average wall-clock time, and cost per run—and explains why capability, time, and cost form an impossible triangle. It also covers what each metric actually measures, the engineering trade-offs behind a "high completion, long duration" profile, a five-step approach to building a reproducible internal evaluation, general tactics for cutting cost without losing quality, and practical guidance for choosing between "fast and cheap" and "slow but thorough" agents.
1. What the Benchmark Update Signals
A recent update to an Android development benchmark includes public comparison results for three mainstream AI coding agents for the first time. Because the evaluator is the official developer platform of a mobile operating system ecosystem, its task set naturally reflects real engineering scenarios: app creation, feature development, code migration, and app form-factor conversion. The biggest difference from algorithm competition problems is the long-horizon nature of the work—a single requirement often spans multiple rounds of file reads and writes, dependency resolution, build verification, and runtime debugging, and any deviation along the way propagates to later steps.
The public data can be summarized across four dimensions: pass rate, average completion, average time, and cost per benchmark run. The best-performing agent reached a pass rate of 28.7%. One high-completion approach achieved a 24.0% pass rate across 30 long-horizon tasks, with 82.3% average completion, 27.4 hours average time, and about $317.4 per run. A lightweight approach achieved a 17.3% pass rate, 71.2% average completion, 12.0 hours average time, and about $9.9 per run.
Put together, the most important takeaway is not “which one is stronger,” but that capability, time, and cost form an impossible triangle. Pass rate and completion measure how correct the output is; time and cost measure how fast and cheap it is. All four cannot be optimal at the same time. The real question for an engineering team is where to spend the budget under its own business constraints.
2. What the Four Metrics Actually Measure
2.1 Pass Rate: End-to-End Deliverability
Pass rate is the proportion of tasks that pass all acceptance checks, typically requiring a successful build, working functionality, and no regressions in existing tests. It is the only hard metric tied directly to delivery, and it is also the easiest to misread: a 24% pass rate does not mean the other 76% produced nothing—it means those tasks did not fully clear the acceptance bar.
2.2 Average Completion: Continuous Progress Quantification
Completion is a partial score for tasks that did not pass, used to distinguish “finished 90% and missed one boundary condition” from “stalled right after scaffolding the project.” High completion paired with a low pass rate suggests the approach tends to fail in the later stages of long-chain tasks, with typical failure points including configuration drift, incorrect resource references, and improper lifecycle handling.
2.3 Average Time: Wall-Clock Time for Long-Horizon Tasks
The gap between 27.4 hours and 12.0 hours is essentially a gap in the number of self-check loops. Each round of “modify—build—read logs—modify again” costs real wall-clock time. The longer the task, the more loops, and the time grows non-linearly.
2.4 Cost per Run: A Combined Bill for Tokens and Infrastructure
Cost is not just model invocation fees; it also includes build machines, emulators, log storage, and network transfer. The roughly 32x gap between about $317 and about $9.9 comes from both unit-price differences and the multiplier effect of loop count.
3. The Engineering Trade-Off Behind “High Completion, Long Duration”
This combination is not a defect but the inevitable cost of a deep self-checking strategy. Its execution skeleton can be expressed in pseudocode:
def solve(task, budget):state = init_workspace(task)while not budget.exhausted():patch = plan_and_edit(state) # planning and editsresult = build_and_run(state) # build, run, collect logsif result.passed_all_checks():return deliver(state), "pass"state = refine(state, result.logs) # refine based on failure signalsbudget.consume(result.wall_clock, result.cost)return state, "partial" # high completion but not passing
Three points matter. First, stricter verification means more loops; the benefit is higher completion, the cost is time and money. Second, the quality of failure signals determines convergence speed; noisy logs lead to repeated trial and error. Third, long-horizon tasks accumulate errors; without intermediate checkpoints, mistakes surface all at once in the later stages. So “slow but thorough” fits one-off, high-value migration tasks that tolerate long cycles, while “fast and cheap” fits incremental work that is high-volume and can be backed up manually.
4. Building a Reproducible Internal Evaluation
External leaderboards only provide direction; real decisions require your own baseline. A five-step approach:
- Layer the task set: split requirements into new builds, feature increments, migrations, and form-factor conversions, each with a set proportion, so conclusions are not amplified by a single type.
- Fix acceptance criteria: use a passing build, passing core cases, and no regressions as hard gates, with completion as a secondary score.
- Cap the budget: set a maximum number of rounds, maximum wall-clock time, and maximum spend per task so a few tasks cannot consume all resources.
- Sample multiple times: long-horizon tasks have high variance; run at least three times and take the mean and percentiles to avoid being misled by a single result.
- Attribute failures: classify failures into environment, dependencies, context, and spec understanding to form an iterable improvement list.
An illustrative metrics summary structure:
{"task_id": "migration_017","pass": false,"completion": 0.823,"wall_clock_hours": 27.4,"cost_usd": 317.4,"failure_class": "context_limit"}
5. Four General Ways to Cut Cost and Improve Efficiency
- Tiered model routing: route simple changes to the lightweight approach and complex migrations to the high-capability approach to flatten the cost curve.
- Context engineering: feed only relevant files and failure logs, compress irrelevant content, and reduce wasted rounds.
- Caching and reuse: cache dependencies, build artifacts, and index results to cut repeated build time.
- Parallelism and gates: run multiple tasks in parallel and use quality gates to block low-completion output, avoiding spillover into manual rework.
On the infrastructure side, container platforms handle isolation and elastic scaling, object storage holds workspace snapshots and artifacts, message queues decouple long-task scheduling, and logging services with monitoring and alerting provide full-chain observability. Baidu AI Cloud can support agent engineering across these general capability categories, helping teams standardize both evaluation and production processes.
6. Selection Advice and Common Pitfalls
Work backward from business constraints: if the budget is tight, requirements are fragmented, and manual fallback is possible, prioritize “fast and cheap”; for one-off migrations with high compliance requirements and costly failures, prioritize “slow but thorough.” Three common pitfalls: looking only at pass rate and ignoring completion, which underestimates reusable output; looking only at unit price and ignoring the loop multiplier, which blows the budget; and using an external leaderboard in place of an internal baseline, which leaves conclusions disconnected from your own codebase.
Overall, the value of the leaderboard is turning “agents doing engineering” from subjective impressions into quantifiable comparison. What teams need to build up is a layered task set, clear acceptance criteria, budget guardrails, and a failure-attribution mechanism—that is the reliable path from benchmark scores to delivery capability.
