Long-Horizon AI Coding Benchmarks 2.0: What the Doubled Pass Rate Really Means

    The 2.0 update to a long-horizon agentic coding benchmark doubled a leading solution's pass rate to 24% while cutting runtime by nearly 60%. This article breaks down the three signals behind the update, a four-dimensional evaluation framework (pass rate, task completion, runtime, and cost), and how to read the results honestly against the challenges that remain. It then walks through a six-stage pipeline for reliable mobile AI-assisted development, how to build your own internal benchmark, and practical ways to govern cost and stability.

    The Latest Benchmark Update Sends Three Technical Signals

    A widely tracked long-horizon agentic coding benchmark recently shipped its 2.0 update, folding in new results from several mainstream large model solutions. Two entries stand out:

    • Doubled pass rate: A newer solution raised its pass rate from 12.0% in the previous generation to 24.0%, with an average task-completion score of 82.3%, placing it sixth in the long-horizon ranking. Its average runtime per full test round dropped from 66.2 hours to 27.4 hours, and average cost fell from $418.3 to $317.4.
    • Low-cost solution: Another solution landed ninth with a 17.3% pass rate, averaging about 12.0 hours per round at a cost of just $9.9.

    The top of the long-horizon leaderboard is held by a solution with a 40.0% pass rate. A leading general-purpose model, meanwhile, placed fifth in the previous version of the board.

    For context, in HumanEval—the code-generation benchmark released in 2022—mainstream models now routinely clear a 90% one-shot pass rate. But HumanEval is built around function-level, single-round completion with bundled test cases; it is not comparable in difficulty to long-horizon tasks that demand tens of hours and hundreds of tool calls.

    In my view, this update carries three signals:

    1. Progress is compounding. The pass rate doubled while runtime shrank by nearly 60% and cost dropped by roughly a quarter. The gains are not coming from brute-force scaling of “more time, more compute,” but from holistic improvements in inference efficiency, context management, and tool-use strategy.
    2. The cost curve is starting to stratify. The $9.9 and $317.4 solutions differ by roughly 32x in cost, yet post pass rates of 17.3% and 24.0%. A price gradient has formed, letting teams pick solutions flexibly based on task difficulty and budget.
    3. The evaluation paradigm is shifting. The focus is moving from “did it write the function correctly” to “can the full requirement be delivered within a finite time and cost budget”—a shift that closely mirrors how enterprise software is actually built.

    Understanding Long-Horizon Coding Benchmarks: A Four-Dimensional Framework

    Long-horizon agentic coding tasks typically share a few traits: vaguely specified requirements, work spanning multiple modules, the need to read repositories, retrieve code, run builds and tests, and room for many rounds of interaction over hours or even tens of hours. Evaluating this kind of task takes at least four dimensions.

    1. Task pass rate

    This is the share of tasks in the set that fully satisfy all acceptance criteria—essentially extending the function-level pass@k idea to the task level. Judgment usually spans three layers:

    • Functional layer: the build succeeds, all core test cases pass, and there are no regressions;
    • Quality layer: code style, critical-path coverage, and exception handling meet the threshold;
    • Behavioral layer: no destructive changes are made beyond the scope of the requirement.

    Note that pass rate and model size are not simply linear. For example, Anthropic’s evaluation of Claude 3.7 Sonnet showed that scaling reasoning compute yields only limited gains, while how you steer the model’s reasoning (prompt structure, how chain-of-thought is used) matters more. So pass rate is a combined result of “model capability × task design × execution framework,” and absolute numbers mean little without the specific evaluation environment.

    2. Average task-completion score

    This measures how far a task was pushed—the share of subgoals completed, critical-path coverage, and so on—reflecting how close the model got to success. The larger the gap between this score and the pass rate, the more failures cluster at the last mile: edge-case handling, integration verification, or spec compliance.

    3. Runtime per full test round

    Runtime covers the whole flow from task dispatch to verification, including inference wait time, compile/build, test runs, and environment setup. It directly determines whether an agent can fit into a daily development cadence. Dropping from 66.2 hours to 27.4 hours means tasks that once had to “run overnight” can now complete a full round of verification and correction within a single working day.

    4. Average cost

    Cost is usually normalized against the compute resources consumed; finer-grained analysis also tracks token usage, tool-call counts, and the share of wasted rounds. Comparing the two datasets from this update:

    • Runtime fell 58.6% while cost dropped only 24.1%, indicating that the main cost driver has shifted from “time” to the resource consumption of each round of inference and tool calls.
    • Roughly estimating “cost per successful task” as cost divided by pass rate, the two work out to about $1,321 and $57—more than an order of magnitude apart. This suggests strong-reasoning solutions are best as the main force for hard problems, while lightweight solutions suit high-frequency, low-complexity batch work.

    How to Read the “Doubled Pass Rate”: Strengths and Open Problems

    (a) The clear upside

    A jump from 12% to 24% is a real statistical gain. Mainstream solutions are already strong at single-function and single-file tasks; the bottleneck lies in composite tasks that require cross-file, cross-module coordination. Doubling the pass rate means agents are moving from “occasionally getting it right” to “delivering reliably on a meaningful share of tasks”—precisely the precondition for engineering maturity.

    (b) Problems that still need facing

    • The absolute level is still low. Even the best solution tops out around a 40% pass rate. And since the benchmark tasks are curated with relatively clear acceptance criteria, while real requirements are often vaguer with more constraints, the real-world usable rate will likely be discounted further. A more realistic positioning today is “productivity multiplier” rather than “unattended developer.”
    • Completion score and pass rate diverge. The newer solution scores 82.3% on completion but only 24.0% on pass rate—nearly 60% of tasks stall at the final stage. This is common across the industry; Fable’s analysis of TerminalBench 2.0 summed it up as the “narrative hypothesis”: models are often good at “confidently narrating that they’re done” but fail at the “silent work” of executing spec confirmation, rigorous verification, and testing under real pressure—the very foundation of engineering reliability.
    • Results are sensitive to the framework. The same model can post very different pass rates under different agent frameworks. One practitioner-community takeaway even lists “let the agent write as much of the code as possible itself” as a key technique for better results. Model choice therefore has to be co-optimized with the execution framework, prompt design, and tool permissions.

    (c) What this means for developers

    Rather than asking “which model is strongest,” it’s better to answer three questions:

    • Can my task be cleanly decomposed into verifiable subtasks?
    • Does my execution framework have full build, test, and rollback capabilities?
    • How much can my cost budget afford to pay per test round?

    Putting It into Practice: Building a Reliable Mobile AI-Assisted Development Pipeline

    Mobile projects have long build chains, complex toolchains, device and OS-version fragmentation, and strict release-review requirements—all of which raise the bar for an agent’s execution environment. Drawing on industry experience, the pipeline can be split into six stages.

    1. Specify requirements

    Rewrite “add a page” into a structured task specification with clear acceptance criteria and prohibited actions:

    • Goal: Add a “Shipping Address Management” page under the personal center, supporting list, add, edit, and delete;
    • Scope: touches only the address module and route configuration; does not modify the payment flow;
    • Constraints: reuse the project’s existing architectural components and coding standards; new UI parameters use nullable types with default values;
    • Acceptance: all corresponding unit and UI test cases pass, coverage of new core logic branches meets the agreed threshold, and there are no static-check warnings;
    • Prohibited: upgrading build-plugin versions, changing signing configuration, introducing unreviewed third-party dependencies.

    2. Inject repository context

    Provide a concise architecture overview, module responsibilities, and dependency relationships, and use code retrieval to locate relevant files—avoid dumping the entire source tree into context.

    3. Reproducible sandbox environment

    Prepare a build toolchain and dependency cache that match the target in an isolated container, with network access restricted. Give each task an independent working copy (e.g., a separate branch or worktree) that can simply be discarded on failure, leaving the main branch untouched.

    4. Automated quality gates

    Before an agent submits, it must pass the following checks; failures trigger automatic rework, with a maximum retry count:

    • compile/build;
    • static code analysis;
    • unit and UI tests;
    • critical-path coverage threshold.

    5. Human review gate

    High-risk changes—core paths, payments, permissions, data migrations—must be reviewed by a human, focused on confirming requirement understanding and architectural soundness. These are exactly the areas automated tests struggle to cover.

    6. Runtime observability and sample accumulation

    Use log services, monitoring, and alerting to record each round’s runtime, token consumption, tool-call sequence, and failure reasons, forming a replayable sample library.

    A schematic pipeline looks like this:

    1. function runAgentTask(task):
    2. env = createSandbox(toolchainImage, dependencyCache)
    3. for round in 1..maxRounds:
    4. response = callModel(promptTemplate + repoContext + historySummary + toolDefinitions)
    5. if response.type == "tool_call":
    6. result = executeInSandbox(response.tool, response.args, timeout=300s)
    7. # Build and test failures are the most valuable feedback for correction
    8. history = compressHistory(history, keep=lastNRounds + failureSummary)
    9. else:
    10. # When the model claims it's done, don't take its word for it
    11. report = runQualityGates(sandbox)
    12. if report.allPassed:
    13. return humanReview(task, sandbox.diff, report)
    14. else:
    15. history += structuredFailureReport(report)
    16. # Make the window between "model claims done" and "run verification" a mandatory check
    17. return markFailed(task, history)

    Building Your Own Benchmark: How to Scientifically Evaluate “Our Own” AI Coding Capability

    Public leaderboards give directional guidance, but every enterprise has its own tech stack, coding standards, and business constraints—so the end goal should be an internal benchmark. Following the design principles of long-horizon benchmarks, it comes down to five points:

    1. Real task sourcing: Sample from the requirement backlog, covering UI development, logic refactoring, bug fixes, test supplementation, and more, annotated with difficulty and acceptance scripts.
    2. Reproducible isolated environments: A unified sandbox image and pinned dependency versions, fixed random factors, and multiple runs averaged to reduce variance.
    3. Multiple dimensions: Record pass rate, completion score, runtime, cost, and number of human interventions together—avoid judging by a single metric.
    4. Version control: Put the benchmark task set and evaluation scripts under version control and update them regularly to guard against “overfitting” to fixed problems.
    5. Tiered evaluation: First run function- and module-level tasks for quick regression, then a small long-horizon task set to check end-to-end capability—balancing efficiency and cost.

    Tasks can be defined with structured descriptions, as shown below:

    1. {
    2. "id": "address-crud-001",
    3. "type": "feature",
    4. "difficulty": "medium",
    5. "spec": "Add a shipping address management page under the personal center, supporting CRUD",
    6. "allowed_paths": ["src/feature/address/", "src/router/"],
    7. "forbidden_actions": ["upgrade_build_plugin", "modify_signing_config"],
    8. "acceptance": {
    9. "build": "must_pass",
    10. "static_check": "no_error",
    11. "tests": ["AddressListTest", "AddressFormTest"],
    12. "coverage_threshold": 0.7,
    13. "max_duration_minutes": 90
    14. }
    15. }

    Governing Cost and Stability

    For long-horizon tasks, cost comes mainly from wasted rounds and context bloat. A few approaches help:

    • Tiered model routing: Route tasks to different capability tiers by complexity. For example, simple boilerplate completion goes to a lightweight model, complex refactoring goes to a strong-reasoning model, and humans only define rules and maintain lists rather than hardcoding model names:
    1. def select_model(task):
    2. if task.complexity == "low":
    3. return model_config["lightweight"]
    4. if task.complexity == "high" and task.project == "core_payment":
    5. return model_config["strong_reasoning"]
    6. return model_config["balanced"]
    • Context budget control: Set token limits, summarize and compress conversation history, and trim retrieval results to the relevant snippets on demand.
    • Prompt-prefix reuse: Put stable content—system prompts, tool definitions, coding standards—at the front of the prompt to leverage the prefix caching common in inference services, reducing repeated billing.
    • Fast fail-stop on errors: Set a maximum round count and per-round timeout; terminate and hand off to a human after several consecutive errors of the same type.
    • Idempotent retries: Run builds and tests in the sandbox so failed attempts can be safely rolled back.

    If a team has already migrated its development toolchain to the cloud, it can rely on general-purpose capabilities from a container platform to host isolated sandboxes, object storage to archive build artifacts and execution records, log services to capture the execution chain, and monitoring and alerting to track task success rate and cost—making cost and quality data observable and traceable.

    A Rational Take on Leaderboards: Three Reminders

    • Pass rate isn’t production-ready rate. Benchmark tasks have clear descriptions and fixed acceptance criteria; real requirements carry many implicit constraints. Leave room for human fallback in practice.
    • Cost advantages must account for total cost of ownership. The $9.9 per-round cost looks attractive, but if it leads to more rework and human intervention, the total cost may not be lower. Include human review and fix time in the calculation.
    • Leaderboard rankings are time-sensitive. Model versions iterate fast, and yesterday’s number one can soon be surpassed. Teams should build an evaluation mechanism they can re-run quickly, rather than treating model selection as a one-time decision.

    Conclusion

    This benchmark update sends a clear signal: the capability of long-horizon coding agents is rapidly approaching the “deliverable” threshold, and the cost structure keeps improving. But a top pass rate around 40% is a reminder that the more realistic role for agents is as efficient executors, while the responsibility for architectural decisions and quality control still rests with engineers.

    For developers, the right response comes down to three things: write requirements clearly, make verification solid, and get the cost math right. On that foundation, using general-purpose infrastructure from cloud platforms such as Baidu AI Cloud to host the toolchain, agents can genuinely become a measurable, governable part of the development workflow.