Mobile Coding Agent Benchmarks Upgraded: After Pass Rates Double
A recent public benchmark for mobile app development coding capabilities refreshed its leaderboard, with several coding models appearing for the first time. In the latest results, some models achieved several-fold gains in pass rate on long-horizon tasks versus the previous generation, average per-run latency dropped noticeably, and average cost also declined—though a significant gap remains between top- and bottom-tier models. This article explains the four core metrics behind these benchmarks, why long-horizon mobile coding tasks are hard, how to read a "doubled pass rate," why falling latency doesn't always mean falling cost, and how to build a reproducible private evaluation set. It's a practical guide to turning leaderboard numbers into engineering decisions.
Recently, a public coding capability benchmark focused on mobile application development completed a new round of leaderboard updates, with several coding models appearing on the list for the first time. In the latest results, some models achieved several-fold increases in pass rate on long-horizon tasks compared with the previous generation, average per-run latency dropped noticeably, and average cost also declined—though a significant gap remains between top-tier and bottom-tier models. For development teams, these leaderboards are worth watching, but a “doubled pass rate” does not mean the tasks can be handed off to an agent for fully independent completion. This article covers five areas—the metric system, the challenges of long-horizon tasks, pitfalls in reading leaderboards, cost accounting, and building your own evaluation—to help readers turn leaderboard conclusions into practical engineering decisions.
1. Four Core Metrics, Each Answering One Question
Public coding benchmarks are typically built around long-horizon tasks. The original requirements for these tasks often come from real-world bug reports, feature descriptions, or dependency-upgrade notes, and the model must complete localization, modification, verification, and delivery within an isolated environment. The four most frequently cited metrics are:
- Task pass rate: The share of tasks that fully meet all acceptance criteria under the specified conditions (e.g., a single run, a limited number of rounds). It answers “can it get it right” and serves as the threshold metric for capability.
- Average task completion: Failed tasks are not worthless—code changes, problem localization, and added tests all have value. Completion measures how far a task progressed relative to completion and answers “how far is it from being correct.”
- Average latency per run: The actual elapsed time from when a task is dispatched to when a result is produced, covering model inference, tool execution, and build/test waiting. It answers “how long do I wait.”
- Average cost per run: The inference cost consumed to complete one full evaluation round. It answers “how much does it cost.”
Beyond these, a sound evaluation system should also consider:
- Stability: Whether results are consistent across multiple runs of the same task.
- Long-tail performance: 90th- and 95th-percentile latency, reflecting the worst-case experience.
- Human takeover rate: The share of tasks that require human intervention midway, which directly affects operational burden after launch.
Combinations of metrics are more informative than any single number:
- A model with a 30% pass rate and 95% completion means most tasks are only missing the “last mile” and may be deliverable with a local fix.
- A model with a 40% pass rate and 55% completion means a substantial share of tasks drift off course midway and are hard to recover.
2. Why Long-Horizon Coding Tasks Are Especially Hard
Mobile projects tend to be dependency-heavy, with long build chains and strict requirements on versioning, signing, and environment consistency. Such tasks escalate from single-function completion to multi-step engineering work spanning multiple files and modules. The challenges concentrate in the following areas.
Context degradation. A long-horizon task may include requirement clarification, code retrieval, solution design, file-by-file modification, build verification, and bug fixing, with dozens of interaction rounds. As the session grows longer, early critical constraints are easily “diluted,” and the model may gradually drift away from the original requirement. Meanwhile, large numbers of source files and build logs crowd the context, so the truly critical error messages can end up buried.
State drift. A codebase is a stateful object; every “modify file” or “run test” operation changes the repository state. If the model’s understanding of the state diverges from reality (e.g., proposing a change based on an outdated version of a file), it will make edits that look reasonable but cannot actually be applied.
Error accumulation and fixed thinking. Any deviation in a long task means later steps may be built on a false premise. Worse, once a model forms a wrong conclusion, it tends to keep patching that conclusion rather than scrapping it and starting over.
High verification cost. Verifying mobile projects depends on dependency downloads and simulator or real-device environments; building and installing can take several minutes. Verification that is too light misses problems, while verification that is too heavy greatly extends per-task latency and may mask the model’s own defects.
So a higher pass rate reflects a higher “proportion of tasks completed correctly,” not that every step is more reliable. Only by combining process metrics with outcome metrics can you accurately judge the boundaries of a model’s capability.
3. Reading a “Doubled Pass Rate”: Four Things to Watch
Check the baseline. If the previous generation’s pass rate was itself low, the doubled absolute value may still be limited. For critical business, a 70% pass rate and a 90% pass rate correspond to two entirely different modes of human-AI collaboration: the former is better suited to “generation plus human review,” while only the latter is a candidate for evolving toward “automated execution plus sampling-based review.”
Check the test methodology. A single run versus taking the best of multiple attempts, whether human feedback and corrections are allowed, and whether build-environment setup time is counted all significantly affect the pass rate. Cross-version comparisons must use a consistent methodology, otherwise the “doubling” may just be a change in how the statistic is calculated.
Check the task distribution. Average pass rates mask differences between task types. Bug fixes, feature implementation, dependency upgrades, and code refactoring each have different difficulty profiles, and the breakdown often says more about what scenarios a model suits than the overall ranking does.
Check the failure reasons. Whether failures concentrate in requirement misunderstanding, incorrect code changes, verification getting stuck, or excessive latency determines whether the next improvement is tuning prompts and task decomposition strategies, or switching tools or models.
4. The Cost Bill: Why Falling Latency and Falling Cost Don’t Move Together
Inference cost is usually calculated from token usage—input, output, and cache hits—each at its own unit price. Mobile projects have large source files, dependency manifests, and build logs, and when a long-horizon task repeatedly reads this content, input token consumption is often far higher than the output tokens of the final code produced.
A further look shows that task cost can be split into the cost of a single attempt and the number of attempts:
Task cost ≈ cost per attempt × number of attempts
- Shorter latency may come from fewer effective inferences or from less repeated work (unproductive exploration, repeated builds); these two do not necessarily affect the bill in the same proportion.
- If a task needs multiple retries to pass, the average cost rises accordingly.
- Some inference services offer a prompt-caching mechanism, under which repeatedly read context is billed at a discounted rate. Whether the cache is hit also affects the final bill.
The table below uses hypothetical data to show that “lowest unit price” does not mean “lowest total cost.” In the table, cost per attempt = cost per passed task × pass rate, and multi-round pass cost = cost per attempt ÷ (1 − (1 − pass rate)^3).
| Model | Pass rate | Cost per passed task | Avg cost per attempt | Multi-round pass cost (up to 3) |
|---|---|---|---|---|
| A | 40.0% | 20.0 | 8.0 | 8.6 |
| B | 24.0% | 10.0 | 2.4 | 2.7 |
| C | 17.3% | 3.0 | 0.5 | 0.7 |
| D | 12.0% | 4.0 | 0.5 | 0.8 |
As shown, Model D’s per-attempt cost is close to Model C’s, but its multi-round pass cost is actually higher. When choosing an approach, put “task pass rate,” “total cost to complete a passed task,” and “the rework cost after failure” in the same table for comparison, then weigh speed against quality for the specific scenario.
5. From Leaderboard to Practice: Building Your Own Evaluation in Five Steps
General leaderboards often have a task distribution that diverges from a team’s real business. Teams are advised to build a small, sustainable private evaluation set around their own projects.
1. Environment isolation and reproducibility. Run each task in a separate container, using a unified dependency cache and base image. Check out the code from the same baseline commit on every run, and restrict network access to avoid external dependency fluctuations affecting results. Containerized execution environments can be set up using container products from cloud platforms such as Baidu AI Cloud, with access control and resource quotas providing isolation between tasks.
2. Task layering. Sample tasks in layers by type and difficulty, for example:
- Single-file bug fix (easy);
- Cross-module feature implementation (medium);
- Dependency upgrade and build adaptation (hard);
- UI automation test supplementation (easy).
Each task is paired with a hidden test set, human review criteria, and an expected scope of changes.
3. Automated judgment. Use the hidden-test pass rate as the hard metric, supplemented by static checks, change-scope constraints, and build success rate. Change-scope constraints prevent the model from “gaming” tests through large-scale rewrites; parts that cannot be judged automatically are handed to human review for scoring.
4. Execution pipeline. A scheduler handles task distribution, timeout, and budget control; an executor handles environment setup, interaction, and acceptance; and results are archived uniformly. Reference pseudocode:
# Evaluation pipeline reference pseudocodedef run_task(task, agent):repo = prepare_env(task.base_commit) # Check out the baseline commit and initialize the dependency cachetranscript = []tokens = {"input": 0, "cached": 0, "output": 0}for step in range(task.max_steps):if step >= task.max_steps or used_tokens(tokens) >= task.token_budget:return Result("BUDGET_EXCEEDED", repo, transcript, tokens)action = agent.next_action(task.spec, repo, transcript)outcome = execute(action, repo) # Restricted execution: file changes, builds, tests, etc.transcript.append((action, outcome))tokens = accumulate(tokens, outcome.usage)verdict = verify(repo, task.hidden_tests)return Result(verdict, repo, transcript, tokens)# Cost accounting: measured per passed task, not per single rundef cost_per_passed(stats, price):return sum((r.tokens["input"] - r.tokens["cached"]) * price.input+ r.tokens["cached"] * price.cached+ r.tokens["output"] * price.outputfor r in stats.runs) / max(stats.passed_count, 1)
5. Periodic regression. After a model version or prompt-strategy change, rerun the evaluation set and record trend curves for pass rate, completion, latency, and cost, forming a traceable basis for model selection.
6. Interpreting Results and Engineering Guardrails
Interpreting results. The end of an evaluation is not the endpoint; attributing failed tasks is the most valuable part:
- Check whether the “test tampering” phenomenon occurred, i.e., the model modified or deleted existing test cases;
- Check whether changes went out of bounds, i.e., the scope of modification clearly exceeded the requirement boundaries;
- Combined with the latency distribution, pinpoint whether the task got stuck in retrieval, modification, or verification.
These conclusions guide follow-up optimization better than the pass rate itself.
Engineering guardrails. Even when a model reaches a high pass rate, the following measures should still be in place when going to production:
- Budget caps: Limit the token usage, interaction rounds, and execution time per task.
- Change review: All changes enter human review through merge requests, with human oversight kept on critical paths.
- Process traceability: Fully log tool calls and intermediate artifacts for review and auditing; related data can be stored in object storage for long-term archival.
- Quality gates: Build hidden tests and static checks into the CI pipeline as a precondition for merging.
- Monitoring and alerting: Set thresholds for task success rate, average latency, and cost spikes, and use monitoring and alerting to catch problems promptly.
In addition, pass-rate statistics are inherently subject to fluctuation. When the number of tasks is small, the success or failure of just one or two tasks can noticeably shift the ranking. When reading leaderboards, also pay attention to sample size and confidence intervals, and avoid mistaking noise for a trend.
7. Conclusion
In the new round of public evaluations, pass rates rose several-fold while latency and cost dropped together, indicating that intelligent coding tools are moving from “being able to write a piece of code” toward “being able to complete a class of tasks.” But a leaderboard measures average performance on a specific task set and will still diverge when mapped to a particular project. For developers, a more pragmatic approach is to:
- Compare pass rate, completion, latency, and cost along the same dimension;
- Build a reproducible private evaluation set around real business;
- Back model capability with an engineering system that is observable, rollback-capable, and reviewable.
Only then can the numbers on the leaderboard be turned into real gains in R&D efficiency.
