A model version change can change behaviour: the same prompt can give different answers, and a workflow that worked can start failing. The way to tell whether the version caused it is to run the same test set on both versions, with the same prompts and settings, and compare the scores. A drop on the same test is a regression; a drop on a new test is a new problem.
Prerequisites
- A test set with known good answers, and the scores the old version got on it.
- Access to both model versions, or the old scores recorded before the change.
- The same prompts and settings for both runs.
Steps
Step 1: Keep the old scores
Before changing versions, record the old version’s scores on the test set: how many it answered correctly, and where it failed. Without old scores, a comparison is impossible.
Step 2: Run the new version
Run the new version on the same test set, with the same prompts, temperature and other settings. Save the answers side by side with the old ones.
Step 3: Compare and decide
Compare the scores: if the new version scores lower, it is a regression, and the choice is to stay on the old version, fix the prompts for the new one, or report the change. If it scores the same or higher, the version is safe for this task.
Worked example: Bluebell Bakery product questions
The fictional Bluebell Bakery tests 10 product questions on the old and new model versions.
| Version | Questions correct | Score change | Decision |
|---|---|---|---|
| Old version | 9 of 10 | Baseline | Keep as reference |
| New version | 6 of 10 | Down 3 | Regression: stay on the old version |
The new version answers 6 of 10 against the old version’s 9 of 10, a drop of 3, so the bakery stays on the old version for this task.
Expected result. Both versions are scored on the same test set, and the decision follows from the score change. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.
Limits
- Ten questions is a small test; use more before a final decision on an important workflow.
- Keep the prompts and settings identical, or the comparison measures the settings, not the version.
- This guide does not cover reporting a regression to the provider.
