Evaluating LLM Version Upgrades: Capability Assessment Methods and Model Selection Practices
This guide explains how to evaluate a new large language model release before adopting it. It covers why published benchmark scores are not enough for model selection, how to define task profiles and build evaluation datasets, which quality, format, code, latency, cost, and stability metrics to measure, and how to move from offline testing to shadow traffic and gradual rollout.
1. Why Published Benchmark Scores Cannot Be the Basis for Model Selection
Each time a new model is released, the provider typically publishes a set of benchmark results and shows several demonstration cases. This information is useful, but it answers the question “How does the model perform on a specific test set?” A team needs to answer a different question: “Can the model reliably complete our business tasks, and are the cost and latency acceptable?” These two questions are far apart.
Three main factors cause this gap.
- The evaluation set does not match real workloads: The question distribution, language style, and input length of public benchmarks often differ greatly from live requests. A model that scores highly on math problems may not handle the informal wording in customer service tickets well.
- Results are sensitive to prompts and output formats: The same model can score very differently under different prompt templates. Providers usually select the template that performs best, and a business team’s template may be different.
- Data contamination: Public test questions may already be in the training data, which inflates scores. This effect is hard to detect from the outside.
A sensible approach is to treat published metrics as a filter for shortlisting candidates, then run in-depth evaluation with your own data.
2. Define the Task Profile Before Testing
Before running any tests, the team should break its business requirements into measurable task types. Common task categories include the following.
- Text understanding and extraction: Extracting fields such as amounts, dates, and entity names from contracts, tickets, or logs.
- Structured output: Returning data in a fixed format, such as JSON or a specific table, that downstream programs can parse directly.
- Code generation and repair: Generating functions from requirements, or locating and fixing defects in existing code.
- Multimodal understanding: Recognizing text in images, reading data from charts, or identifying interface elements, and judging whether visual content meets requirements.
- Long-context retrieval: Locating passages relevant to a question in a long document and giving an accurate answer.
- Tool calling: Selecting the right external function based on user intent and filling in its parameters correctly.
Each task type needs clear success criteria. For example, the success criterion for structured output can be defined as “field completeness reaches the agreed threshold, and the output passes parsing validation.” The more specific the criteria, the more reliable the scoring.
If a task is hard to quantify, such as whether the tone of a piece of copy is appropriate, first define review guidelines, then have several reviewers score independently. Write the review guidelines as a document so that reviewers share the same understanding of what “good” means.
3. Build the Evaluation Dataset
The evaluation dataset sets the upper limit on what the evaluation can conclude. A usable dataset typically draws from three sources.
- Anonymized real requests: Sample from production logs and remove personal information and sensitive content. These samples are the closest match to the real distribution.
- Manually constructed hard cases: Design test cases for known weak points, such as extremely long inputs, ambiguous wording, or rare terminology.
- Boundary and safety cases: Include requests beyond the model’s capabilities and requests the model should refuse, to check its behavior at the edges.
Sample size depends on how much the task varies. For extraction tasks with stable formats, a few hundred samples can reveal obvious problems. For open-ended generation tasks, several thousand samples are usually needed. Stratify them by topic and difficulty so that each layer has enough cases.
Labeling needs two checks. First, the labeling guidelines must be written clearly, including decision boundaries and typical counterexamples. Second, two annotators should label key samples independently, and the team should calculate their agreement. Low agreement usually means the standard is ambiguous. Revise the guidelines before continuing to label.
The following is an illustrative sample structure. Field names can be adjusted to fit the business.
{"id": "case_00123","task_type": "structured_extraction","difficulty": "medium","input": "Original text content...","reference": {"amount": "1280.00","date": "2026-03-15"},"rubric_version": "v2"}
4. Evaluation Dimensions and Metric Design
A single score cannot capture all of a model’s characteristics. Measure each of the following dimensions separately, then combine them for an overall judgment.
4.1 Output Quality
Choose quality metrics based on the task type.
- Extraction tasks: field-level accuracy and overall exact match rate.
- Classification tasks: precision and recall, plus the main error directions shown in the confusion matrix.
- Generation tasks: use rule-based checks to find missing key facts, and track the hallucination rate, which is the share of outputs that include information not present in the input.
4.2 Format Compliance
For outputs that programs consume, format compliance matters more than semantic quality. A response with correct content that cannot be parsed is a failure from an engineering standpoint. Track the parsing failure rate, and check whether failures cluster around particular types of input.
4.3 Code Capability
Code tasks can be measured with executable tests.
- Unit test pass rate: Run the generated code in an isolated environment and calculate the share of samples that pass all tests.
- Static check pass rate: Measure how often basic problems, such as syntax errors and undefined variables, appear.
- Repair rounds: After a first failure, let the model revise its code based on the error messages, and calculate the average number of rounds needed to pass.
Run model-generated code in a sandbox. Restrict network access, file writes, and resource usage to prevent unintended or malicious code from causing harm.
4.4 Visual and Aesthetic Outputs
Visual aesthetics are subjective, so direct scoring tends to
