Evaluating AI Agents on Long-Horizon Tasks: How to Read Leaderboards and Build Reproducible Tests

    This article explains how public AI agent leaderboards work, including blind testing, grouped rankings, and the net improvement rate. It also outlines a reproducible evaluation pipeline for long-horizon tasks, with a focus on stability, error recovery, and steerability.

    As AI agents move from single-turn Q&A to multi-turn tool use, state maintenance, and complex task execution, traditional question-answering accuracy no longer reflects real capability. The value of a public agent leaderboard lies not in an absolute ranking. It lies in using unified tasks, a unified environment, and a unified scoring method to observe how models behave on long-horizon tasks in terms of stability, course correction, and engineering usability. This article covers the typical mechanics of public leaderboards, how to interpret rankings, metrics, and the net improvement rate, and a reproducible engineering approach to evaluation.

    1. Why Long-Horizon Agent Evaluation Matters

    Long-horizon tasks differ from ordinary Q&A in three main ways.

    First, the task state keeps changing. An agent reads its environment, takes actions, observes the results, and adjusts its next steps based on intermediate feedback. A single failed command or a wrong reading of file state can push the rest of the trajectory off course. Evaluation therefore cannot look only at the final answer. It must also check whether the process stays controllable and whether failures can be recovered from.

    Second, tool use creates new reliability problems. Real tasks often involve file operations, command execution, data reads and writes, and API calls. Evaluation should cover action success rate, idempotency, timeout handling, permission boundaries, and recovery from exceptions. An agent that can generate a command has not shown that it can execute a task reliably.

    Third, long sessions make instruction drift more likely. Over many turns, an agent may forget constraints, misinterpret clarifications, or keep following an old path after being corrected. Steerability, constraint retention, and the ability to change direction should therefore be core metrics.

    The public evaluation materials cover more than 17,500 real long-horizon agent task sessions. A dataset of this size reduces the bias of demo tasks, so the results better reflect overall performance across many scenarios and rounds. A large sample does not automatically make the conclusions reliable, however. Task stratification, statistical significance, and blind testing still need careful attention.

    2. Leaderboard Mechanics: Live Blind Testing and Grouped Rankings

    Public agent leaderboards typically use live blind testing. The evaluation system hides the source of each model, assigns the same task to different agents, and combines automated scoring with manual spot checks to produce results. The main purpose of blind testing is to reduce the risk of tuning models for the leaderboard, which can lead to overfitting on known tasks.

    Pay attention to ranking groups when reading results. Open-weight models and closed-source models differ in deployment, auditability, and fine-tuning options. Leaderboards therefore often publish both an open-weight group ranking and an overall ranking that includes all entrants. A model that ranks high in the open-weight group does not necessarily rank high overall. Likewise, a middling position in the overall ranking does not mean weak competitiveness within its group. Developers should choose the reference dimension that fits their business constraints.

    Scenario groups matter as well. Work, coding, and chat tasks demand different abilities. Work tasks emphasize process planning and tool coordination. Coding tasks emphasize code understanding, command execution, and error repair. Chat tasks emphasize instruction following, context retention, and consistent expression. If a business relies mainly on coding assistance, focus on the coding group and command execution reliability. If it relies mainly on process automation, focus on long-horizon completion rate, course correction, and error recovery.

    3. How to Interpret the Key Metrics

    1. Net Improvement Rate

    The net improvement rate measures the net gain from a version update. It can be understood as the number of improved cases minus the number of regressed cases, divided by the number of valid cases. The formula is:

    1. net_improvement = (improved_cases - regressed_cases) / valid_cases

    In the public evaluation materials, an open-weight model’s net improvement rate after an iteration is about +5.1%, compared with about +0.9% for the previous generation, an increase of about 4.2 percentage points. This is presented here only as an example of how to read the metric, not as a product recommendation. The metric shows both how much a version improved and whether it introduced regressions, so it reflects version quality better than an average score alone. However, if the improvements concentrate in one task category that your business does not cover, the business value of the net improvement rate should be discounted.

    2. Command Execution Reliability

    Command execution reliability measures how consistently an agent performs operations in a real environment. Evaluation should not stop at whether a command returned successfully. It should also cover insufficient permissions, missing paths, timeouts, repeated execution, and partial success. A reliable agent should identify failures, explain errors, apply retry strategies, and fall back safely.

    Engineering teams can track the following metrics: command success rate, failure recovery rate, repeated-execution conflict rate, timeout rate, and dangerous-operation interception rate. For tasks that touch production environments, add least-privilege checks and audit logs.

    3. Steerability

    Steerability measures whether an agent can understand mid-task corrections, clarifications, and changes to constraints. In long-horizon tasks, users may ask the agent to switch to another path, avoid modifying a certain directory, or produce a plan before executing. The agent must recognize new constraints, abandon the old plan, and stay consistent in later steps.

    Steerability can be measured with a combination of rule-based scoring and manual review. Check whether the agent stops the old actions after a correction, restates the key constraints, and follows the new requirements in later steps. This metric matters a great deal in practice, because real business requirements rarely stay fixed from the first instruction.

    4. Other Supporting Metrics

    Task completion rate reflects whether the final goal was reached. Step efficiency shows whether the agent took unnecessary detours. Safety and compliance show whether the agent triggered unauthorized or high-risk actions. Cost and latency show engineering usability. No single metric is reliable on its own, so a combined view of completion rate, reliability, steerability, and cost is recommended.

    4. Special Considerations for Evaluating Open-Weight Models

    Open-weight models offer auditability, private deployment, and domain-specific fine-tuning, but they also add variables to evaluation. First, the model snapshot must be fixed. Quantization version, context length, and inference parameters can all affect results. Second, the tool adaptation layer must be consistent. Otherwise, differences may come from tool wrappers rather than model capability. Third, fine-tuned models should be run through regression evaluation to confirm that gains in a specific domain do not come with losses in general capability.

    For enterprise users, evaluating open-weight models should also consider data isolation, access control, and deployment cost. Evaluation environments should approximate real production constraints instead of running only in idealized sandboxes.

    5. An Engineering Evaluation Pipeline

    A reproducible evaluation pipeline typically includes task set management, environment snapshots, an executor, trajectory recording, a scorer, and a regression dashboard. A pseudocode example follows:

    1. for task in task_suite:
    2. env = restore_snapshot(task.snapshot)
    3. trajectory = run_agent(agent, task.instruction, env, task.max_steps)
    4. auto_score = score_with_rubric(task.rubric, trajectory)
    5. human_score = sample_review(trajectory, ratio=0.1)
    6. save_result(task.id, auto_score, human_score, trajectory)

    When running the pipeline, keep four points in mind. First, sample the task set in layers so that it covers work, coding, chat, and other scenarios. Second, make environment snapshots restorable so that each task can be rerun under the same conditions. Third, retain complete trajectories to support analysis of failure patterns. Fourth, combine automated scoring with manual review to reduce gaps in the scoring rules. Enterprises can also combine general-purpose cloud product categories offered by Baidu AI Cloud, such as containers, object storage, and logging and monitoring, to build evaluation environments that support task isolation, trajectory retention, and anomaly alerts.

    6. Interpreting Results and Best Practices

    When reading a leaderboard, do not focus only on the top position. Start with the rankings in the groups relevant to your business. Next, review the overall net improvement rate and its confidence interval. Finally, examine failed trajectories and regressed cases. For version updates, maintain a fixed regression set and track command execution reliability, steerability, and safety metrics over time.

    Best practices include the following:

    • Fix the model version, inference parameters, and tool adaptation layer to avoid incomparable results.
    • Use a stratified task set that covers real business scenarios instead of relying on a single demo task.
    • Record automated scores, manual review results, and complete trajectories together.
    • Classify failed cases as planning errors, tool errors, state misjudgments, constraint forgetting, or safety issues.
    • Combine the net improvement rate with business-weighted metrics. Do not treat a public ranking as a direct measure of production readiness.
    • For open-weight models, add evaluation of deployment cost, permission isolation, and fine-tuning regressions.

    Conclusion

    Agent leaderboards are useful for observing long-horizon task capability, but a ranking is a starting point, not a conclusion. Developers should understand what blind testing, grouped rankings, the net improvement rate, command execution reliability, and steerability actually measure. They should then build a reproducible evaluation pipeline that fits their own business scenarios. Only then can leaderboard information become verifiable, repeatable, and actionable evidence for choosing and improving agents.