LLM Evaluation Methodology and Engineering Practices: Why a High Aggregate Score Does Not Mean a Model Is Better

    This article explains how to evaluate large language models beyond a single aggregate score. It covers score aggregation with fixed weights, why empty answers must be scored as zero, how to build a reproducible evaluation pipeline, and how the harness can matter more than small score gaps between models. Readers will learn to interpret dimension-level results, identify weaknesses in coding and reasoning, and turn leaderboard numbers into reliable model selection decisions.

    1. Why a “High Score” Does Not Mean “Easy to Use”

    A common mistake in model selection is treating the aggregate score as the only conclusion. In one internal evaluation, a model ranked first with 91.51 points, leading the second-place model by only 0.64 points. Yet in real, high-frequency scenarios such as coding and complex reasoning, it fell behind two other evaluated models. This case shows that the aggregate score is a scalar combined using fixed weights, and it naturally hides structural differences between dimensions.

    Therefore, the first principle of an evaluation report should be “look at the dimension distribution first, then the aggregate score.” When two models differ by less than one point in total score, they are statistically almost indistinguishable. What really determines user experience is the relative strength of specific capabilities and differences in how they are supported on the engineering side (the harness).

    2. Score Aggregation: Weights, Normalization, and Empty Answers

    2.1 Fixed-Weight Aggregation Logic

    Let the score of capability dimension i be s_i and its weight be w_i. The aggregate score is S = Σ(w_i × s_i), with Σw_i = 1. Weights must be frozen before the evaluation starts. Adjusting them based on results is prohibited, because it introduces a “customized leaderboard” bias.

    2.2 Scoring Rules for Empty and Low-Scoring Answers

    The most easily overlooked issue in evaluation is the empty answer. If empty answers are simply removed, a model can raise its average by “answering less.” The rigorous approach is to count both low-scoring and empty answers as part of the final scored responses: an empty answer receives 0 points and is included in the denominator. In the evaluation above, the leading model produced body text in all 920 tests and had the fewest empty answers, which was one of the important reasons for its top overall ranking.

    Illustrative scoring rule:

    1. # Empty answers are scored as 0 and included in the denominator to avoid "raising the average by answering less"
    2. def aggregate(scores, weights):
    3. assert abs(sum(weights.values()) - 1.0) < 1e-6
    4. total = 0.0
    5. for dim, w in weights.items():
    6. vals = scores[dim] # Empty answers are already set to 0 and are not removed
    7. total += w * (sum(vals) / len(vals))
    8. return total

    3. Evaluation Pipeline Design: Reproducibility Is the Baseline

    A credible evaluation pipeline should contain at least five layers:

    1. Question bank layer: Cover dimensions such as instruction following, hallucination resistance, tool and command-line workflows, agent workflows, coding, and reasoning and math. Distinguish progressive tasks from single-turn tasks.
    2. Execution layer: Command-based and code-based tasks must actually run in a sandbox, with pass or fail determined programmatically rather than by manual visual inspection.
    3. Judgment layer: Tasks requiring semantic judgment use a two-stage “primary scoring plus review” process. An auxiliary model first assigns scores, then a review model verifies the saved responses and execution records.
    4. Traceability layer: All responses, execution logs, exit codes, and elapsed times are archived together to ensure conclusions are traceable.
    5. Aggregation layer: The latest review scores are used uniformly, outputting a dimension radar chart and the aggregate score.

    From an engineering perspective, it is recommended to explicitly set output limits (for example, an output budget at the 256,000 Token level) and to separately tag timeouts, truncations, and abnormal exits. This avoids misjudging a “truncated” result as “insufficient capability.”

    4. Result Interpretation: Four Leading Items and Two Weaknesses

    From the dimension distribution, the evaluated model ranked first in instruction following (99.09), tool and command-line workflows (93.83), agent workflows (95.03, second only to the best score of 96.80), and hallucination resistance. Its weaknesses were concentrated in coding (80.52, 2.23 points behind the best) and reasoning and math (96.35, below the best score of 98.91).

    Instruction following assesses whether a single response can satisfy multiple hard requirements at the same time. Typical failure patterns include: manual content not written to the specified location, subtasks not successfully created, missing parameter details such as a trailing newline, and repeatedly submitting the same erroneous request after an error. These are all engineering discipline issues that can be significantly improved through constraint validation and retry strategies.

    5. The Harness Often Matters More Than the Gap Between Models

    One counterintuitive but important conclusion from the evaluation is that the impact of the harness on final performance often exceeds the gap of a few tenths of a point between models. With a strong harness, the same model shows clear improvements in tool call success rate and long-workflow stability, which further amplifies what was originally a tiny score difference.

    This suggests to those making selection decisions: do not compare only models, but also compare the combination of “model plus harness.” On the engineering side, it is advisable to prioritize three capabilities: structured output validation, perceivable failure with retry and fallback, and state persistence for long-running tasks.

    6. Implementation Recommendations

    • When building an evaluation set, freeze weights and scoring rules, score empty answers as 0, and retain all execution records;
    • Always run code and command tasks for real to determine results, and use two-stage review for semantic tasks;
    • Focus on dimension-level weaknesses rather than aggregate ranking, and apply weights based on business scenarios;
    • Incorporate retries, parameter validation, and state management into framework-layer optimization;
    • If you need to host evaluation data and logs, you can use general capabilities such as object storage, log services, and monitoring and alerting from Baidu AI Cloud to build an observable evaluation platform.

    In summary, “extremely mediocre excellence” is not a derogatory term: it describes a model state with a very high aggregate score that still has clear weaknesses in key scenarios. Understanding the score aggregation mechanism, the empty-answer rule, and the harness gain is what turns leaderboard numbers into reliable selection decisions.