AI Coding Leaderboards, Decoded: How Long-Horizon Mobile App Evaluation Actually Works
A new round of AI coding benchmarks aimed at mobile application development shows the top models roughly doubling their long-horizon task pass rate — from about 10% to about 20% — while average time per round and cost both drop significantly. Yet the gap between the leaderboard leader and the second tier still exceeds 15 percentage points, and mid-to-low-priced models remain strong on cost. This article unpacks the evaluation methodology behind these rankings: why mobile app development is such a demanding test bed for long-horizon tasks, what the four core metrics each measure, how to build a scorecard aligned with your own codebase, and which engineering levers actually move end-to-end pass rates. It also covers governance, common misreadings, and how to turn leaderboard methodology into a repeatable internal measurement system.
AI Coding Leaderboards: What Mobile App Long-Horizon Evaluation Really Measures
A fresh round of updates has landed for AI coding benchmarks targeting mobile application development. Compared with the previous generation, top-tier models have roughly doubled their long-horizon task pass rate — from around 10% to around 20% — while average time per round and cost have both dropped noticeably. At the same time, the gap between the leaderboard leader and the second tier is still more than 15 percentage points, and mid- and low-priced models stand out on cost.
These leaderboards usually get flattened into a single question: “which model is stronger?” Behind that question, though, is an evaluation methodology designed specifically around the engineering realities of mobile app development. Understanding that methodology is what turns a ranking into an engineering judgment your team can actually act on.
1. The Paradigm Shift: From Code Completion to Long-Horizon Delivery
1.1 The limits of traditional code evaluation
Early code capability benchmarks were built mainly around function-level problems, typically in the form of “given a function signature and a few test cases, complete the function body.” Such tasks take seconds to a few minutes, keep context inside a single file, and produce an unambiguous pass or fail. They measure syntax fluency and common algorithm knowledge effectively, but they leave clear gaps when it comes to real engineering work:
- Real requirements span multiple files and touch UI, business logic, data, and resources.
- Feedback signals are sparse — often nothing more than “did the build succeed” or “did the scenario pass.”
- Failure causes usually sit somewhere in the middle of a long chain, which makes root-cause analysis expensive.
1.2 Why mobile app development is a natural fit for long-horizon evaluation
Compared with backend services or data-processing scripts, mobile app development has several distinctive characteristics that happen to form a stress test for long-horizon capability:
- Long build chains, tight resource constraints. A change must pass through dependency resolution, resource compilation, code compilation, and packaging and signing, while also coping with device fragmentation, screen adaptation, permission requests, and offline or weak-network conditions.
- Changes ripple outward. A one-line edit can simultaneously affect layout, theming, state management, and the data layer, and compilation errors often cascade along module boundaries.
- Verification is expensive. A single build can take tens of seconds to several minutes, and UI verification still has to run on a simulator or a real device. The cost of one failed attempt is far higher than for a single-file task.
For exactly these reasons, a new class of benchmark has emerged. It asks the system under test to work autonomously inside an open repository: read the code, install dependencies, run builds and tests, repair problems based on logs, and keep iterating over multiple rounds until the acceptance criteria are met. These tasks often take hours, and sometimes tens of hours, which is why the industry generally calls them long-horizon tasks.
2. Reading the Leaderboard: What Each of the Four Core Metrics Answers
2.1 Task pass rate: a strict end-to-end standard
Pass rate is the share of tasks that satisfy every acceptance condition. That typically means the build succeeds, static checks report nothing blocking, automated tests and key scenario tests all pass, and no files marked as off-limits were modified and no security violations were introduced. It is a veto-style metric: no matter how much of the task was completed, if the final step fails, the task still counts as not passed.
2.2 Average task completion: a measure of process progress
Completion describes how far each task was pushed, averaged at task granularity. It is more forgiving than pass rate and useful for observing process capability, but it is easy to misread. Two systems can post the same completion score while behaving very differently:
- One finishes a small number of high-value tasks and only skims the surface of the rest.
- The other pushes every task close to the finish line but keeps losing ground at the last step.
2.3 Average time per round and average cost per round: TCO decides whether you can scale
Time and cost feed directly into total cost of ownership. The total investment in a long-horizon task includes model invocation fees, but also build and test environment and device occupancy, the sunk cost of failed retries, and human fallback when it is needed. For a team, the question worth answering is not “can this be built at all,” but “can it be built in batches within an acceptable budget and cycle time.”
2.4 How to read the numbers correctly
Take this round’s jump from roughly 10% to roughly 20% pass rate. Combined with the public data, three points stand out:
- The improvement is real, but the absolute level is still low. Even at the front of the pack, end-to-end pass rate is around 40%. In other words, more than half of long-horizon tasks cannot be closed out and delivered without human involvement. For teams hoping for fully unattended delivery, this remains a significant constraint.
- Capability gains do not have to come at the cost of time. Average time fell from roughly sixty-plus hours to roughly twenty-plus hours, and it happened alongside the pass rate improvement. That points more toward engineering optimization — fewer wasted attempts, reuse of intermediate artifacts, more efficient context management — than toward simply running longer.
- Cost efficiency is tiered. Some models reach roughly half the leader’s pass rate at a fraction of its cost, with a clear advantage in cost per completed task. Teams do not have to chase the leader across the board: routing high-value, high-complexity tasks to the strongest model and standardized, high-volume tasks to a cost-efficient model is usually the more pragmatic combination.
3. Building Your Own Evaluation: Bringing the Leaderboard Method In-House
Public leaderboards do not always publish their task sets or scoring rubrics, and they tend to skew toward general-purpose scenarios. Teams should therefore build an evaluation set aligned with their own business and turn it into a scorecard that can be run repeatedly.
3.1 Task tiers and scorecard
| Tier | Task type | Typical examples | Key acceptance points |
|---|---|---|---|
| L1 | Localized change | Reword a prompt, adjust list spacing, add a color resource | Build passes, blast radius stays contained |
| L2 | Cross-layer feature | Add a search API, paginated list loading, form validation with error messages | API and state management stay consistent, unit and UI scenarios pass |
| L3 | Multi-module capability | Offline caching, deep link navigation, push channel integration, account system overhaul | Compatibility, weak-network and exception paths, full regression suite pass |
| L4 | Defect localization and repair | Reproduce a crash log, analyze jank, investigate a memory leak | Fix is effective, no regressions, minimal diff |
| L5 | End-to-end delivery | A complete feature from product requirement to something ready for code review | Requirement coverage, code standards, first-pass review acceptance rate |
A ratio of roughly 2
3
1 across the tiers is a reasonable way to build the test set, so that the score distribution reflects the real mix of short, fast tasks and complex ones found in day-to-day development.
3.2 Example task definition
Each task is described in a structured file so that goals, constraints, and acceptance criteria are unambiguous:
# Example: a structured task definition (illustrative)id: L3-014title: Support offline cached reading on the list pagelevel: 3goal: Show the last successfully fetched content when offline and display an "offline mode" indicatorconstraints:- Only the feature/article and core/network directories may be modified- Cached content must have an expiration time, defaulting to 24 hours- No new third-party dependencies may be introducedacceptance:build: must_pass # build must succeedstatic_check: must_pass # no blocking static check findingsunit_tests: must_pass # all unit tests must passui_scenarios: # UI scenario verification on device- cold_start_offline- cache_expired- weak_network_retrydiff_scope: enforce # changes are checked against the allowed scopebudget:max_rounds: 60 # maximum number of iterationsmax_wall_clock_hours: 8 # maximum wall clock durationmax_cost_units: 40 # budget cap (normalized internal units)repeat: 3 # number of repeated runs, used to assess stability
Here, max_wall_clock_hours is the wall clock time from start of execution to the final result. It is affected by task queueing, build waiting, and human review.
3.3 Evaluation pipeline sketch
The evaluation itself must be standardized and repeatable: every run happens in a clean environment, dependency versions are locked, acceptance scripts are fixed, and the full execution trace is recorded.
# Example: long-horizon task evaluation pipeline (illustrative pseudo-code)def run_task(task, agent, sandbox, gate, budget):"""Run a single task in an isolated environment and return a structured result"""env = sandbox.create(lockfile=repo.lockfile) # lock dependencies to keep the run reproduciblectx = context.build(repo=repo.snapshot(env),task_spec=task,toolset=["file_edit", "shell", "build", "test", "device_scenario"],)outcome = agent.solve(ctx, budget=budget) # iterate autonomously until done or budget exhaustedchecks = gate.verify(env, task.acceptance) # build, static checks, tests, scenarios, diff scopeenv.destroy() # release the environment so it cannot affect later tasksreturn {"task_id": task.id,"level": task.level,"passed": all(checks.values()),"checks": checks,"completion": completion_score(checks), # weighted score across acceptance items"turns": outcome.turns,"duration_h": outcome.wall_clock / 3600,"cost": outcome.cost, # normalized to a common internal unit"human_interventions": outcome.human_interventions,"trace_ref": outcome.trace_ref, # full trace, used for attribution analysis}
3.4 Aggregating metrics: percentiles and unit cost instead of a single average
A single run carries randomness, so each task should be repeated at least three times and then aggregated as follows:
# Example: evaluation metric aggregation (illustrative)import mathdef summarize(rows):"""rows is a list of results returned by run_task"""n = len(rows)passed = [r for r in rows if r["passed"]]total_cost = sum(r["cost"] for r in rows)total_time = sum(r["duration_h"] for r in rows)durations = sorted(r["duration_h"] for r in rows)def pctl(values, p): # percentile with linear interpolationk = (len(values) - 1) * pf, c = math.floor(k), math.ceil(k)return values[f] + (values[c] - values[f]) * (k - f)return {"pass_rate": round(len(passed) / n, 4), # pass rate"avg_completion": round(sum(r["completion"] for r in rows) / n, 4),"median_hours": round(pctl(durations, 0.5), 2), # median duration"p90_hours": round(pctl(durations, 0.9), 2), # long tail of durations"cost_per_passed": round(total_cost / max(len(passed), 1), 2), # cost per completed task"avg_cost": round(total_cost / n, 2), # average cost (including failed tasks)"avg_human_interventions": round(sum(r["human_interventions"] for r in rows) / n, 2), # human intervention frequency"pass_rate_by_level": {lv: round(sum(r["passed"] for r in rows if r["level"] == lv)/ max(sum(r["level"] == lv for r in rows), 1), 4)for lv in sorted({r["level"] for r in rows})},}
- Average cost captures everything invested in failed tasks as well, so it reflects budget consumption directly.
- Cost per completed task measures output efficiency per unit of spend.
- Human intervention frequency measures the degree of automation.
Taken together, these three come closer to the real concerns of engineering management than “average time” or “average cost” on their own.
4. Engineering Levers for Raising Long-Horizon Pass Rates
Pass rates stay low because end-to-end success is the product of several serial stages. Assume a task involves 10 critical steps and each step is correct 95% of the time; the overall pass rate is about 60%. Even if per-step accuracy improves to 96%, the overall pass rate only reaches about 66%. Seen this way, the climb from roughly 10% to roughly 20% reflects systematic improvement across several weak links in the chain. Six categories of practice matter most.
4.1 Turn requirements into verifiable tasks
Long-horizon tasks often fail because the goal is vague. A safer pattern is to have the system under test produce a structured plan and test plan first, confirm them, and only then implement. Explicit acceptance criteria convert “looks right” into “can be judged automatically.” This is also the core of behavior-verification approaches: evaluate whether the result satisfies the constraints, rather than only looking at the surface of the output.
4.2 Build a stable, reproducible execution environment
- Lock dependency versions and fix the base image.
- Layer the build cache, and reuse base dependency artifacts and incremental compilation artifacts separately.
- Schedule a pool of multiple device models and resolutions in parallel.
This kind of capability can be built on general-purpose container platforms and object storage — for example, running the sandbox execution environment on a container platform and centrally storing build artifacts and test reports in object storage.
4.3 Cut information noise out of long contexts
Long-horizon tasks tend to fall into two traps: repeatedly re-reading large blocks of code until the context is quickly exhausted, and letting the context get drowned out by irrelevant logs. Some workable strategies:
- Structured repository retrieval: build a symbol index and dependency graph first, then load only the relevant file fragments on demand.
- Rolling summaries: periodically compress execution history into a three-part summary of what is done, what is pending, and what the current blockers are.
- Structured intermediate artifacts: persist design decisions, interface contracts, and failure causes as files instead of relying on conversation history alone.
4.4 Replace long-chain trial and error with small commits plus continuous verification
After each independently verifiable subgoal is completed, run the build and a minimal test set, and on failure roll back only to the most recent checkpoint. Compared with making one large change and then debugging all at once, this significantly reduces wasted iterations, and its effect on total elapsed time is especially direct.
4.5 Add an adversarial self-review stage
Alongside the main line, add an independent review step focused specifically on security compliance, permission declarations, privacy data usage, input validation, and exception branches. Review findings are handed back as a structured checklist for the main line to fix in one pass. Separating implementation from review helps catch common low-level mistakes before delivery.
4.6 Split work across models and tier the cost
- High-capability models handle solution design and code generation.
- Lightweight models handle supporting steps such as log summarization, file retrieval, and formatting.
- After a task exhausts its regular budget, it can be escalated to a stronger model for one fallback attempt.
Combined with prompt caching, batched requests, and avoiding unnecessary recomputation, this can hold pass rates steady while pushing average cost down.
5. Operationalizing It: Review, Security, and Observability
5.1 Put AI output through the same review process as human code
Common practices include:
- Tag merge requests as “AI-generated” and include references to the prompt and trace.
- Require static scanning, sensitive information detection, and dependency compliance checks to pass.
- Set a test coverage threshold for generated code, and require additional cases for critical paths.
- Limit the scope of automated merging, with core modules always requiring human sign-off.
5.2 Data security and permission boundaries
Code, logs, and crash information can contain sensitive content. The execution environment should follow the principle of least privilege: a network access allowlist, read-only filesystem mounts, and secrets injected through a controlled mechanism that never appears in prompts or logs. For enterprise rollouts, general-purpose logging services, monitoring and alerting, and permission management capabilities can be used to continuously observe call behavior, spend, and abnormal failures.
5.3 Dashboards and continuous optimization
Feed pass rate, duration percentiles, cost per task, and human intervention rate into monitoring and alerting to form a baseline → regression → attribution loop: after every model or toolchain upgrade, rerun the fixed test set and compare task by task against the previous version to pinpoint regressions. Evaluation then stops being a one-time pre-release step and becomes ongoing quality assurance.
6. Common Pitfalls and How to Judge Results
- Watching pass rate while ignoring time and cost. At the same pass rate, a several-fold difference in time means a huge difference in throughput.
- Treating completion as pass rate. Completion is a process metric and cannot substitute for an end-to-end verdict.
- Ignoring evaluation stability. Results fluctuate noticeably across repeated runs of the same task, so a single run is not representative.
- Using an evaluation set detached from your business. A high score on a general leaderboard does not necessarily translate into business value, so rely on your own test set.
- Copying leaderboard parameters when choosing models. The sound approach is a small-scale A/B evaluation on your own data, with routing to different models by task difficulty.
- Overlooking the engineering side. Better models are a necessary condition, not a sufficient one — repository conventions, test infrastructure, and build speed all shape the final outcome.
7. Conclusion
This round of leaderboard updates sends three clear signals:
- Capability gains are real. Long-horizon pass rates roughly doubled while time and cost fell at the same time, which suggests both the models and the surrounding engineering are advancing quickly.
- Capability boundaries remain clear. A pass rate of roughly 40% at the top means fully automated, unattended delivery is not realistic today.
- Cost efficiency is becoming a major selection criterion. Cost-efficient models have genuine value for standardized tasks.
For engineering teams, the more meaningful move is not to chase rankings but to internalize the methodology behind them as your own measurement system: a tiered task set as the baseline, percentiles and unit cost as the levers, and observable, reproducible engineering infrastructure as the support. Do that, and every model choice and upgrade rests on evidence — which is how AI coding capability turns into stable, sustainable development productivity.
