Evaluating LLM Agents on Real Tasks: How to Read Leaderboard Data
This article explains how to evaluate LLM agents by their performance on long, multi-step real tasks rather than single-turn answer accuracy. It covers how to read leaderboard rankings, categories, sample size, and blind testing; how to interpret net improvement rate and percentage-point differences between versions; how to break down results into command execution reliability and correction ability; common evaluation pitfalls; and how to build an internal evaluation process for model selection.
Why Agent Evaluation Should Focus on Real Tasks
When evaluating large language models, single-turn question-answering accuracy no longer tells the full story. Agents must call tools in sequence, run commands, save intermediate state, and change direction when users revise their requirements mid-task. A single task can involve more than a dozen steps, and an error at any step can affect the final result. Industry evaluation is therefore shifting from asking “Is the answer correct?” to asking “Can the task be completed, and is the process reliable?”
Long-horizon task evaluation differs from traditional benchmarks in three main ways. First, the task spans a long period, so the evaluation object is the full session rather than a single reply. Second, results depend on environment feedback, such as command exit codes, whether files were generated, and whether API responses match expectations. Third, user experience is part of the evaluation. This includes whether the model understands intent, whether it asks for confirmation before key steps, and whether it offers workable recovery plans after an error.
Understanding these differences helps readers judge what a leaderboard actually measures.
1. Reading a Leaderboard: Rankings, Categories, and Sample Size
Evaluation leaderboards usually include an overall ranking and category rankings. The overall ranking places all participating models in the same comparison. Category rankings split results by usage scenario. Common categories include work assistance, programming, and everyday chat. A model’s position in the overall ranking and in a category ranking can differ substantially, because different scenarios demand different abilities. Before reading a leaderboard, identify the scenario you care about, then check the results for that category.
Another dimension that is often overlooked is the difference between “open-weight” and “all participating” models. Open-weight models usually refer to models whose weights can be publicly downloaded. Teams that need local deployment, private hosting, or further fine-tuning will find the open-weight category more relevant. Teams that access models only through an API will find the all-participants leaderboard closer to the actual range of options.
Sample size determines how stable the results are. If an evaluation includes only a few dozen sessions, rankings can fluctuate widely, and a change in position does not necessarily reflect a change in ability. When samples reach the order of tens of thousands and cover different regions, user groups, and task types, the results become considerably more representative. When reading a leaderboard, check whether the public documentation explains the total sample size, the task distribution, and the statistical methods.
Blind testing matters as well. In blind testing, evaluators score outputs without knowing which model produced them, which reduces the influence of brand perception on their judgment. Rankings on live blind-test leaderboards change as new data comes in, so every ranking should be labeled with the time it was computed.
Finally, rankings are relative values, not absolute measures of capability. The gap between fifth and tenth place may be only a few percentage points, and the difference in performance in a real business setting may not be noticeable. Treating a ranking as a starting point for shortlisting candidate models is more sound than treating it as a final conclusion.
2. Net Improvement Rate: Interpreting Version-to-Version Metrics
Net improvement rate measures the overall change of a new version relative to an older one. A common industry definition works as follows: on the same set of tasks, subtract the number of sessions where the new version performs worse from the number where it performs better, then divide by the total number of sessions. Ties count toward neither side but still occupy the denominator. The sign of the metric shows the direction of change, and its magnitude shows the size of the change. The exact rules should come from the evaluator’s public documentation, because platforms may handle ties, partial completions, and similar cases differently.
The example below shows the calculation. The values are hypothetical and used only to illustrate the method.
def net_improvement_rate(wins: int, losses: int, total: int) -> float:"""Compute net improvement rate as a percentage from win and loss counts. total includes tie samples."""if total <= 0:raise ValueError("Total sample count must be greater than 0")return (wins - losses) / total * 100# Assume: out of 1,000 sessions, the new version wins 400, loses 250, and 350 are tiesrate = net_improvement_rate(wins=400, losses=250, total=1000)print(f"Net improvement rate: {rate:.1f}%") # Output: Net improvement rate: 15.0%
When comparing versions, distinguish between “percent” and “percentage points.” If two versions have net improvement rates of 5.1% and 0.9%, the difference is 4.2 percentage points, not a 4.2-fold improvement. Confusing percentage points with percent is one of the most common mistakes when interpreting leaderboard data.
def version_gain_points(new_rate: float, old_rate: float) -> float:"""Compute the difference between the net improvement rates of two versions, in percentage points."""return new_rate - old_rate
Net improvement rate is also a relative comparison on one set of tasks. It shows whether the new version performs better on that task set, but it cannot be extended to conclude that the new version performs equally well in every business scenario. If your use case differs significantly from the evaluation tasks, reproduce the comparison on your own data first.
3. Breaking Down Metrics: Reliability and Correction Ability
Overall scores can hide differences between capabilities. An agent may perform differently on command execution, on maintaining direction, and on understanding constraints. Sub-metrics are therefore more useful for diagnosis than a single total score. Two common dimensions are described below.
(1) Shell Command Execution Reliability
Command execution reliability measures an agent’s ability to run instructions correctly in a terminal environment. It covers whether command syntax is correct, whether parameters fit the environment, whether results are interpreted correctly, and whether timeouts and errors are handled appropriately.
Evaluation should not rely only on an exit code of 0. An exit code of 0 means the process finished normally, but it does not mean the task goal was achieved. A more reliable approach also checks the output content, the state of target files, and side effects. For example, an instruction to “create a directory and write a configuration file” should be verified by confirming that the directory exists and that the configuration content is correct.
def shell_reliability(results: list[dict]) -> float:"""Compute the reliability rate of command execution.Each record must contain: exit_code (process exit code),timed_out (whether the command timed out), andgoal_met (whether the goal was achieved, as judged by a check script)."""if not results:return 0.0success = sum(1 for r in resultsif r["exit_code"] == 0 and not r["timed_out"] and r["goal_met"])return success / len(results)
Failure causes should also be recorded by category, such as syntax errors, environment mismatches, insufficient permissions, timeouts, and misunderstood goals. With these categories, teams can tell whether a problem lies in model capability, prompt design, or the runtime environment.
(2) Direction Adjustment and Correction Ability
Correction ability measures whether an agent adjusts promptly when a user revises requirements mid-task, while keeping the constraints from the original task that remain valid. For example, if a user asks to change a report from weekly to monthly, the agent should update the reporting period but should not discard the data definitions that were already confirmed.
This ability can be observed from three angles. First, does the agent accurately identify the user’s correction intent? Second, after the correction, does it re-execute the affected steps instead of reusing old results? Third, does it explain which content has changed and which has stayed the same? Agents that clearly communicate the scope of their changes usually make it easier for users to approve their actions.
(3) Other Dimensions Worth Tracking
Beyond these two dimensions, evaluation should also cover task planning quality, appropriateness of tool selection, context retention, cost and latency, and safety boundaries. In scenarios involving file deletion, permission changes, or sending information externally, whether the agent proactively asks for confirmation says more about engineering usability than completion rate alone.
4. From Leaderboard to Selection: Building an Internal Evaluation Process
Public leaderboards can narrow the candidate list, but the final decision should rest on your own tasks.
