Skip to content

agent-eval: the nightly bills the subscription only - #437

Merged
moellere merged 1 commit into
mainfrom
claude/agent-eval-nightly-on-subscription
Nov 1, 2026
Merged

moellere merged 1 commit into
mainfrom
claude/agent-eval-nightly-on-subscription

Conversation

@moellere

Copy link
Copy Markdown
Owner

What

The nightly agent-eval schedule now runs solutions and claude-code only. The model job (the embedded agent, anthropic.Anthropic() on the ANTHROPIC_API_KEY secret) runs only on a workflow_dispatch with the new embedded boolean input ticked, and still skips with a notice when the secret is missing.

Why

The embedded agent was metering a full Sonnet pass over the 28 tasks every night (~230K uncached input + 1.7M cache-read tokens per run). It cannot be moved onto the subscription: a claude setup-token OAuth token is honoured for Claude Code itself, not for the Messages API through the SDK, so a subscription-funded score of the agent is by definition the claude-code job, which already runs nightly on CLAUDE_CODE_OAUTH_TOKEN.

Docs

README status row, docs/integrations.md, docs/roadmap.md section 5 and the changelog say the same thing. No code or test changes; tests/test_agent_eval.py passes locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CfvCiPHA9NSzKtisp2RGDm

The schedule now runs the reference replay and the Claude Code driver
(CLAUDE_CODE_OAUTH_TOKEN). The embedded agent calls the API on
ANTHROPIC_API_KEY and was metering a Sonnet pass over the 28 tasks every
night; it is scored only on a dispatched run with the new `embedded`
input ticked. A subscription token is honoured for Claude Code alone, so
the embedded agent cannot be moved onto it: a subscription-funded score
of the agent is the claude-code job.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CfvCiPHA9NSzKtisp2RGDm
@moellere
moellere marked this pull request as ready for review November 1, 2026 03:30
@moellere
moellere merged commit af26bc7 into main Nov 1, 2026
21 of 22 checks passed
@moellere
moellere deleted the claude/agent-eval-nightly-on-subscription branch November 1, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant