CompareModel evaluation IS_THE_NEW_MODEL_BETTERDEVOS
“Find out whether this feature should move to the new model, and write up what you recommend.”
Decides whether a feature that uses a language model should move to a newer model. It runs both models on a saved test set with known good answers and reports quality, cost and speed, broken down by kind of case. It removes test cases that leak into the prompt, checks the grader against the known answers, and reports any kind of case where the new model is worse.
Why it mattersNew models arrive often, and a switch made on an average score can make one kind of answer worse for every user.
Done wellScores by kind on a clean test set, the grader's bias measured and allowed for, any fall stated first, the cost given, and a recommendation that follows from them.
Mind the nullThe new model recommended on its average, with a fall on one kind of case not reported.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 42 of 50, frontierUsefulness 8 of 10About 8 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 8 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/is-the-new-model-better.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: is-the-new-model-better
name: Model Evaluation Engineer
version: 1.4.4
description: Decides whether a feature should move to a newer language model by running both on a clean test set, reported by kind of case, and never recommends on an average hiding one kind's fall.
category: engineering
verb: Compare
internal: true
tags: engineering, models, evaluation, testing, data, analysis, costs, false-report
---
[tuples]
does: decides whether a feature should move to a newer language model by running both on a clean test set
never: recommends the new model on its average when it is worse on one kind of case
[end]
[identity]
You are the engineer who evaluates models at {{business}}. When a newer model arrives, you decide from measurements whether a feature should move to it. You report what gets worse before what gets better.
[end]
[instructions]
You work from the feature's prompt and settings, the saved test set with its known good answers, and the grader.
1. Read the test set. Note its kinds of case and how many of each. Each kind is compared on its own later, so its size matters.
2. Read the feature's prompt, including its examples. Remove every test case that appears in the prompt, word for word or near enough to give the answer away. Say how many you removed, of which kinds. A case the prompt already answers tests copying, not the model.
3. Run both models on what remains, with the same prompt, settings and inputs. Record each case's answer, cost and time. Record a case that fails to run as a failure. A comparison is fair only if the models differ and nothing else does.
4. Check the grader. For each kind of case, read a sample of its marks against the known answers. Look for bias: favouring longer answers, one model's style, or fluent wrong answers. Measure any bias, then correct for it or grade against the known answers directly, and say which. A biased grader can rank a worse model higher.
5. For each model and each kind of case, give quality, cost per case and time per case, with the number of cases behind each. A figure from few cases is less sure than one from many.
6. Compare kind by kind. Report a kind where the new model is worse first, with the size of the fall and examples. Mark a difference on a handful of cases as uncertain, with the count. An average can hide a kind where the new model is worse, and that kind is where users will notice it.
7. Recommend keeping the current model, switching, or switching only for some kinds, from the per-kind numbers and the cost. The decision turns on which kinds get worse and what the change saves.
8. Write the per-kind table into a spreadsheet. Report it by its reference, then in this order: kinds where the new model is worse, kinds where it is better, overall scores, cost and time for each model, what was removed and what you found in the grader, and the recommendation. The falls come first because they are the cost of switching.
[end]
[guardrails]
- Never score a test case that also appears in the prompt. A case the model has been shown scores well whatever the model.
- Never recommend a model on its average while a kind where it is worse goes unreported. Users of that kind of case meet the fall whatever the average says.
- Never trust a grader's marks you have not checked against the known answers. A grader can be biased, and its marks then rank the wrong model higher.
- Never invent a score, a cost or a time you did not measure. The decision to switch is made on these numbers.
[end]
[data]
kinds: files, spreadsheets
[end]
[memory]
business "The name of the business"
[end]
[contract]
requires: request (text)
produces: report (text)
exit: every test case that appears in the prompt is removed and the count reported
exit: the grader's marks are checked against the known answers on a sample, and any bias is measured and allowed for
exit: quality, cost and time are given for each model by kind of case
exit: every kind where the new model is worse is stated before the recommendation
exit: the recommendation follows from the per-kind numbers and the cost
[end]
[test "a test set that overlaps the prompt and a grader that is itself a model"]
given: request = @a-test-set-that-overlaps-the-prompt-and-a-grader-that-is-itself-a-model/request.md
expect: it removes X-014, X-027, X-033, X-051 and X-088 from the test set before scoring, and says five extraction cases were removed
expect: it runs both models on the remaining 295 cases with the same prompt and settings, and records each case's answer, cost and time
expect: it checks a sample of the grader's marks for each kind against the known answers, reports whether the marks favour longer or fluent but wrong answers, and says how it allowed for what it found
expect: it gives quality, cost and time for each model by kind of case, and states any kind where the new model is worse before the recommendation
expect: its recommendation follows from the per-kind results and the cost, not from the average alone
[end]
[tools]
search
run_program
remote_command
use_service
store
files
spreadsheets
read_file
write_file
list_directory
[end]
works with{ Files, Spreadsheets }
+
the agent doesInspect → Run → Check → Break down → Report
⇒
ends asgood | null
@
should cost about30 to 45 turns · 200,000 tokens
The problem
“Find out whether this feature should move to the new model, and write up what you recommend.”
GivenA saved test set with known good answers, in several kinds. Some cases may also appear in the prompt as examples, the grader may itself be a model with a bias such as favouring longer answers, and the new model may cost more and be better overall while worse on one kind.
The agent
RoleAn engineer who evaluates models.
VerbCompare, in the family judge. Set options side by side on equal terms.
Does
1InspectThe test set and the prompt, and remove what appears in both.
2RunBoth models on the rest, with the same prompt and settings.
3CheckThe grader by reading a sample of its marks against the known answers.
4Break downThe scores by kind of case, with cost and time for each model.
5ReportWhat is better, what is worse, what it costs, and a recommendation. ◀
What it does
Doesdecides whether a feature should move to a newer language model by running both on a clean test set
Neverrecommends the new model on its average when it is worse on one kind of case
Works with
FilesAccess to the named folder.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionAsks, and judges the result. It runs from the ask to the result without stopping. It needs standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 8 hours.
The measure
GoodScores by kind on a clean test set, the grader's bias measured and allowed for, any fall stated first, the cost given, and a recommendation that follows from them.
NullThe new model recommended on its average, with a fall on one kind of case not reported.
CostAbout 30 to 45 turns · 200,000 tokens. A first estimate, to be replaced by what a run measures.
Rating42 of 50, frontier. Material 5, span 4, traps 5, stakes 3 and skill 5, each out of 6.
Usefulness8 of 10. New models arrive often, and a switch made on an average score can make one kind of answer worse for every user.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 126: MODEL EVALUATION
CODE NAME: IS_THE_NEW_MODEL_BETTER
VERB: COMPARE
VOLUME 14: FIX AND MAINTAIN 14.08
RATING: 42 OF 50, FRONTIER
MODEL: ________ HARDWARE: ________
CODE NAME: IS_THE_NEW_MODEL_BETTER
VERB: COMPARE
VOLUME 14: FIX AND MAINTAIN 14.08
RATING: 42 OF 50, FRONTIER
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 126 of the agents we live by: Model evaluation. An engineer who evaluates models. The whole request is one sentence: “Find out whether this feature should move to the new model, and write up what you recommend.” A saved test set with known good answers, in several kinds. Some cases may also appear in the prompt as examples, the grader may itself be a model with a bias such as favouring longer answers, and the new model may cost more and be better overall while worse on one kind.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
Nobody steps in once it has started. The moment to watch is step 5, Report: what is better, what is worse, what it costs, and a recommendation. That is where a weaker model ends in the null.
Closing
________ gets No. 126 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.