Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript

test: office-hours section-loading judge uses the shared judge token default (#4125) (#4132)

Garry Tan31c3ef01f117
diff --git a/changelog.d/capy-office-hours-judge-tokens.md b/changelog.d/capy-office-hours-judge-tokens.md
new file mode 100644
index 000000000..2f5b4c435
--- /dev/null
+++ b/changelog.d/capy-office-hours-judge-tokens.md
@@ -0,0 +1 @@
+- **The office-hours section-loading eval's preservation judge uses the shared judge token budget.** The case passed `max_tokens: 2048`, a local raise from the old 1024 default, and that now sat below llm-judge's 8,192 default for frontier judges. claude-fable-5-1 spent the 2,048 tokens before writing any verdict, so the case failed with a truncated judge response instead of a score (marathon 42371706491 follow-up, #4125). The threshold, trial count and rubric are unchanged.
diff --git a/test/skill-e2e-office-hours-section-loading.test.ts b/test/skill-e2e-office-hours-section-loading.test.ts
index c50b70747..0abcee166 100644
--- a/test/skill-e2e-office-hours-section-loading.test.ts
+++ b/test/skill-e2e-office-hours-section-loading.test.ts
@@ -100,10 +100,8 @@ Completion delivery, after the full workflow and design approval:
const abort = new AbortController();
const timer = setTimeout(() => abort.abort(new Error('Review preservation judge exceeded 45 seconds')), 45_000);
try {
- // Nine missing findings exhausted the shared 1024-token default and
- // truncated JSON. Keep this output allowance local to the comparison.
await validateOfficeHoursReviewPreservation(reviewEvidence,
- prompt => callJudge(prompt, undefined, { max_tokens: 2048, signal: abort.signal }));
+ prompt => callJudge(prompt, undefined, { signal: abort.signal }));
} finally {
clearTimeout(timer);
}