Long-Horizon Task Benchmark: How Developers Should Choose Models
This article analyzes a benchmark for long-horizon engineering tasks in Android development, comparing two AI models on pass rate, average completion, runtime, and cost. It explains what each metric means, how the models differ in execution style, and provides practical guidance for selecting models based on project type, plus a checklist and risk caveats.
From Writing Code to Delivering Engineering Tasks
Early AI coding tools were mostly used for function completion and unit test generation. Real app iteration is far more complex. Developers must understand the overall architecture of an existing codebase, add features within current dependency and permission constraints, manage data flow and state synchronization across multiple files, and sometimes perform project-level migrations. These tasks cannot be resolved through a simple Q&A loop. An agent needs to plan autonomously, execute in steps, cross-verify results, and retry after failures.
Google’s Android development benchmark is designed around such requirements. Its tasks are engineering problems, such as building an app framework with business logic from scratch, adding push notification and configuration management modules to an existing project, or rewriting legacy asynchronous tasks into coroutine patterns. The evaluation combines automated agent execution with manual acceptance. A passed task must show a successful build signal and pass functional correctness checks. Unlike algorithm problem sets, this benchmark treats the ability to deliver mergeable code as a core criterion.
What the Four Metrics Mean
- Pass rate: The proportion of tasks the model completes end-to-end without human intervention. It measures intent understanding, project structure awareness, compile error resolution, and logical coherence. The pass rate is counted per task without weighting for difficulty. A task involving eleven file modifications and one needing only three changes both count as a single pass. Therefore, the pass rate should not be directly interpreted as the accuracy of simple requests.
- Average completion: For failed tasks, the ratio of completed steps to total steps. For example, if a task has five functional points and the model implements four, the completion is 80%. Higher completion means the unfinished part is closer to the end, reducing the cost of manual cleanup.
- Average runtime: The continuous execution time of the agent. It determines whether the model can fit into daily commit and validation workflows.
- Cost per run: Determines whether large-scale reuse is economical. If cost is too high, the tool can only serve as an emergency fallback, not for routine parallel tasks.
Performance of Two New Models
The first model was evaluated with an autonomous coding agent. It achieved a pass rate of 24.0%, an average completion of 82.3% on failed tasks, an average runtime of 27.4 hours, and a noticeably higher cost per run than the second model. Its execution style leans toward exploration: before starting, the system scans the repository’s directory structure, build configuration, and dependency versions; when encountering compile errors, it reviews logs and tries multiple repair paths; in the later stage it adds boundary condition checks and defensive code. This approach improves the probability of passing but takes nearly a day to produce results, which can disrupt release cadence.
The second model achieved a pass rate of 17.3%, an average completion of 71.2% on failed tasks, an average runtime of 12 hours, and a lower cost per run. Its style leans toward rapid prototyping: it first produces structurally complete core code, exposes issues early, then makes targeted fixes based on compile logs. In complex tasks that require extensive cross-module coordination, its handling of edge cases can become a weak point.
The pass rate difference between the two models is about 6.7 percentage points. The second model’s pass rate is roughly 72% of the first’s (17.3 divided by 24.0), while its runtime is about 44% of the first’s. The original data does not provide verifiable cost figures, so this article does not convert them into monetary amounts. Completion and pass rate are distinct metrics and should not be used interchangeably.
These figures originate from a specific agent configuration. Toolchain orchestration, context compression strategies, and retry mechanisms can all cause performance to vary. A more reasonable use of the benchmark is as a reference for the combined effectiveness of engineering solution stacks, not as a final judgment on any single model.
Selection Guidance by Project Type
High-frequency iteration SaaS products. Teams in this category have dense release schedules. A low-cost model acts more like a high-concurrency draft generator. With a 17.3% pass rate, roughly 1.7 of 10 parallel tasks would pass directly, while about 8 would require manual fixes for the remaining steps. Since the average completion on failed tasks is 71.2%, engineers usually only need to fill in the last functional blocks rather than restart from scratch. This estimate is illustrative; actual task distribution will change the outcome.
Core components or safety-critical modules. These tasks allow longer background execution but demand high code quality and global consistency. A higher-investment model is more reliable. Its pass rate of 24.0% is modest, but the average completion of 82.3% on failed tasks means a human reviewer can focus on a few specific defects with targeted fixes, reducing the need for broad re-inspection. Longer runtime is acceptable as long as manual acceptance remains in place.
Hybrid pipeline. Most teams can combine both types of models. Start with a low-cost model for early exploration and requirement decomposition, then pass confirmed subtasks to a high-investment model for deeper implementation, and finally have humans handle integration and verification.
Why Runtime Grows with Iterations
During continuous multi-round iterations, the high-investment model retains the full historical context, which keeps growing, so per-round runtime may increase over time. The fast model more often triggers context truncation and requires reminders about key points. Its runtime is more stable, but it may lose early constraints. When selecting a model, consider the project’s average file count and call-chain depth to determine which memory management style better matches the actual development pattern.
Pre-selection Checklist
- Define the task type: distinguish between high-frequency feature development and core or safety-critical modules.
- Run A/B tests on a small batch of real tasks, recording pass rate, completion, runtime, and manual repair time.
- Calculate costs based on your own pricing and call volume; do not directly reuse benchmark numbers.
- All agent output must go through build, test, and manual code review.
Risks and Boundaries
Benchmark data cannot be directly extrapolated to specific projects. Project size, code style, and dependency complexity all change results. Current model success and recall rates are not yet high enough for teams to trust core code without supervision. The benchmark is best used as a reference for model selection, not as a passing threshold. For most teams, combining low-cost and high-investment models in a single pipeline, while retaining manual acceptance, is the more robust approach at this stage.
