A Practical Methodology for Evaluating Large Language Models: Beyond the Top Score

    This article explains why a single aggregate score can mislead model selection and how to build a reproducible evaluation system instead. It covers a five-layer evaluation design, the role of blank-answer rate as a stability signal, instruction following under multiple constraints, tool and agent workflow reliability, coding and reasoning benchmarks, and the often-underestimated impact of the surrounding framework. It closes with a deployment checklist for turning evaluation into a repeatable engineering asset.

    1. Why the Highest Score Is Not the Best Experience

    In large language model selection, a common mistake is treating the aggregate score as the only conclusion. In one evaluation covering four models, roughly 920 tests per model, more than 800 original questions, and 11 capability dimensions, the leader scored about 91.5 overall, only 0.64 points ahead of the second place. That gap is statistically weak, yet it is easily read as a “comprehensive lead.”

    The breakdown matters more. The leader ranked first in instruction following, hallucination resistance, and tool and command-line workflows, but fell behind competitors in coding and complex reasoning, which are closer to real production scenarios. In other words, there is a structural mismatch between the total score and real-world reputation. For engineering teams, the correct reading order is: first check whether the weights match your business, then check whether the sub-scores match your high-frequency scenarios, and only then look at the total.

    2. Minimum Viable Design for an Evaluation System

    A reproducible evaluation system needs at least five layers:

    1. Question bank layer: a fixed set of original questions to keep results comparable across models and versions;
    2. Execution layer: unified output limits, timeouts, and retry policies;
    3. Judging layer: actually run command and code tasks; score content tasks with an auxiliary model plus human review;
    4. Scoring layer: count low scores and blank answers in the final results, avoiding “no answer at zero cost”;
    5. Archiving layer: keep answers, execution logs, and intermediate artifacts for later audits.

    A schematic scoring logic can be abstracted as:

    1. weights = {"instruction": 0.15, "tool": 0.15, "code": 0.20,
    2. "reasoning": 0.20, "agent": 0.15, "safety": 0.15}
    3. def final_score(answers, runs):
    4. total = 0.0
    5. for dim, w in weights.items():
    6. valid = [a for a in answers if a.dim == dim]
    7. if not valid:
    8. continue
    9. s = sum(score_of(a, runs) for a in valid) / len(valid)
    10. total += w * s # blank answers stay in the denominator and are scored as final submissions
    11. return total

    The key point is that blank answers must stay in the denominator. If they are excluded, a model can raise its average simply by “answering fewer hard questions,” and the evaluation will systematically favor conservative behavior.

    3. Blank-Answer Rate: An Underrated Stability Metric

    In the evaluation above, the leading model produced body text in every test and had the fewest blank answers. Blank-answer rate matters because it reflects three things at once: stability under long context, behavioral tendency when facing uncertain questions, and the number of engineering-side failures such as truncation and timeouts.

    In production, a blank answer often means a failed call, a retry cost, or even user churn. It is therefore advisable to put blank-answer rate, truncation rate, and tool-call failure rate alongside accuracy as core operational metrics, rather than watching accuracy alone.

    4. Instruction Following: Satisfying Multiple Constraints at Once

    The highest instruction-following score was close to 99.1. This dimension tests whether a single response can satisfy several explicit requirements at once, such as format, fields, ordering, boundary conditions, and prohibitions. The capability maps directly to structured output scenarios:

    1. {
    2. "title": "string, non-empty",
    3. "summary": "80-150 characters",
    4. "tags": ["string"],
    5. "meta": {"lang": "zh", "version": "1.0"}
    6. }

    The engineering recommendation is to break constraints into verifiable assertions, replacing subjective judgment with schema validation and rule checks, and to add automated assertions for details such as trailing newlines, field naming, and escape characters. These details are exactly where points are most often lost.

    5. Tool and Agent Workflows: Stability Beats Cleverness

    On the tool and command-line workflow dimension, the leader scored about 93.8; on agent workflows it scored about 95, second only to the best performer at about 96.8. The real gap shows up in failure handling: some models repeatedly submit the same failing request after an error, some miss parameter details so a subtask is never created, and some fail to write manual content to the required destination.

    Practical engineering constraints include:

    • Enforce parameter schema validation and return a structured error on failure;
    • Add circuit breaking and backoff for repeated failures on the same request;
    • Turn “write to target, create subtask, trailing newline” into observable checkpoints;
    • Keep complete call-chain logs to determine whether the issue is the model or the framework.

    It is worth noting that agent-loop tasks often have very small sample sizes (for example, only five tasks, all perfect), which is not enough to support strong conclusions. Expand the sample and introduce confidence intervals.

    6. Coding and Reasoning: Hard Metrics Close to Production

    The highest coding score was about 82.8, with the leader at about 80.5; the highest reasoning and math score was about 98.9, with the leader at about 96.4. These numbers show that gaps between models widen on tasks requiring long-chain correctness, cross-file changes, and boundary-condition handling.

    The recommended approach is to judge by actual execution: unit test pass rate, compile success rate, number of static-check warnings, and patch applicability are more reliable signals than human impression. For reasoning tasks, fix the prompt and sampling parameters, and sample multiple times and average the results to reduce randomness.

    7. The Framework and Harness Effect Is Often Underestimated

    A counterintuitive but important conclusion is that, compared with sub-point differences between models, the evaluation and runtime framework has a more visible impact. The same model can show a wider or narrower gap under a better agent framework. This means selection cannot look at the model alone; it must also consider the engineering framework that carries it: context management, tool orchestration, error recovery, and retry and caching strategies all directly change the final experience.

    A two-dimensional “model x framework” evaluation matrix is therefore recommended instead of a single-model comparison:

    1. Framework A Framework B Framework C
    2. Model 1 91.5 93.0 92.1
    3. Model 2 90.9 92.4 91.7

    8. Conclusion and Deployment Checklist

    Overall, the value of evaluation is not producing a ranking but exposing structural weaknesses. In practice, stick to four rules: customize weights by business scenario; count blank answers and low scores strictly; always run code and command tasks for real; and evaluate models and frameworks jointly while archiving all execution records. If you care about general capability delivery and toolchain stability, prioritize instruction following and tool workflow performance; if your focus is complex coding and hard reasoning, raise the weights for coding and reasoning, and then combine them with general capabilities such as the container platform, log service, and monitoring and alerting offered by Baidu AI Cloud to turn the evaluation pipeline into a sustainable engineering asset.