Skip to content
mentoor

Topic 5 of 5 · 5 min read

Planning work for the next model release

Goal: Write a plan that keeps a workflow ready to adopt the next model with a test set and a review date.

Plan for a better model by keeping a test set, keeping your workflow easy to swap, and setting a date to retest, so each release costs you an afternoon instead of a rewrite.

Check yourself · 1 of 3

What is the most useful thing to build so you can judge a new model quickly?

Choose one answer

Why it matters

Models change often. A task that fails today may work after the next release, and a model you rely on may be retired or changed. Teams that wait for "the right model" lose months. Teams that hard-wire one model into everything pay for it later. A little preparation turns each release into a gain.

How to do it

  1. Write down the job. One sentence: what goes in, what comes out, who uses it.
  2. Build a small test set. Collect 20 to 50 real examples, with the right answer or a clear pass rule for each. Include hard and odd cases, not only easy ones. This set is your "eval".
  3. Record a baseline. Run today's model on the set and save the score, cost and time per task.
  4. Keep the model swappable. Keep the prompt and the model name in one place, not scattered through your tools. Avoid tricks that depend on one model's quirks.
  5. Set a review date. Retest at each major release, or every quarter, whichever comes first. Compare against the baseline, not against a feeling.
  6. Decide the switch rule up front. For example: switch if the score rises by 5 points or cost falls by 30%, and no hard case gets worse.

For engineers, the swap point can be a few lines:

MODEL = "model-name-here"  # one place to change
cases = load_cases("evals/invoices.jsonl")
passed = sum(check(run(MODEL, c.input), c.expected) for c in cases)
print(f"{MODEL}: {passed}/{len(cases)} passed")

Before and after

Before: "We'll look again when a better model comes out."

After: "Our invoice-check workflow has 40 test cases, a baseline of 31 passes at $0.04 per case, and the model name sits in one config line. On the first of each quarter we rerun the set on new models and switch if the pass count rises by 3 with no hard case lost."

What goes wrong

  • No test set. You cannot tell if a new model is better, only that it feels different.
  • Judging by one lucky answer. One good reply says little; use the whole set.
  • Over-fitting the prompt to one model. A prompt full of one model's workarounds can fail on the next.
  • No review date. Plans without dates are not carried out.
  • Switching without checking the hard cases. A higher average can hide a new failure on the cases that matter.

Examples

A one-page plan for a support team

Job: draft replies to refund requests. Test set: 30 past tickets with the approved answer. Baseline: 22 of 30 acceptable, 45 seconds of review each. Review date: first Monday of each quarter. Switch rule: 26 or more acceptable and no policy error on the 5 hard cases.

What a retest changes

A new model scores 29 of 30 on the set at half the cost, but it breaks the rule on one hard refund case. The switch rule says no regression on hard cases, so you keep the old model for that class and use the new one for the rest.

Key points

  • A small real test set, a baseline and a review date make each new model a measurable decision.
  • Keep the model name and prompt in one place so a swap is a small change.
  • Decide the switch rule before testing: score gain, cost drop and no regression on hard cases.
  • Retest at each major release or on a regular date, whichever comes first.
  • Avoid prompts that depend on one model's quirks, since the next model may not share them.

Common mistakes

  • Waiting for a better model instead of building a test set now.
  • Judging a new model by a few chats rather than the full set.
  • Scattering model names through code and tools so a swap becomes a rewrite.
  • Setting no review date or switch rule.

Check yourself · 2 of 3

Where should the model name live in your workflow so a swap is easy?

Choose one answer

Check yourself · 3 of 3

A new model raises your test score by 4 points and halves the cost, but fails one of your five hard cases that the old model passed. Your switch rule says "no regression on hard cases". What do you do?

Choose one answer

Practice items, not counted towards your mastery.

Start here