Calibrate rescore forces the judge to level 'low', so calibration measures a cheaper judge than the suite runs
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 90/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Apri skills/Calibrate/Tools/Calibrate.ts alla riga 624, dentro judgeText, e trova il Promise.all su judged che passa { level: 'low' } come terzo argomento a judge. Confrontalo con il default in skills/Assay/Tools/Judge.ts (opts.level ?? 'high') per confermare che l'override è l'unica cosa che abbassa il livello. Rimuovi quell'argomento, poi riesegui la sonda stub bun -e dell'issue: fatto quando stampa judge opts: undefined ed esce con 0.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version
LifeOS 8.761.0 · attestation: 27 system file(s) differ from danielmiessler/[email protected] · 2 system file(s) missing:
- hooks/VerificationGate.hook.ts
- hooks/FormatGate.hook.ts
- skills/LifeOSHooks/hooks/lib/build.ts
- skills/LifeOS/SKILL.md
- skills/Calibrate/Tools/Calibrate.ts
- skills/Calibrate/Tools/Calibrate.help.md
- skills/X/Tools/x-client.ts
- LIFEOS/TOOLS/MemoryWriter.ts
- LIFEOS/TOOLS/LearningPatternSynthesis.ts
- LIFEOS/TOOLS/models.ts
- LIFEOS/TOOLS/SessionTree.ts
- LIFEOS/TOOLS/model-pricing.json
- LIFEOS/DOCUMENTATION/Tex/TexSystem.md
- LIFEOS/DOCUMENTATION/Setup/Finances.md
- LIFEOS/DOCUMENTATION/ARCHITECTURE_SUMMARY.md
- LIFEOS/DOCUMENTATION/Services/BackgroundServices.md
- LIFEOS/ERRATA/Signals.ts
- LIFEOS/RELAY/bridge/README.md
- LIFEOS/RELAY/bridge/send.ts
- LIFEOS/RELAY/bridge/index.ts
- LIFEOS/RELAY/bridge/handler.ts
- LIFEOS/RELAY/bridge/thread.ts
- LIFEOS/STATUSLINE/State.ts
- LIFEOS/STATUSLINE/sections/Codex.ts
- LIFEOS/STATUSLINE/producers/UsageView.ts
- LIFEOS/STATUSLINE/Time.ts
- LIFEOS/VIGIL/Tick.ts
What is broken
Calibrate's text rescore (judgeText) passes { level: 'low' } to Assay's judgeAssertion, while Assay's own judge defaults to 'high' (skills/Assay/Tools/Judge.ts, opts.level ?? 'high'). So a calibration session measures a cheaper judge than the one the suite actually runs, and its agreement and kappa describe the wrong judge. On a real target (a blog-post rubric, 16 held-out labels) removing the override moved the mean gap between the principal's scores and the judge from -2.4 to -1.1, so the difference is large enough to change what a calibration round concludes.
Where (file:line)
skills/Calibrate/Tools/Calibrate.ts:624
Repro on a clean tree
1. From the config root, call `judgeText` with a stub judge that records the options it receives (the probe below). The stub replaces only the rubric judge; `judgeText` still makes its usual judgment-layer call first, which can fall back to null without changing the result.
2. On v8.761.0 the stub receives `{"level":"low"}` and the probe exits 1.
3. Expected: no level override, so the judge runs at Assay's default (`high`), the level the suite uses outside calibration.
Negative control
Probe: bun -e 'import { judgeText } from "./skills/Calibrate/Tools/Calibrate.ts"; let seen; await judgeText("A short post.", [{ type: "llm-rubric", value: "Is it clear?" }], null, async (_o, _a, opts) => { seen = opts; return { score: 1, passed: true }; }); console.log("judge opts:", JSON.stringify(seen)); process.exit(seen?.level === "low" ? 1 : 0)' · exit 1 · captured 2026-11-23T23:34:08.369Z
Red looks like: judge opts: {"level":"low"}
judge opts: {"level":"low"}
Suggested fix
Drop the { level: 'low' } argument so judgeAssertion uses its own default. One line in skills/Calibrate/Tools/Calibrate.ts. With the fix the probe exits 0 and the stub receives no level override.
diff --git a/skills/Calibrate/Tools/Calibrate.ts b/skills/Calibrate/Tools/Calibrate.ts
index 2bb649a..365ea82 100644
--- a/skills/Calibrate/Tools/Calibrate.ts
+++ b/skills/Calibrate/Tools/Calibrate.ts
@@ -621,7 +621,8 @@ export async function judgeText(output: string, asserts: Assertion[], taste: Tas
const j = await judgeOrNull("calibrate-taste", state, TASTE_QUESTIONS);
const judgedMeets = judgedValue(j, "meets");
if (j?.meets?.verdict.act && judgedMeets && j.meets.answer.type === "noul" && !checkThisOne("calibrate-taste", state)) return { median: 10 * j.meets.answer.noul, verdict: judgedMeets === "yes" ? "pass" as const : "fail" as const, perVendor: {} };
- const results = await Promise.all(judged.map(a => judge(output, { ...a, value: withTasteValue(a.value as string, taste) }, { level: 'low' }).catch(() => null)));
+ // No level override: calibration measures the judge the suite really runs (Assay's default), never a cheaper stand-in.
+ const results = await Promise.all(judged.map(a => judge(output, { ...a, value: withTasteValue(a.value as string, taste) }).catch(() => null)));
const ok = results.filter((r): r is NonNullable<typeof r> => !!r && !r.unavailable && typeof r.score === 'number');
if (ok.length < judged.length) return { median: null, verdict: 'unavailable' as const, perVendor: {} };
const verdict = ok.every(r => r.passed) ? 'pass' as const : 'fail' as const;
Verified after fix
Probe: bun -e 'import { judgeText } from "./skills/Calibrate/Tools/Calibrate.ts"; let seen; await judgeText("A short post.", [{ type: "llm-rubric", value: "Is it clear?" }], null, async (_o, _a, opts) => { seen = opts; return { score: 1, passed: true }; }); console.log("judge opts:", JSON.stringify(seen)); process.exit(seen?.level === "low" ? 1 : 0)' · exit 0 · captured 2026-11-23T23:34:08.411Z
judge opts: undefined
Environment
- OS: macOS 27.2.1 (arm64)
- Harness: claude-code
- bun: 1.4.5 · git: 2.54.0
- Doctor broken: none
- Lingua principale
- TypeScript
- Stelle
- 19.9k
- Fork
- 2.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di danielmiessler/LifeOS
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
danielmiessler/LifeOS#2941 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
danielmiessler/LifeOS#2940 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
danielmiessler/LifeOS#2939 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
danielmiessler/LifeOS#2938 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
danielmiessler/LifeOS#2935 ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di danielmiessler/LifeOS
Issue simili
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
drydocs/meridian#1503 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
refactor review: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
1lck/Lithe-IDEA#2376 ·
I maintainer di solito rispondono entro 1 giorno
-
bug extension mcp
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationForse già presa @roboclaw-bot l’ha presa oggi. Apertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
openclaw/openclaw#204323 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno