Mobile AI Coding Evaluation: From Pass Rate to Engineering Delivery
This article explains how to evaluate AI coding systems on long-horizon mobile development tasks. It clarifies the difference between task pass rate and average completion, warns against confusing relative growth with percentage-point changes, and explains why multi-module, long-running tasks expose capability limits. It then describes how to build a reproducible internal evaluation framework, how to measure time and cost with clear boundaries, how to apply layered acceptance criteria, and how to turn failure analysis into continuous improvement—so that metric gains translate into real engineering value.
1. From “Doubled Pass Rate” to the Core Question of AI Coding Evaluation
AI coding evaluation is shifting from short code-generation problems to long-horizon tasks that resemble real software development. For mobile development, such tasks may involve understanding an existing project, modifying multiple modules, handling asynchronous state, adjusting UI interactions, and completing builds and regression tests. A model must not only write code but also maintain goal consistency across continuous feedback loops, ultimately delivering an engineering change that meets the requirements.
The source material highlights an important observation: after a certain version iteration, task pass rates improved significantly, while execution time and test costs decreased. This kind of change deserves attention, but it cannot be directly equated with a proportional gain in real development efficiency, nor can it alone justify concluding that a particular AI coding approach fits every project.
The reason is that pass rate is the product of a specific task set, execution environment, and resource budget. Changes in task difficulty, acceptance criteria, retry counts, context scope, or runtime conditions can all affect the outcome. Therefore, the point of evaluation is not to chase the highest score, but to build a chain of reasoning from “metric changes” to “engineering value.”
2. Why Task Pass Rate and Average Completion Must Be Read Separately
2.1 Task pass rate measures complete delivery
Task pass rate can generally be expressed as:
Task pass rate = number of tasks that pass all required acceptance conditions ÷ total number of valid evaluation tasks.
This metric emphasizes the delivery loop. For example, a task may require adding a list-filtering feature while preserving the existing data-loading logic and ensuring error states are recoverable. Even if the main UI is complete, the task may still fail acceptance if a key filter condition is wrong or the change breaks an existing flow.
A low pass rate therefore does not necessarily mean all generated code is useless; it may indicate weaknesses in boundary conditions, cross-module consistency, or final verification. But from a delivery perspective, these weaknesses cannot be ignored—users need a complete feature, not a nearly finished code fragment.
2.2 Average completion reflects partial progress
Average completion may be computed from subtasks, checklist items, or scoring rules, and its exact meaning must follow the evaluation specification. It helps observe how much work a system has done, but it cannot be automatically converted into a deliverable ratio.
For example, a feature’s main flow may be implemented while the logic for handling permission denial is missing. Under some itemized scoring schemes, this might earn a high completion score; but if that omission makes a critical scenario unusable, the task should still be judged a failure.
High completion combined with a low pass rate usually prompts the team to investigate further: Do the scoring items cover critical risks? Is the system ignoring a small number of decisive conditions? Is the acceptance stage missing effective feedback?
2.3 Relative growth and percentage-point changes must not be mixed
Suppose that in an internal evaluation, pass rate rises from 10% to 20%. You can say this is 100% relative growth, or double the original value; but the absolute change is an increase of 10 percentage points, not 100 percentage points.
More importantly, a 20% pass rate still means most tasks have not achieved complete delivery. Relative growth is useful for observing iteration speed, while the absolute level is closer to current usability. Technical articles and selection reports should present both layers of meaning and avoid emphasizing only the growth multiple.
3. Why Long-Horizon Mobile Tasks More Easily Expose Capability Limits
3.1 Requirements usually span multiple engineering layers
A seemingly simple UI requirement may simultaneously involve page state, business rules, data caching, network interactions, and lifecycle management. A locally correct modification does not guarantee globally correct behavior.
For example, when adding a search feature, implementing the input box and filtering logic is not enough. You also need to define the search scope, the empty-result state, recovery behavior after request failures, and whether asynchronous results might incorrectly update the UI after the page has been left.
If an AI coding system lacks global understanding, it may fulfill the requirement in one file while breaking the state conventions that other modules depend on.
3.2 Continuous operations accumulate deviation
Long-horizon tasks typically include reading, planning, modifying, running, diagnosing, and modifying again. Any misunderstanding of the goal at one step can be amplified by subsequent operations.
Common problems include: deleting necessary validation while fixing the current error, changing shared behavior to pass a local test, or losing sight of the original acceptance conditions after multiple rounds of edits. Continuously maintaining the task list and key constraints matters more than generating more code in a single pass.
3.3 The runtime environment is part of delivery
A mobile project may depend on specific build configurations, device capabilities, and runtime states. If environment problems and code problems are not recorded separately, evaluation results are easily distorted.
For example, a dependency-fetch failure is an environment or supply-chain availability issue, while an unsatisfied business assertion is an implementation issue. Both can block delivery, but they require entirely different remediation measures and cannot be lumped together as “insufficient coding ability.”
4. How to Build a Reproducible Internal Evaluation Framework
4.1 Build a layered task set from real tasks
Organizations can select desensitized historical development tasks covering bug fixes, feature increments, refactoring, compatibility adjustments, and test supplementation. Statistics should be kept separate by category, so that a surplus of simple tasks does not mask weaknesses on complex ones.
Each task should clearly define the initial project version, requirement description, permitted modification scope, required acceptance conditions, and prohibited behaviors. For ambiguous requirements, reasonable interpretations should be fixed in advance, rather than adjusting the standard after seeing the generated result.
The task set should also reserve a portion of samples that are excluded from day-to-day tuning, to observe whether the system has merely adapted to familiar problem types.
4.2 Fix key experimental conditions
When comparing different execution approaches, keep the following conditions as consistent as possible:
- Initial code and dependency state;
- Scope of readable files and documentation;
- Available execution capabilities and network permissions;
- Total time budget, retry rules, and human intervention methods;
- Test devices or runtime environments;
- Result determination and exception-exclusion rules.
If one test run allows human hints while another executes fully autonomously, the two pass rates should not be compared directly. If different collaboration modes genuinely need to be evaluated, report them separately and explain their applicable scenarios.
4.3 Preserve both results and execution trajectories
Keeping only the final patch is not enough to explain why a task succeeded or failed. It is recommended to also record execution steps, key errors, test results, resource consumption, and human intervention.
These trajectories answer more valuable questions: Did the system understand the requirement before modifying code? Did it repeatedly perform ineffective operations? Did it make evidence-based fixes after test failures? Did the final success depend on lucky retries?
When sensitive code is involved, logs also need desensitization, access control, and retention management, so that the evaluation process does not create new information-leakage risks.
5. Time and Cost Must Have Clearly Defined Statistical Boundaries
5.1 Distinguish per-task time from full-run time
“How long did one test take” may refer to the average execution time per task, or to the total time for the entire task set to finish. The two are strongly affected by concurrency and must not be conflated.
Even when total time decreases, further judgment is needed: Is per-task processing faster, or are more parallel resources available? Were ineffective retries reduced, or were failing tasks terminated early? Only with consistent measurement definitions does a speed comparison carry explanatory power.
Beyond the average, also track the median, higher-percentile times, and timeout ratios. A small number of tasks that fail to converge for a long time can significantly affect real development schedules.
5.2 API call fees do not equal full delivery cost
Actual cost usually also includes build and test resources, human review, rework fixes, and the handover cost when failed tasks are passed to engineers.
A general formula can be used:
Cost per successful delivery = total relevant cost during the evaluation period ÷ number of successfully delivered tasks.
This metric should be presented together with pass rate and task type, not in isolation. It also does not mean failed tasks are worthless: some failed results may still provide reusable analysis or partial implementations, but that value must be recorded separately and cannot be counted as complete delivery.
5.3 Low-cost approaches also need risk tiering
For tasks with limited blast radius and clear acceptance rules, lower execution cost can be prioritized. For changes involving permissions, security, data consistency, or shared modules, review and verification intensity should be increased.
A reasonable goal is not to run every task in the most expensive or cheapest mode, but to allocate appropriate resources to different tasks under controlled risk.
6. Use Layered Acceptance to Reduce “Seemingly Complete” Deliveries
The first layer is static checks and build verification, confirming that the project is basically buildable and identifying obvious type, reference, and configuration problems.
The second layer is functional verification, checking whether the main business paths meet the requirements. Acceptance conditions should be observable—for example, input conditions, operation steps, and expected results—rather than vaguely described as “the feature works.”
The third layer is boundary and regression verification, covering empty data, abnormal input, permission changes, network interruptions, and page transitions, while checking whether existing capabilities are affected.
The fourth layer is human review, focusing on design reasonableness, sensitive-data handling, maintainability, and change scope—aspects that automated checks struggle to cover fully.
These layers complement one another. A passing build does not prove functional correctness, and passing functional tests does not prove the absence of security or maintenance risks.
7. Turn Failure Analysis into a Continuous Improvement Mechanism
For failed tasks, attribute causes under categories such as requirement-misunderstanding, missing context, implementation defects, environment blockage, insufficient verification, and operational mistakes. The classification standard should remain stable, and complex failures can record both a primary and a secondary cause.
If many problems stem from missing context, prioritize improving engineering information organization and documentation quality. If problems concentrate on boundary conditions, improve acceptance checklists and test coverage. If repeated ineffective modifications occur frequently, improve planning, feedback, and stopping conditions.
When a task exceeds its budget, repeats the same failure continuously, or begins to touch unauthorized scope, execution should be paused and handed over to a human rather than retried indefinitely. Clear termination and rollback mechanisms help control cost and prevent small defects from spreading into engineering risks.
8. From Leaderboard Observation to Engineering Decisions
The value of AI coding evaluation lies in providing verifiable capability signals, not in replacing real project validation. A higher pass rate suggests the system may be better at completing tasks; lower time may mean more efficient iteration; lower cost may expand the applicable scope—but all of these judgments require consistent statistical definitions and sufficient evidence.
For development teams, a more prudent adoption path is: start with pilots on well-scoped, low-risk tasks; then observe delivery quality, human intervention, and total cost through real engineering evaluations; and finally expand the scope of application step by step.
What is truly worth pursuing is not the highest score in a single evaluation, but the ability to complete requirements continuously and reproducibly under explicit constraints, with results that can be verified, reviewed, and maintained. Only when pass rate, time, cost, and risk are placed within the same engineering framework can progress in AI coding capability be converted into reliable development returns.
