How to Evaluate Large Language Models Without Falling into Common Traps
This article explains why running a large batch of test questions does not produce a valid model evaluation, and how to fix the underlying problem: a broken evaluation design. It covers four requirements for a usable benchmark (discrimination, objective gradability, repeatability, and attributability), a six-dimension framework with three difficulty tiers, an automated pipeline from question bank to report with sample grading code, and the statistical rules for repeated runs, variance, and confidence intervals. It also lists common pitfalls such as question-author bias, prompt leakage, overly strict graders, and runaway cost, and closes with practical advice on treating evaluation as a versioned, reproducible engineering asset.
1. Why “Running a Pile of Questions” Is Not a Valid Evaluation
A new generation of general-purpose LLMs has recently arrived with tiered positioning: one class emphasizes frontier reasoning and complex task handling, while another emphasizes cost efficiency in high-frequency everyday scenarios. When many teams get their hands on a new model, their first instinct is to run a quick “real test,” and the results tend to fall into one of two extremes: either every question is answered correctly and no difference between models is visible, or the conclusion depends entirely on the preferences of whoever wrote the questions and cannot be reproduced.
The process described in the original text is a typical counter-example: the questions were generated automatically by another model, were too easy, and lacked discrimination, so the only possible conclusion was the vague finding that “the two are not very different.” The core problem here is not that the models are weak, but that the evaluation design failed. Evaluation is measurement; if the measuring instrument is not fit for purpose, the data has no explanatory power.
A usable evaluation plan must satisfy at least four conditions:
- Discrimination: the difficulty distribution of the questions must cover the boundary of model capability, not consist entirely of easy passes;
- Objective gradability: objective questions must be judged unambiguously by a script, avoiding subjective disputes;
- Repeatability: call the same question multiple times and record the variance instead of taking a single result;
- Attributability: a failure must be traceable to a specific capability dimension, not collapsed into one overall score.
2. Rebuilding Evaluation Dimensions: Six Dimensions and Difficulty Tiers
Breaking coarse labels like “reasoning, writing, code” into actionable dimensions is the first step to raising information density. A six-dimension framework is recommended, with three tiers in each dimension: basic, boundary, and trap questions.
- Reasoning and math: basic questions test routine computation; boundary questions test multi-step derivation and unit conversion; trap questions plant distractors that “look like they need a complex formula but actually only require simple logic.”
- Hallucination and honesty: pose questions with insufficient information or false premises, and observe whether the model admits uncertainty and points out the contradiction in the premise, rather than fabricating citations and data.
- Instruction following: stack format constraints, length constraints, prohibitions, and conflicting priorities in the prompt, and check whether the model’s trade-offs under multiple constraints are predictable.
- Code ability: look beyond whether the code runs to boundary conditions, exception handling, complexity, and naming readability, and quantify with unit test coverage and case pass rate.
- Information extraction: give semi-structured text, require structured output with fixed fields, and score with field-level accuracy and type correctness.
- Chinese writing: specify genre, audience, length, and banned expressions, and evaluate with a combination of human and automatic metrics.
An empirical ratio for the difficulty tiers is 4
2 — forty percent basic questions to guarantee a floor, forty percent boundary questions to spread the models apart, and twenty percent trap questions to test robustness. If basic questions make up too large a share, you get the “all correct, no discrimination” situation.
3. An Automated Evaluation Pipeline: From Questions to Report
The key to engineering the evaluation is to let the machine handle the gradable parts and reserve human effort for subjective items. The recommended flow:
question bank (with metadata) -> scheduler (rate limiting/retry) -> model call-> objective grading script -> subjective review queue -> summary report
Question metadata should include at least id, dimension, difficulty, expected (for objective questions), constraints (instruction constraints), and tags. The scheduling layer needs to handle rate limiting and failed-call retries, and should record the latency and output length of every call; this data often explains model differences better than the scores do.
A sketch of objective grading:
def grade_objective(item, answer):if item["dimension"] in ("math", "code", "extract"):return 1.0 if check(item["expected"], answer) else 0.0if item["dimension"] == "instruction":# Verify each constraint and score by the proportion satisfiedpassed = [c for c in item["constraints"] if c.verify(answer)]return len(passed) / len(item["constraints"])return None # Subjective questions go to the human queue
Do not assign a single overall score to subjective questions. Instead, split them into four separately scored items — factual consistency, structural completeness, style fit, and redundancy — and then weight them. This way, even when models are close, you can still see which item the difference shows up in.
4. Statistical Practice: Repeated Calls, Variance, and What “1.5 Points” Means
The original text mentions that the two models differed by only 1.5 points and asks what those 1.5 points can do. The rigorous answer is: a difference of a fraction of a point up to about one point from a single run usually falls within the noise range and is not enough to support a conclusion that “one model is stronger.”
Recommended statistical practice:
- repeat each question 3–5 times per model, and record the mean and standard deviation;
- report confidence intervals rather than a single mean;
- use pass rate for objective questions and mean ± variance for subjective questions;
- if the confidence intervals of two models overlap, the conclusion should read “no significant difference under the current question set.”
Sketch:
import statistics as stdef summarize(runs):return {"mean": round(st.mean(runs), 3),"stdev": round(st.pstdev(runs), 3),"n": len(runs),}
When discrimination is insufficient, the correct action is to add difficulty, not to add more questions. Repeating the same basic question twenty times only shrinks the variance and makes you more confidently wrong.
5. Common Pitfalls and How to Avoid Them
- Question-author bias: generating questions with a given model unconsciously fits that model’s own habits. Humans should lead the authoring, with models used only to expand the candidate pool.
- Prompt leakage: different prompt styles across models directly contaminate the comparison. Use the same system prompt, the same sampling parameters such as temperature, and the same context length.
- Overly strict grading scripts: differences in the format of math answers (fractions versus decimals) cause misjudgments, so equivalence normalization is needed.
- Runaway cost: use stratified sampling — first screen out non-discriminating questions with a small sample, then increase the number of repetitions for the questions you keep.
- Reporting only a total score: a total score hides structural differences, so you must output dimension-level radar data and failure samples.
6. Conclusion: Treat Evaluation as a Reproducible Engineering Asset
Faced with new models that are tiered in positioning and differ severalfold in price, the most likely real conclusion is that “performance is close on most routine tasks, and the differences concentrate in depth of detail and stability on long-chain tasks.” This is not a failure of the models, but a signal that the evaluation questions are not difficult enough.
The practical advice for developers and enterprise users is to build a versioned question bank and grading scripts, bring evaluation into continuous integration, run it automatically on every model version update, and keep the reports; when selecting a model, weight the dimensions according to your own business distribution instead of copying a generic leaderboard. If you need to store evaluation data and reports, you can use object storage to keep raw outputs, a message queue to smooth out task spikes, a container platform to run grading jobs, and logging and monitoring with alerting to track call success rate and latency — turning evaluation from a one-off activity into a long-term, reproducible engineering capability.
