Mobile App AI Coding Benchmark Update: What a Doubled Pass Rate Means
The latest mobile-app AI coding benchmark update shows a substantial jump in one model’s ability to complete end-to-end tasks, with its pass rate doubling from 12.0% to 24.0%, average completion reaching 82.3%, and lower per-run time and cost. This article breaks down the key metrics, explains why high completion does not guarantee high pass rates, compares pass rates and costs with different accounting methods, and outlines practical steps for teams: building representative internal evaluation sets, using isolated sandbox environments, automating metric collection, and applying layered model routing with validation and human review.
1. Core Signals from the Benchmark Update
A recent benchmark focused on mobile app development has completed a new version iteration. The updated leaderboard includes results from several newer large language models.
The most notable change comes from one evaluated model, referred to here as Model A, when compared with its previous generation, referred to as Model A-1:
- Pass rate doubled: Model A’s task pass rate reached 24.0%, compared with 12.0% for Model A-1, a relative improvement of 100%.
- High average completion: Model A’s average task completion reached 82.3%, placing it sixth on the long-horizon task leaderboard.
- Faster iteration: The average time to complete one full evaluation run dropped from 66.2 hours to 27.4 hours, a reduction of about 59%.
- Lower cost: The average cost per run dropped from USD 418.3 to USD 317.4, a reduction of about 24%.
Other positions on the leaderboard also provide useful reference points:
- Model B, positioned around lightweight and cost-effective performance, achieved a pass rate of 17.3%, with an average runtime of 12.0 hours and a cost of only USD 9.9 per run.
- Model C ranked first with a pass rate of 40.0%.
These numbers can be summarized in one sentence: in mobile coding tasks that are closer to real engineering scenarios, large models are improving rapidly at independently completing work, but overall they still require substantial human involvement.
The sections below focus on two questions:
- How should teams read benchmarks like this?
- How can the results be translated into engineering decisions?
2. Four Core Metrics and the Questions They Answer
Evaluating AI coding capability usually involves the following four metrics:
| Metric | Question it answers | Key reading point |
|---|---|---|
| Task pass rate | How many tasks can the model deliver independently and completely? | Reflects end-to-end usability and directly indicates the upper bound of capability |
| Average task completion | How far are failed or non-passing tasks from being complete? | If completion is much higher than pass rate, the weakness is concentrated in a small number of difficult tasks |
| Average duration of one run | How long does one evaluation run take? | Determines regression frequency and feedback speed |
| Average cost of one run | How much does one evaluation run cost? | Determines whether evaluation can be scaled and run routinely |
Task Pass Rate
During a complete evaluation run, only tasks that fully meet the acceptance criteria are counted as passed. These tasks usually need to pass automated checks such as compilation, unit tests, and static analysis at the same time.
This metric measures end-to-end delivery capability rather than the quality of isolated code snippets.
Average Task Completion
The industry does not have a unified definition of “partial completion.” A common approach is to score each acceptance point or assertion within a task and then take the average. Because benchmarks differ in how they define and measure partial completion, direct comparisons across leaderboards should be made cautiously.
However, within the same benchmark, comparing completion with pass rate can be highly informative.
Average Duration of One Run
This refers to the average time required to complete one full evaluation run, not the time for a single task. Runtime directly affects whether the benchmark can be included in routine regression testing.
Average Cost of One Run
This is usually derived from inference invocation costs. It is influenced by factors such as the number of calls, input and output token volume, and retry strategies.
Also, leaderboard positions can change as benchmark versions and task sets are adjusted. The ranking itself has limited long-term value. More attention should be paid to:
- The relative gap between models of the same generation.
- The magnitude of improvement between old and new versions.
3. Reading the Data: Three Seemingly Conflicting Numbers
3.1 The Pass Rate Doubled, but the Absolute Level Is Still Below 30%
A pass rate of 24.0% means that fewer than one in four tasks can be independently and completely delivered by the model.
Even the top-ranked model, at 40.0%, still fails to complete 60% of tasks within a single run.
This suggests that current AI coding tools are better positioned as a “high-throughput junior executor” rather than an “autonomous owner” that can be handed work without supervision.
3.2 Average Completion of 82.3% Is Much Higher Than the 24.0% Pass Rate
This contrast reveals a key fact: models are not usually failing because they cannot solve most tasks. Rather, many tasks are close to completion but miss the final step.
Imagine 100 coding tasks with clearly defined acceptance points. The model may correctly complete about 82 of them on average, but only about 24 tasks pass fully. The gap is roughly 58 percentage points.
The causes are often concentrated in the following “last mile” issues:
- Boundary and exception handling: Empty values, out-of-range access, race conditions, network failures, and other edge branches are not covered.
- Misunderstanding of interface contracts: Parameter meanings, return value conventions, and version compatibility do not match actual expectations.
- Missing implicit requirements: Code style conventions, performance constraints, and testability requirements may not be explicitly stated.
- Incomplete cross-module changes: The main call path may be modified, while related configuration, compatibility branches, or accompanying tests are missed.
These defects usually share one characteristic: the manual cost of fixing them is often not high, but someone must intervene at the right place.
3.3 Cost Decreased, but Cost per Hour Increased
Model A-1 costs about USD 6.3 per hour of evaluation time (418.3 ÷ 66.2), while Model A costs about USD 11.6 per hour (317.4 ÷ 27.4), approximately 1.8 times the previous generation.
In other words, Model A trades faster inference speed for a lower total cost per run.
Another measurement better reflects practical value:
- Using “delivering one successful task” as the unit, Model A-1 has an expected cost of about USD 3,484 (418.3 ÷ 12.0%).
- Model A has an expected cost of about USD 1,322 (317.4 ÷ 24.0%), only about 38% of the previous generation.
So, although one evaluation run still costs more than USD 300, when measured by cost per successful task, Model A’s cost has dropped by more than 60%.
Similarly, if Model B, with an independent completion rate of only 17.3%, were used to replace Model A, the average number of attempts required to complete the same batch of tasks would increase from about 4.2 to about 5.8.
4. Why Coding Benchmarks Should Not Be Used Like Simple Leaderboards
The value of benchmarks lies in providing reproducible and comparable references. However, using benchmark results directly as selection conclusions has several inherent limitations.
4.1 Task Distribution May Not Match Real Requirements
Benchmark tasks are usually pre-constructed problems with clear acceptance criteria.
Enterprise requirements, by contrast, often involve constraints from historical codebases, coupled business rules, and implicit requirements communicated verbally.
A leaderboard pass rate is therefore more like a reference for the upper bound of capability. Real-world performance is usually lower than the benchmark number.
4.2 Evaluation Environments Cannot Fully Cover Real Engineering Constraints
Dependency conflicts, compilation time, permission limits, and branch strategies may all cause additional failures in real environments. These factors are difficult to reproduce in an isolated evaluation sandbox.
4.3 Cost Accounting Is Not Uniform
Benchmark costs usually count only model invocation fees. They often exclude hidden costs such as failed retries, manual review, rework, and integration debugging.
For models with limited pass rates, these hidden costs can make up a significant share of total investment.
4.4 Single-Run Results Can Fluctuate
Generative models are stochastic. The same task may produce different results in different runs.
Single-run leaderboards are therefore better suited for observing differences in magnitude rather than over-interpreting differences in decimal places.
A more reasonable approach is to use the benchmark as an initial screening signal, then validate with the organization’s own representative task set.
5. How Enterprises Can Build Their Own AI Coding Evaluation Set
Drawing on the idea of long-horizon, end-to-end evaluation, enterprises can build an evaluation system for their own codebases at relatively low cost. The process can be divided into four steps.
Step 1: Build a Representative Task Pool
- Use real sources: Select desensitized tasks from historical requirements, bug tickets, and code review comments. Cover categories such as new feature development, bug fixes, refactoring, and test completion.
- Design by difficulty tier: Divide tasks into simple, medium, and complex tiers. For example, “changing the default value of a configuration item” could be a simple task, while “introducing a new capability across multiple modules” could be a complex task. This helps reveal pass rate differences across difficulty levels.
- Make acceptance criteria verifiable: Each task should have a clear way to determine success, such as automated tests, successful compilation, or no new static analysis warnings.
- Keep the initial scale manageable: Starting with 20 to 50 tasks can be enough to produce meaningful statistics. The pool can be expanded later.
Step 2: Isolate the Runtime Environment
Each task should run in an independent and resettable environment.
For example, teams can use a container platform to launch disposable task sandboxes and restrict access to specific code repositories and network permissions.
This helps ensure reproducibility and prevents mistakes during evaluation from affecting real codebases.
Step 3: Define Metrics and Automate Aggregation
In addition to pass rate and completion rate, teams should also record runtime, cost, and the average number of interaction rounds.
A simple script can be used to aggregate structured results:
def aggregate(results):"""Aggregate results from one evaluation run.results: a list of records, for example:{"task_id": "t001", "passed": True, "completion": 1.0,"duration_hours": 0.8, "cost_usd": 2.3}"""n = len(results)passed = sum(1 for r in results if r["passed"])total_cost = sum(r["cost_usd"] for r in results)total_hours = sum(r["duration_hours"] for r in results)return {"pass_rate": passed / n, # task pass rate"avg_completion": sum(r["completion"] for r in results) / n, # average task completion"avg_duration_hours": total_hours / n, # average duration of one run"avg_cost_usd": total_cost / n, # average cost of one run"cost_per_pass_usd": total_cost / passed if passed else None, # cost per successful task"cost_per_hour_usd": total_cost / total_hours if total_hours else None, # cost per hour}
Step 4: Run Regular Regression Evaluation
Once the task pool, acceptance scripts, and runtime parameters are fixed, the evaluation should be rerun automatically after model version upgrades or toolchain updates.
Results should be compared with historical data.
Only by building a continuous data curve can teams determine whether an upgrade represents a real capability improvement or simply a chance result from a single sample.
6. Balancing Cost and Quality with Layered Routing
Comparing Model A with Model B shows that different models occupy different positions on the quality-cost curve:
- Lightweight models, such as Model B: Their cost per run is only about 3% of Model A’s, and runtime is less than half. They are suitable for tasks with clear boundaries, such as configuration changes, copy modifications, log troubleshooting, and simple bug fixes.
- Balanced models, such as Model A: They offer a relatively balanced pass rate and cost, making them suitable for routine feature development and bug fixes.
- Flagship models, such as Model C: They have the highest pass rate and are suitable for high-risk tasks such as architectural changes and complex refactoring.
Based on these differences, teams can implement task-based routing in internal coding workflows:
def route(task):"""Select a model tier based on task complexity."""if task.complexity in ("low",) and task.cross_module is False:return "lightweight_model" # simple, single-module tasks: prioritize cost and speedif task.complexity == "high" or task.cross_module:return "flagship_model" # complex or cross-module tasks: prioritize pass ratereturn "balanced_model" # routine tasks: balance quality and cost
Combined with a dual gate of automated validation and human review, this can form a practical efficiency workflow:
- Simple tasks are generated directly by lightweight models.
- All outputs go through automated checks such as compilation, unit tests, and static analysis.
- Tasks that fail validation are regenerated with failure logs attached. A maximum retry count should be set to prevent cost runaway.
- Code that passes validation still needs to enter human review, with particular attention to business semantics, boundary handling, and security risks.
This approach captures the benefits of high average completion while keeping the risks of limited pass rates within a manageable range.
7. From Benchmarks to Implementation: Key Takeaways
A benchmark is a trend signal, not a selection conclusion.
A doubled pass rate shows that capability iteration is accelerating, but a pass rate below 30% is also a reminder that human engineers remain essential for quality assurance.Understand the gap between completion rate and pass rate.
High completion means a large amount of “last mile” work remains. This is exactly where human-AI collaboration can create the most value.Compare costs using the right metrics.
Metrics such as “cost per successful task” and “cost per hour” are often more meaningful than comparing total cost per run alone.Build an internal evaluation set.
Using real tasks as samples and making evaluation automated, reproducible, and regression-friendly allows technology decisions to be based on the organization’s own data.Use layered routing to balance quality and cost.
Matching different model tiers to tasks of different complexity, together with automated validation and human review, is a pragmatic implementation path at this stage.
At the engineering and infrastructure level, this type of evaluation and practice can make use of general cloud capabilities:
- Container platforms can be used to build isolated and resettable evaluation sandboxes.
- Object storage can be used to store task sets, execution records, and generated artifacts.
- Logging, monitoring, and alerting services can continuously track runtime and cost changes.
- Message queues can be used for asynchronous scheduling of long-running tasks.
In this context, Baidu AI Cloud provides relevant capabilities across containers, storage, logging and monitoring, and messaging, as well as AI development-related tooling. These capabilities can help enterprises integrate AI coding practices into their existing development systems and turn technical upgrades into measurable and sustainable engineering efficiency.
