Read real usage from context-manifest receipts in LAB arm-B metrics

↗ view on GitHub · Eli Ziff · 2026-07-28 · fef767ac

The manifest entries carry provider-reported usage per
streamChatWithTools call; sum that instead of the bytes/4 estimate
(which also lived under a field name this script had wrong, yielding
input_tokens 0). Estimate remains the fallback per entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yXxuitxX5h4wm1v88hnga
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents edceb385
Stats 1 file changed , +17 , -6
Part of Evaluation harness: Beaver-CAN and LegalBench-RAG adapters

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-fef767ac.md from inside the repo you want the change in.

⬇ Download capture-commit-fef767ac.md