Android Development Benchmarks: How to Evaluate the Engineering Capability of Coding Agents
This article explains how to read Android-specific coding agent benchmarks and turn the results into practical team decisions. It covers why general code generation tests fall short for real Android delivery, how to interpret the four core metrics (task pass rate, average completion, average runtime, and cost per benchmark run), and what the current capability tiers imply for engineering practice. It also outlines a weighted scorecard for tool selection and four engineering practices—task decomposition with acceptance criteria, automated build and test loops, cost guardrails, and human review checkpoints—that help agents deliver reliably. All example figures are illustrative and drawn from the original discussion.
1. Why Android Development Needs a Dedicated Benchmark
General code generation evaluations tend to focus on single-file, single-function completion and explanation. These tasks have short context and fast feedback, so a model with basic syntax knowledge and familiarity with common APIs can score reasonably well. Real Android delivery is a different matter. A single requirement may span the UI layer, ViewModel, data repositories, dependency injection configuration, and the manifest, while also involving multi-version SDK compatibility, permission declarations, resource references, and build script changes. The time-consuming part of development is not writing one piece of logic, but keeping consistency across dozens of files and iterating through the compile, run, and verify loop.
For this reason, Android-oriented benchmarks design tasks as “long-horizon” work: given an initial project and a natural language requirement, the agent must independently handle work such as app creation, feature development, code migration, and app conversion, then compile, self-test, and fix issues within a limited number of rounds. What is being measured is not “can it write code” but “can it deliver independently.”
2. How to Read the Four Core Metrics
These benchmarks usually publish four numbers, and much of the discussion fixates on pass rate alone. In reality, looking at any single metric in isolation leads to misjudgment.
- Task pass rate: the share of tasks that fully meet the acceptance criteria. It is the strictest and most realistic metric, close to “delivered and accepted on the first attempt.”
- Average completion: the weighted proportion of work finished in tasks that did not pass. It shows “how far off” the result is. A completion of 82% often means only edge issues remain, while 71% may indicate a missing core path.
- Average runtime: wall-clock time from task start to convergence. Long-horizon tasks can take tens of hours, and runtime directly determines whether the pace fits into an iteration cycle.
- Cost per benchmark run: the model invocation cost of running the full benchmark. Together with runtime, it forms the “economics” axis.
Only by putting all four together can you map the real positioning of a tool. For example, one set of publicly shared data shows an agent approach with a pass rate of about twenty-four percent across thirty long-horizon tasks, average completion of about eighty percent, average runtime of about twenty-seven hours, and a cost of about three hundred dollars per run. Another approach shows a pass rate of about seventeen percent, completion of about seventy percent, runtime of about twelve hours, and a cost of under ten dollars. The former is more capable but expensive and slow; the latter trades a lower first-attempt success rate for a significant advantage in speed and cost. This is not a matter of better versus worse, but of different fit for different scenarios.
3. What the Capability Gradient Means for Engineering
The relative positions on the leaderboard reveal a capability gradient: first-tier approaches reach a pass rate close to thirty percent, the second tier sits around a quarter, and the third tier falls below twenty percent. This gradient carries three implications for engineering practice.
First, the absolute pass rate for long-horizon tasks remains low, so any expectation of treating an agent as an “unattended deliverer” needs adjustment. A more reasonable positioning is “high-intensity executor”: humans handle requirement clarification, solution decisions, and acceptance, while the agent takes on large volumes of mechanical, repetitive cross-file changes.
Second, the gap between completion and pass rate is where the optimization space lies. Completion exceeding pass rate by tens of percentage points suggests most failures cluster in the finishing stage—for example, missing manifest configuration, inconsistent resource IDs, or test assertions that were not updated. These are exactly the kinds of problems that engineering measures can catch.
Third, runtime and cost are not linearly related. Approaches with long runtimes often burn many invocations on repeated builds and self-tests, while low-cost approaches usually shorten the exploration path, at the price of stalling midway when facing complex migrations.
4. Applying Benchmark Conclusions to Team Tool Selection
Selection should not chase a single highest score but build a scorecard matched to your own needs. You can score and weight across four dimensions:
- Task shape fit: is the team’s work mostly new app creation, or migration of existing projects and cross-platform conversion? The latter demands more in context length and refactoring capability.
- Economics: estimate with “expected cost per task = cost per run ÷ pass rate,” then multiply by monthly task volume to get a comparable budget range.
- Pace tolerance: for scenarios that need hour-level feedback, prefer approaches with shorter runtimes and place long-runtime approaches in an overnight batch queue.
- Control and compliance: whether private or dedicated network deployment is supported, whether logging and auditing are complete, and whether data is used for training—these often matter more than a few percentage points of pass rate.
An illustrative weighted evaluation can be written in a very simple form:
def score(candidate, weights):# pass_rate/completion: 0~1; hours/cost: normalized positive scoresreturn (weights["pass"] * candidate.pass_rate+ weights["done"] * candidate.completion+ weights["speed"] * candidate.speed_score+ weights["cost"] * candidate.cost_score+ weights["govern"] * candidate.governance_score)
Weights should be determined by the nature of the business: core paths serving external customers can raise the weight on governance and pass rate, while internal tools and one-off scripts can amplify the weight on speed and cost.
5. Four Engineering Practices for Reliable Agent Delivery
Task decomposition with acceptance criteria defined upfront. Rewrite “build a check-in feature” into a task list with acceptance conditions: add the data table and migration script, implement the repository layer interface, wire up UI state, add unit tests, and update permission declarations. Clear acceptance conditions give the agent a definite convergence target.
Task: add offline cachingAcceptance:1) On first launch, fetch remote data and write it locally;2) When offline, read from cache and show a notice;3) Cache expiry time is configurable;4) All related unit tests pass.
Automated build and test loops. The greatest value of an agent comes from “being able to discover its own errors.” Configure one-click build, static checks, and test scripts for the project so the agent automatically gets feedback after each round of changes, which significantly reduces manual rework. CI pipelines, code quality gates, artifact repositories, and logging services are all common building blocks here.
Cost guardrails. Set round limits, timeouts, and budget circuit breakers for long-horizon tasks, and output the current progress and a list of unfinished items when a limit is exceeded rather than continuing to consume budget. Scheduling high-cost tasks to idle periods and using queues and container platforms for elastic scaling are standard ways to control the bill.
limits:max_rounds: 40timeout_minutes: 180budget_usd: 5.0on_exceed: return_progress_report
Human review checkpoints for collaboration. Enforce mandatory human review at three high-risk points: data layer changes, permission and privacy-related changes, and build script upgrades. Allow automatic merging for the rest. Combined with monitoring alerts and canary releases, this stops problems before they affect users.
6. Common Pitfalls
- Looking only at pass rate and ignoring completion, which underestimates output that is “a small change away from usable.”
- Inferring long-horizon capability from short-task evaluation results; the correlation between the two is limited.
- Ignoring hidden costs, including manual review, rework, and pipeline resource consumption.
- Not giving the agent a feedback channel, so it keeps stacking changes on top of an erroneous state.
7. Conclusion
Android development coding benchmarks essentially turn “software engineering maturity” into quantifiable metrics: pass rate measures delivery certainty, completion measures remaining work, and runtime and cost measure sustainability. For teams, the more pragmatic path is to clarify their own task profile, complete selection with a weighted scorecard, and then use task decomposition, automated feedback, cost guardrails, and human review to reliably convert agent capability into engineering output. To host these pipelines, general capabilities such as the container platform, object storage, logging service, and monitoring alerts on Baidu AI Cloud are sufficient to build the setup, with no need to bind to a specific proprietary solution.
