How to Evaluate Large Language Models: From Benchmark Scores to a Systematic Framework

    This article explains why a single benchmark score is not a complete LLM evaluation and how to build a reproducible, comparable evaluation system. It covers the two core metric families—general intelligence and agentic capability—how execution environments affect long-horizon task results, and how to interpret confidence intervals and score tiers. It also outlines a five-step process for building an in-house evaluation pipeline, along with common pitfalls to avoid. Readers will learn how to map evaluation goals to the right metrics, control environmental variables, and balance model performance against token cost for long-term decision-making.

    1. The Starting Problem: Why Running a Benchmark Is Not a Complete Evaluation

    In engineering practice, model evaluation is often reduced to a leaderboard lookup: what score a model achieves on a composite index and where it ranks. In real business scenarios, however, a single-point score can rarely support a selection decision on its own. The reason is that an evaluation score is the combined result of a specific task set, a specific execution environment, and a specific decoding configuration. If any one of these conditions changes, the conclusion may no longer hold.

    A reliable evaluation approach must therefore answer at least four questions: what capability is being measured, in what environment, how wide the confidence interval around the result is, and whether the conclusions can be reused as models iterate. The third-party independent evaluation workflow in the source material reflects exactly this logic: the evaluator places models from different origins into the same task set, first reports scores across a composite dimension, and then separately weights an agentic dimension that is closer to tool use and long-horizon tasks. This approach of a unified task set plus multi-dimensional weighting is the basic skeleton of systematic evaluation.

    2. Two Core Metric Families: General Intelligence and Agentic Capability

    2.1 What the General Intelligence Index Measures

    General metrics are usually composed of a weighted combination of several capability subsets, commonly covering knowledge understanding, reasoning, code, math, multilingual ability, and instruction following. Their value is that they provide an overall position that can be compared horizontally, but the cost is that they mask structural differences: two models with similar total scores may be strong in code and weak in multilingual ability, leading to completely different performance in a specific business.

    The correct way to use them is to treat the general score as an initial screening threshold, not the final basis. For example, if a model shows a general score of 60 and ranks 5th in a comparison set of 14 configurations, this only indicates that it sits in the upper-middle range and still requires a drill-down into individual capability scores.

    2.2 Why the Agentic Index Is Weighted Separately

    Agentic capability emphasizes multi-step planning, tool use, state maintenance, and error recovery, which is structurally different from one-shot question answering. In the source material, the model scores 60 on the general index and 59 on the agentic index, yet its ranking jumps from 5th to 2nd. This shows that the two metric families cannot substitute for each other: in scenarios with a high proportion of long-horizon tasks (automated operations, large-scale code refactoring, data pipeline repair), the agentic dimension has far higher reference value than the general score.

    In engineering terms, it is advisable to explicitly map evaluation goals to metrics: use general and instruction-following scores for question answering and content generation; use agentic and tool-call success rates for process automation; and use repository-level task pass rates for code scenarios.

    3. Execution Environment: The Real Variable in Long-Horizon Evaluation

    The approach of the third-party long-horizon software engineering leaderboard in the source material is worth abstracting: it fixes the task scale (113 tasks covering 91 code repositories and 5 programming languages) and runs all evaluated objects within the same lightweight agent execution framework to ensure environmental consistency. It also publishes pass rates with error margins and marks the version and update time.

    There are three key engineering conclusions here:

    1. When environments are inconsistent, scores are not comparable. Container images, dependency versions, timeout limits, retry counts, and the available toolset can all significantly change long-horizon task results.
    2. Uncertainty must be reported. With limited sample sizes, a single pass rate can fluctuate by several points, and reporting only a point estimate can mislead decisions.
    3. Versions and snapshot times must be fixed. Task sets and leaderboards evolve, so when citing conclusions you should include the version number and the capture time.

    A schematic evaluation execution skeleton is shown below (it expresses structure only, not a specific product interface):

    1. # Unified environment + unified task set + repeated sampling
    2. def evaluate(model_client, tasks, sandbox_image, n_repeat=3, timeout=1800):
    3. results = []
    4. for task in tasks:
    5. for _ in range(n_repeat):
    6. with Sandbox(image=sandbox_image, timeout=timeout) as box:
    7. trace = run_agent(model_client, task, box) # fixed toolset
    8. results.append(1 if verify(task, box) else 0)
    9. return pass_at_1(results) # also output sample size and confidence interval

    4. Interpreting Results: Confidence Intervals and Tiering

    On the leaderboard, 69%±3% and 69%±5% are grouped into the same tier, while 67%–63% is placed in the next tier. This reflects two disciplines of evaluation interpretation.

    First, look at interval overlap rather than rank. If the confidence intervals of two models overlap substantially, the difference is not significant, and selection should shift to engineering constraints such as cost, latency, context length, and the feasibility of private deployment.

    Second, tiers are more stable than rankings. Tiering is more robust to sampling noise and is suitable as an “option pool” at the architecture level; within the pool, you can then run small-sample business validation.

    At the same time, be wary of situations where “official figures and third-party figures coexist”: it is normal for the same capability to show numerical differences across different task versions and execution frameworks (for example, a long-horizon benchmark rises from 46.2 to 66.9, while a third-party unified environment measures 69%±3%). Differences should be attributed to the environment rather than simply judged as one side being wrong.

    5. Five Steps to Build an In-House Evaluation System

    1. Define the scenario and task distribution. Sample from real business logs to form a representative task pool, avoiding reliance on public benchmarks alone.
    2. Build a layered task set. Organize it into a basic capability layer / tool-use layer / long-horizon task layer / security and compliance layer, scoring each layer independently and then weighting them.
    3. Fix the execution environment and decoding parameters. Temperature, maximum output length, tool whitelist, and timeout policy should all be written into configuration and placed under version control.
    4. Design metrics and verifiers. In addition to pass rate, introduce first-attempt correctness, average number of steps, invalid call rate, and manual rework rate; prioritize executable verification (unit tests, assertions, result comparison) for judging to reduce subjective scoring.
    5. Run continuous regression and cost accounting. Every time the model or prompt changes, run a fixed regression set, and convert the input/output tokens consumed per thousand tasks into cost, forming a two-dimensional “performance–cost” view. If a cloud inference service is used, evaluation data can be accumulated through monitoring and alerting, logging services, and object storage to achieve traceability.

    6. A Checklist of Common Pitfalls

    • Reporting only a single total score while ignoring the individual capability structure;
    • Ignoring confidence intervals and treating noise as a trend;
    • Leaving the task set unchanged for a long time, leading to overfitting-style “leaderboard gaming”;
    • Lacking executable verification for long-horizon tasks and relying on subjective scoring;
    • Failing to fix decoding parameters and the environment, so historical conclusions cannot be reproduced;
    • Looking only at performance and not at token cost, causing costs to spiral out of control after launch.

    7. Conclusion

    The essence of large model evaluation is a reproducible, comparable, and evolvable engineering system: use a unified task set and unified environment to ensure comparability, use multi-dimensional metrics to characterize different capability structures, use confidence intervals and tiering to control interpretation risk, and use continuous regression and cost accounting to support long-term decisions. Once this methodology is in place, model selection and iteration no longer depend on the accidental fluctuations of a single leaderboard.