A Practical Methodology for Multi-Model Evaluation and Prompt Design
Model releases now happen monthly, making any "best model" verdict expire quickly. This article presents a repeatable, incrementally updatable evaluation workflow: six orthogonal scoring dimensions with automated judges, strict control of prompt version, sampling parameters, corpus snapshot and scoring script, a three-stage screening and retest process to control cost, a shared prompt skeleton with replaceable slots, and immutable run records that support regression comparison across model versions. It also covers common misreadings of evaluation results.
1. Why “Choosing a Model by Feel” Always Fails
Model iteration now runs on a monthly cadence, and within a single generation a vendor often ships variants with different positioning—similar names, different capability emphases. One consequence follows directly: every evaluation conclusion has a shelf life. So the goal of an evaluation should not be to crown the “strongest model,” but to build a repeatable, incrementally updatable evaluation process whose conclusions refresh automatically as models change.
There are three common failure modes. The first is sample bias: testing only a handful of familiar Q&A cases, so the conclusion cannot be extrapolated to your business distribution. The second is prompt leakage: a prompt carefully tuned for one model is reused verbatim on others, so what you are actually comparing is prompt fit rather than model capability. The third is cost overrun: once long context and multi-round retries stack up, the bill far exceeds expectations and cannot be attributed to specific use cases.
2. Evaluation Design: Breaking “Feel” into Measurable Dimensions
Break capability into six orthogonal dimensions, score each one separately, and combine them with business weights at the end rather than producing a single vague total.
- Instruction following: whether format constraints, field completeness, and prohibited items are respected.
- Structured output: JSON validity, schema conformance rate, parse success rate.
- Long context: mid-section information recall, cross-segment coreference resolution, resistance to noise and distraction.
- Code ability: first-pass success rate, edge-case handling, whether dependency assumptions are reasonable.
- Reasoning under multiple constraints: satisfying several conditions simultaneously, unit and dimension consistency, self-verification.
- Stability: variance across repeated samples of the same input, and drift when temperature is raised.
The key principle is that every dimension needs an automated scorer. Human review is used only for sampled spot checks, to calibrate the bias of the automated scorers.
3. Variable Control and Budget Constraints
An evaluation must fix four kinds of variables: prompt version, sampling parameters, input corpus snapshot, and scoring script version. If any one of them changes, the full run has to be repeated, otherwise the data is not comparable. In practice, pin the parameters to a low temperature to guarantee reproducibility, then run a separate high-temperature experiment to observe stability.
For budget control, start with a small-scale screening pass: run each case once, eliminate candidates that are clearly unqualified, then apply repeated sampling only to the survivors. This keeps cost within an acceptable range while preserving statistical meaning.
Stage 1 Screening: N cases, 1 sample each, record pass/failStage 2 Retest: surviving candidates x N cases, k samples, compute mean and varianceStage 3 Review: sample 10% of failures, manually attribute failure types
4. Prompt Engineering: One Template for Every Candidate
To keep the comparison fair, prompts need a “shared skeleton plus replaceable slots.” The skeleton has five sections—role, input, constraints, output format, self-check—and the slots hold only business data.
You are [ROLE]. Complete the task based on [INPUT].Constraints:1) Use only information from the input; output null when it is missing;2) Output must be valid JSON with fields {"answer":string,"confidence":number,"evidence":string[]};3) Do not output any character outside the JSON.Self-check: verify each constraint item by item before output; rewrite if any is violated.Input: {{INPUT}}
The value of this template is that it decouples “format compliance” from “content correctness”: a parse failure is scored directly as a failure on the structured output dimension and no longer contaminates the reasoning score.
5. Archiving Results and Regression
Evaluation artifacts should be data, not documents. Have each run emit an immutable record containing the model identifier, prompt version, corpus snapshot hash, per-case scores, total elapsed time, and token consumption. With the hash, you can tell whether two results are comparable; with per-case scores, you can tell whether the regression is broad or limited to a few cases.
{"run_id": "20260101-01","prompt_version": "v3","corpus_hash": "sha256:...","scores": {"instruction": 0.91, "json": 0.97, "code": 0.78},"cost": {"input_tokens": 0, "output_tokens": 0}}
When a new model appears, just swap the model identifier and rerun the same configuration to get a vertically comparable curve. This process also fits naturally on platforms such as Baidu AI Cloud, where object storage can hold corpus snapshots, a container platform can carry batch evaluation jobs, and log and monitoring services with alerting can track failure rates and cost fluctuations, forming an evaluation pipeline that runs continuously.
6. Common Misreadings of Conclusions
Three are typical: treating a single sample as the capability ceiling; ignoring the distribution of failure types and looking only at pass rate; and letting an overall average hide weak spots, when real business workloads often depend on only one or two dimensions. The correct approach is to report per-dimension results with confidence intervals, and to state explicitly which scenarios this evaluation does not cover, so the conclusion is not over-extrapolated.
