Before Switching AI Model Versions: Regression Tests on a Held-Out Set with Human Graders
When a provider ships a new model version or retires the current one, test both on a 200-case held-out set, have people grade blind, write pass criteria before seeing results and prepare a rollback, following the Measure function of the NIST AI RMF.
Published by Mentrix Digital ·

Key points
- A better overall score does not mean the switch is safe. Check, by task type, whether the new version makes serious errors on cases the current version handled correctly.
- The test set is held out and never used to tune prompts, and graders are not the developers: they score blind to which version wrote each answer, against criteria written before the run.
- Switch through a setting that can be reversed at once, name the rollback signals and who can call a rollback in advance, and know the date the current version stops being served.
The provider retires the current version, and a few spot checks are not enough
A fictional distributor of industrial pump spare parts uses an AI assistant to draft replies to dealer emails. Most questions are which pumps a part fits, when stock will arrive and what the return terms are. AI drafts from the approved catalogue and policies, and a salesperson edits every reply before it goes out. One day the model provider announces a retirement date for the version in use and recommends a newer one. The developer tries a dozen questions on the new version and reports that it “answers better”. The owner's question is: better at what, and is anything worse? This is a hypothetical scenario, not client work.
NIST's Artificial Intelligence Risk Management Framework (AI RMF 1.0) (NIST AI 100-1, https://doi.org/10.6028/NIST.AI.100-1) organises AI risk management into four functions: Govern, Map, Measure and Manage. The Measure function uses quantitative, qualitative or mixed-method tools to analyse, assess, benchmark and monitor AI risk and related impacts. Its subcategories speak directly to a version switch: MEASURE 1.3 involves internal experts who were not front-line developers of the system, or independent assessors, in regular assessments, and MEASURE 2.1 documents the test sets, metrics and details of the tools used in testing. The framework is voluntary. This article uses it as a structure for thinking and does not claim that following these steps amounts to full conformance.
This differs from initial acceptance testing, which asks whether a system is good enough to launch. A regression test asks whether this change has turned things that were right into things that are wrong. So run both versions on the same set under the same conditions and look at differences case by case, instead of comparing overall scores from two runs at different times on different sets.
Acceptance testing an AI assistant before first launch is covered in the policy AI assistant acceptance guide →
A 200-case held-out set, split by task and risk
Build the set from past real emails with names, phone numbers and customer details removed. Each case has a reference answer written by a senior salesperson from the current catalogue and policies, marking which facts must not be wrong, such as part numbers, compatible pump models and electrical conditions. The mix should reflect risk, not just frequency: compatibility questions are not the most common, but a wrong answer sends the wrong part to a site. A sample split of 200 cases:
- Part compatibility, 80 cases, including pump models with similar names that differ between 50 Hz and 60 Hz, and parts superseded by a new number.
- Lead times, 50 cases, where the answer must cite the stock data provided and never commit to a date the data does not support.
- Returns and warranty, 40 cases, which must match the approved policy version.
- Must-escalate, 30 cases, such as requests for special discounts, pumps damaged in service or questions the catalogue cannot answer. The correct output is a draft saying the matter will be passed to the responsible person, not an answer.
- Keep this set where the developer does not use it while tuning prompts, with a separate development set for trying fixes. If the set is rerun many times, replace part of it each quarter, because a set used for every decision slowly becomes the set the team tunes the system to pass.
- Record the set's version, date and who wrote the reference answers, so results from each round can be compared.
If you want a test set built from your own work and version comparisons run before any switch, see Custom AI Solutions for Business →
Grading blind to the version
Run both versions with the same prompt, the same reference documents and recorded settings. Name each model by its specific version identifier, not an alias the provider may point at a newer model at any time. Then shuffle the order of answers and label them X and Y instead of version names, with the key held by one coordinator.
Two graders are salespeople who answer these questions every day, not the developer who tuned the system. Each grades every case independently against criteria written in advance: usable with light edits, needs heavy edits, or contains a critical error. Critical errors are defined precisely: stating a part fits when it does not, or the reverse; committing to a delivery date the data does not support; citing a policy or price not in the documents; and answering a case that must be escalated. After grading, check how often the two graders agreed. Below 85% means the criteria are still ambiguous, so fix them and regrade before drawing conclusions. The sales lead settles disagreements and writes down why.
Pass criteria written before anyone sees results
The owner, the sales lead and the developer agree and date these criteria before the run. The new version must pass every one; failing any is a fail, and strong results elsewhere do not compensate:
- Total critical errors for the new version must not exceed the current version's.
- In part compatibility there must be no new critical errors at all: cases the current version got right and the new one gets wrong must be zero.
- The rate of answers usable with light edits must not fall more than 2 percentage points below the current version, overall and in each category.
- Of the 30 must-escalate cases, the new version must escalate at least 28, and no fewer than the current version.
- Every part number in an answer must match the reference documents character for character, 100%.
- Response time at the 95th percentile and cost per 100 drafts are recorded and stay within the owner's budget.
If you want version-switch decision criteria agreed with management before testing starts, see AI Strategy & Consulting →
A hypothetical result: a better overall score, but no switch yet
The following figures are a hypothetical example to show how to decide, not results from a real system. The current version produces answers usable with light edits in 176 of 200 cases, 88.0%; the new version in 183 of 200, 91.5%. On the must-escalate cases, the current version escalates 27 of 30 correctly and the new version 29 of 30. On these numbers alone, the new version looks clearly better.
Now the critical errors. The current version has 3: 2 on lead times and 1 answering a case it should have escalated. The new version has 4: 1 on lead times and 3 on part compatibility, 2 of which the current version answered correctly. In one, the new version says a seal kit fits both the 50 Hz and 60 Hz versions of a pump, while the catalogue says it fits only the 50 Hz version. So the new version fails the first and second criteria despite the higher overall score, because its new errors are in the category that ships the wrong part, and salespeople used to the current version may not be watching for them.
Next, the developer investigates using the development set, not the held-out set, for example changing how the compatibility table is retrieved so electrical conditions come with it. The fixed system is a new candidate: rerun the whole held-out set and grade blind again. If the current version's retirement date approaches and the candidate still fails, the owner decides, for example by routing every compatibility answer through a senior salesperson temporarily or by evaluating another model. The developer should not lower the criteria to meet the date.
The rollback plan and the first two weeks
Once the new version passes every criterion, switch through a setting that records the version identifier rather than edits in several places in the code, and rehearse a rollback on a test system at least once before the real switch. Rollback is possible only until the current version's retirement date; after that, the fallback is stricter human review of every draft, not the old version. Write that down too.
In the first two weeks, every reply still goes through a salesperson before sending, and the system logs whether each draft needed heavy or light edits. The rollback signals and who can call a rollback are set as follows:
- Any critical error reaches a dealer, even once: the sales lead may order a rollback immediately, without waiting for a meeting.
- The heavy-edit rate for compatibility drafts exceeds the previous version's baseline by more than 5 percentage points once 100 drafts in that category are counted: roll back and investigate.
- Salespeople report the same kind of wrong answer more than 3 times in a week: pause to investigate, and add that case to the next test round.
- The developer carries out the rollback on instruction, logging the time, reason and who ordered it every time.
- Drafts already sent are not recalled automatically. If one turns out wrong, the salesperson contacts the dealer to correct it.
- After two weeks with no signals, write up the outcome with real figures and keep the results, test set and settings together for comparison at the next version switch.
If you want draft edits logged and alerts raised when a rollback threshold is reached, see Automation & Business Software →
Choosing thresholds from the cost of each kind of error, using a held-back test set, is covered in the urgent ticket routing acceptance guide →


