claudio.cool
CCAR-PLessons

CCAR-P · Evaluation, Testing, and Optimization

Migrating model versions, pin, re-tune prompts, re-baseline evaluations or defer

⏱ 3 min readDraft

The provider announces the deprecation of the model the claims classifier runs on, with retirement in four months. The team tests the successor version with its 600-case suite: overall accuracy goes from 93% to 92%, but one category (claims with attachments) drops from 90% to 74%, and the new version answers with a slightly different format: it used to return “APPROVED” and now returns “Approved.”. The first things asked for in the meeting are “let’s migrate now” or “let’s stay on the old model”. Neither is a decision until you look at the results.

Four possible responses

Response What it is When it applies
Pinning Using the identifier of a specific version, not an alias that can move To get stability while the migration is prepared; it is temporary: it ends on the retirement date
Re-tune the prompts Adapt instructions, examples and format to the new version When the regression comes from prompt sensitivity (a category failing because the instructions assumed the old behavior)
Re-baselining the evaluations Update the expected outputs and the baseline When the difference isn’t an error but a legitimate change (a different format, other wording) that the tests penalize for no reason
Defer Postpone the migration Only if the timeline allows it and there is a real blocker; never beyond the retirement date

How to decide

  1. Read the timeline. The retirement date is the hard constraint. The whole plan is built backwards from it, with room to repeat tests.
  2. Run the regression tests on the candidate with the same set and the same criteria as the current version.
  3. Classify each difference. Is it a real regression, a prompt sensitivity or an outdated expectation? In the example, the format is an outdated expectation (re-baseline or normalize the output in code), and the drop in attachments is prompt sensitivity or a real regression: re-tune and measure again.
  4. Re-evaluate and roll out gradually. With the re-tuned prompt, rerun the full suite; migrate a bit at a time, with a way back until the retirement date.

What you don’t do: migrate without tests because “it’s the official successor”, pin the version and forget about it, or re-baseline the evaluation so the numbers look good when what dropped is a real capability. If the drop is real and the prompt doesn’t recover it, the answer is routing or a business decision, not hiding it.

Behavioral drift

Even without a retirement, behavior can change when an alias points to a new version. That is why production integrations use a specific version and the regression suite runs on every version change and every so often against the pinned version, to detect drift before users do.

The usual traps

  • Switching models the day before retirement.
  • Taking the global average and not looking by category.
  • Re-baselining to cover a real regression.
  • Pinning the version as a permanent solution.
  • Re-tuning the prompt without rerunning the whole suite.

In the exam

Locate the deadline first, then the results by segment. If there is time and a localized regression, the answer is re-tune and measure. If what changed is a legitimate format, re-baseline. If preparation is still pending, pin temporarily. Defer only when there is time available.

Quick question

A practice exam question on this domain. It counts towards your progress.

A team compares prompt A and prompt B for an extraction task. In a first pass with one run per case, B scored 2 points higher, but rerunning prompt A alone changed its score by 3 points, so the gap is within noise. The model runs at the temperature used in production.

The budget allows 1,500 model calls in total, and the team has a pool of 750 labeled cases. They want an interpretable comparison rather than another ambiguous result. The documents are supplier contracts, and the labels were verified by two reviewers.

Which experimental design gives the clearest comparison within the budget?

Practise this domain in a practice exam →