/eval-plan refuses gpt-4o and older-generation models in every role, and asks for 100 judge labels from 2026-11-22 (GST-3384) (#4630)

/eval-plan now refuses gpt-4o and older-generation models in every role
a plan picks (arms, judge, readers, simulators) and names the
replacement; a competitor tested as its vendor ships it keeps its
built-in model on its own arm.

Why: eval numbers should come from current frontier models, and from
2026-11-22 a model judge must agree with 100 hand labels, not 40.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: lib/eval-plan-checks.ts:153:functional-contract reader=qa
Review-Finding: p1/red-team#2 reader=red-team
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-21 21:33:01 +00:00
1 parent 79eea6d5fc
commit 5db285c1a4
71 files changed
+458 -139

No files matched your search

+39 -4
View File
@@ -2094,7 +2094,7 @@ refusal from `bin/gstack-eval-plan` (logic in `lib/eval-plan-checks.ts` and
| Check | When it runs | Refusal |
|---|---|---|
| `## Decisions`: one `if <result>: <what we do>` line per possible result, at least two, with different actions | `prereg --check`, before anything is spent | `PREREG_INCOMPLETE` |
| `## Scoring`: `judge: none`, or a judge model from another family than every arm with `labels:` (40 or more) and `agreement:` (kappa 0.6 or more); with two or more arms, `paired: yes`, `interval: 95%` and `mdd:` stated before the run | `prereg --check` | `PREREG_INCOMPLETE` |
| `## Scoring`: `judge: none`, or a judge model from another family than every arm with `labels:` (100 or more; 40 for a plan frozen before 2026-11-22) and `agreement:` (kappa 0.6 or more); with two or more arms, `paired: yes`, `interval: 95%` and `mdd:` stated before the run | `prereg --check` | `PREREG_INCOMPLETE` |
| The judge's Cohen's kappa against `{"id", "human", "judge"}` hand labels, at the preregistered count and bar | `judge --check` before the approval ask; `results --check --labels` before any number goes out | `EVAL_JUDGE_UNCHECKED` |
| A zero in any results table comes from a column named after a `## Diagnostics` counter whose synthetic fixture plants at least one case (expected 1 or more) | `results --check` | `EVAL_REPORT_UNPLANTED_ZERO` |
| A results table with a failures column also has an `answer-only` column: failures by the grader's own rule on the final answer | `results --check` | `EVAL_REPORT_NO_ANSWER_ONLY` |
@@ -2171,9 +2171,32 @@ preregistration says it is asking about that tier.
can't carry a KEEP, FIX-METHOD or CUT-CANDIDATE verdict under R48. Rerun it on a
frontier model first.
**What the rule leaves alone.** Judges, cross-family review voices and a
harness's shipped housekeeping model aren't models under test, so they keep the
model they already use.
**No older generations in any role we choose (R116).** Garry, 2026-11-21: "Can
we suspend tests with gpt-4o and audit our models? We should be using frontier
models and mainly focused on opus 5.5 or whatever model is like that at the
current moment." So no plan uses gpt-4o (any variant, snapshot or provider
form), or any model `lib/pricing.ts` marks `superseded_by`, as an arm, a judge,
a reader or a simulator. A row is marked when a newer major generation of its
family has its own row (`claude-opus-4-7` → `claude-opus-5-5`, `gpt-5.4` →
`gpt-6.2-sol`, `gemini-2.5-flash` → `gemini-3.8-flash`); a point release in
the same generation is not, so `gpt-6-astra` stays a valid judge beside
`gpt-6.2-astra` and `claude-fable-5-1` stays current until Fable 5.2 has a
price row. Readers and simulators go in an optional `## Models` section as
`reader: <model>` and `simulator: <model>` lines.
The one exception: a competitor system tested as its vendor ships it keeps its
built-in model. Name it on a `vendor-default: <model> <system>` line in `## Models`
(for example `vendor-default: gpt-4o-mini Mem0 1.2 as shipped`). It covers that
system's arm only: the arm whose loadout names the system (`gpt-4o-mini#mem0`),
never a plain or `#no-gstack` arm on the same model, a judge, a reader or a
simulator. `prereg --check` prints
it as `MODEL_EXCEPTION:`, and `results --check` refuses results that never name
the model. Published rows measured on gpt-4o stay up, labelled with the model
they ran; a plan with a `frozen:` date before 2026-11-21 keeps the models it
named.
Cross-family review voices and a harness's shipped housekeeping model aren't eval
roles a plan chooses, so this check doesn't read them.
**The check.** `gstack-eval-plan dry-run` prints `CHECK: frontier` whenever an arm
is Haiku or Sonnet. When every arm is one, the dry run fails unless
@@ -2184,6 +2207,18 @@ compare it with the brief cap before any arm is swapped. `pilot start` refuses a
pilot whose every arm is Haiku or Sonnet unless its dry run recorded a tier
question.
For R116, `prereg --check` prints `MODEL_GENERATION: refused <model> role=<role>
replacement=<model>` for each refused use, adds `models=refused` to its `PREREG:`
line and exits 1 with `EVAL_MODEL_OLD_GENERATION`. `dry-run` prints `CHECK:
model-generation refused …` and fails, and `pilot start` refuses an
older-generation arm even when its dry run passed on other arms.
**Judge labels (R78 amendment).** Garry approved on 2026-11-21: a plan frozen on
or after 2026-11-22, or with no `frozen:` line, checks its model judge against at
least 100 hand-labelled outputs before the judge's numbers count. The kappa bar
stays 0.6. A plan frozen earlier keeps 40. `prereg --check`, `judge --check` and
`results --check` all read the bar from the plan's `frozen:` date.
## Running evals as an agent: detach
Moved verbatim from CLAUDE.md (#2096 size limit). The short rule stays in
+14 -6
View File
@@ -5189,7 +5189,8 @@ a `why:` line, and when a `## Diagnostics` declaration is malformed. The
result checks add two more (`decisions:` and `scoring:` in the message):
`## Decisions` needs two or more `if <result>: <action>` lines with different
actions, and `## Scoring` needs a `judge:` line, a model judge from another
model family than every arm with `labels:` of 40 or more and `agreement:` of
model family than every arm with `labels:` of 100 or more (40 for a plan
frozen before 2026-11-22) and `agreement:` of
0.6 or more, and with two or more arms `paired: yes`, `interval: 95%` and
`mdd:`. A `frozen:` date before 2026-11-15 exempts both
([docs/TESTING_INTERNALS.md](TESTING_INTERNALS.md#result-checks)). The
@@ -5243,7 +5244,8 @@ in [docs/TESTING_INTERNALS.md](TESTING_INTERNALS.md#no-gstack-arm).
**Meaning.** The preregistration's `## Scoring` names a model judge, and
`gstack-eval-plan judge --check` or `results --check` found no `--labels`
file, fewer labelled outputs than the preregistered count (at least 40), labels
file, fewer labelled outputs than the preregistered count (at least 100, or 40 for a
plan frozen before 2026-11-22), labels
that are all one class (agreement is undefined), a repeated id, or a Cohen's
kappa between the hand labels and the judge below the preregistered bar (at
least 0.6). With `per-arm: yes` in `## Scoring`, it also refuses a label row
@@ -5925,11 +5927,17 @@ edit `.gstack/eval-models.json` in a reviewed PR.
<a id="eval-model-old-generation"></a>
### `EVAL_MODEL_OLD_GENERATION`
**Meaning.** The rules declare `families` (newest first), and an arm uses an id
that is not the first one in its family.
**Meaning.** One of two rules refused a model. R116: a preregistration's arm,
judge, reader or simulator, or a dry-run or pilot arm, is gpt-4o (any variant or
snapshot) or a model `lib/pricing.ts` marks `superseded_by`; the
`MODEL_GENERATION:` line names the model, its role and the replacement. Or the
eval model rules declare `families` (newest first), and an arm uses an id that
is not the first one in its family.
**Fix.** Use the family's newest id, which the `EVAL_MODEL:` line names. If the
order is wrong, fix `families` in a reviewed PR.
**Fix.** Use the replacement the `MODEL_GENERATION:` or `EVAL_MODEL:` line names.
A competitor system tested as its vendor ships it keeps its built-in model with a
`vendor-default: <model> <system>` line in `## Models`; the results must name it.
If the `families` order is wrong, fix it in a reviewed PR.
<a id="eval-model-generation-unresolved"></a>
### `EVAL_MODEL_GENERATION_UNRESOLVED`