measure(ai): score the Jev shadow and easing/violence veto against the #8341 labeller on the #8363 held-out set

Author: koala73Created Sep 22, 2026Updated Sep 24, 2026
Labelsenhancementarea: AI/intel

Why this exists

#8336 ranks further Jev uses. #8326 and #8341 both merged on 2026-09-19. This issue is the test that decides whether Jev can replace the #8341 labeller. It blocks every #8336 use case that would change a headline label.

The fresh human snapshot this issue originally asked for already exists: #8363 (merged 2026-09-19) added tests/fixtures/classify-judged-headlines-heldout.json. The relay arm is scored on it. What remains is the Jev arm and the Noul veto, scored the same way.

What is live

  • Production labels come from the relay classify seed and from classify-event. Classification uses deepseek/deepseek-v4.1-flash plus the "do not under-rate high" block (scripts/ais-relay.cjs, server/worldmonitor/intelligence/v1/classify-event.ts). Forecasts, briefs, and insights were not part of that swap (#8341).
  • Jev (jev-1.13.0) runs only in shadow behind TYPESAFE_API_KEY: one level Choice per Latin-script headline, disagreements appended to classify:jev-shadow:v1. It writes no label, cache row, or alert (scripts/lib/jev-classify-relay.cjs).
  • classify:sebuf:v6 was not version-bumped. Rows written by the old model expire within 24 hours and do not re-notify (#8341).

The held-out set

tests/fixtures/classify-judged-headlines-heldout.json (#8363):

  • 222 headlines from the live full digest of 2026-09-19 03:58 UTC, disjoint from the 413-title tuning set.
  • One independent annotator, production rubric, no model output, judged after the #8341 model and prompt were fixed.
  • 41 alert-level titles; 91 marked borderline (the clear-cut / borderline split is in the file).
  • Rule in the file's note: do not tune a prompt or a threshold against it. Once that happens it is a tuning set and a new held-out snapshot is owed.

Live relay (#8341) on it, reproducible offline with node scripts/eval-classify-labels.mjs --fixture tests/fixtures/classify-judged-headlines-heldout.json:

Slice Run Missed False Precision Recall
All 222 run 1 4 6 86.0% 90.2%
All 222 run 2 5 6 85.7% 87.8%
Clear-cut 131 run 1 0 of 28 0 100% 100%
Clear-cut 131 run 2 1 of 28 0 100% 96.4%

Same model and prompt, two runs: one missed alert apart. That is the noise floor the go/no-go has to respect.

Earlier numbers this replaces

  • #8341's table on tests/fixtures/classify-judged-headlines.json (413 titles, relay after #8341: 3 missed, 15–21 false) is in-sample: the prompt block was written after its misses were read.
  • #8336's Jev table (0 false alerts on 12 clear-cut titles vs 7 for the production LLM) is against the pre-#8341 incumbent.
  • The easing/violence Noul result (alert precision 75% → 83% at 86% recall) was scored on the 413-title set, against the pre-#8341 gate, and the violence condition was added after a miss.

Relay cost is about $0.024 per 1,000 headlines after #8341 (about $0.009 before it). A Jev level-and-category call was measured at $0.043 per 1,000. Jev is not the cheap path.

Sending low-confidence Jev answers to the cheap production model made alert precision worse at every threshold tried (#8336). Do not repeat that arm.

Do this, in order

  1. Commit the easing and violence Noul criteria (question text and the veto rule on top of the level Choice) before anyone reads the held-out labels for this work. They are not in the tree today; nothing on main defines them.
  2. Fix the Jev harness (scripts/eval-jev-classify.mjs) so a --golden run:
    • keeps the fixture's borderline flag and reports the clear-cut slice, as eval-classify-labels.mjs does;
    • excludes non-Latin titles from Jev scoring (production never asks Jev about them), and reports the same filtered set for the relay arm. The held-out set has 2 such titles, both alert-level;
    • scores the Noul veto as a third arm;
    • writes Jev outputs somewhere other than the held-out file (--capture currently rewrites it in place).
  3. Fix the Jev alert rule before the run. Use the plain level Choice (critical/high = alert), or name a single pAlert threshold now. Do not pick a threshold from alertGateSweep on the held-out set; that tunes on it.
  4. Run each arm at least twice on the held-out set:
    1. the live relay (already captured twice; re-run if the prompt hash changed);
    2. the pinned jev-1.13.0 level Choice, current criteria;
    3. the easing and violence Nouls as a veto on top of (2).
  5. Record the model id, the classify prompt hash, and a hash of the Jev question set next to the scores.

A second annotator on the alert disagreements is worth it when one is available; #8363 was also one annotator.

Do not score opinion, feel-good, ephemeral live coverage, the historical marker, a country Choice, company monitoring, or claim verification in this run.

Go / no-go

Jev replaces the relay labeller only if, on the held-out set (Latin-script titles), across its runs it beats the live relay on alert precision and misses no more alerts than the relay's worst run, on both the full set and the clear-cut slice. Otherwise it stays a shadow, and the #8336 use cases that would write a headline label wait on that result.

If the held-out set is used to tune anything (a threshold, a Noul criterion, a prompt), it becomes a tuning set: a new human-labelled digest sample is owed before the go/no-go counts. One is owed anyway before the Nouls join the production call (#8336 step 2).

Country stamping, company monitoring, and claim verification are separate issues when they are picked up. They do not wait on this go/no-go, except where they would write the shared classify cache.

Harness

  • scripts/eval-classify-labels.mjs (--fixture selects the held-out set)
  • scripts/eval-jev-classify.mjs (--golden accepts the held-out shape; see step 2)
  • tests/fixtures/classify-judged-headlines-heldout.json (222 headlines, held out, #8363)
  • tests/fixtures/classify-judged-headlines.json (413 headlines, tuning set)
  • tests/fixtures/jev-classify-golden-2026-09-18.json (255 headlines, Opus judge, pre-#8341 LLM labels)
  • tests/classify-heldout-judged-set.test.mjs pins the held-out runs to the prompt and model production sends.

Part of #8336.