fix(lab): lab-compare cost bills cache writes at 1.25x
C@r previously dropped the cache-write term (uncached + 0.1*reads + r*output), silently flattering big-prefix arms. Now consumes the metrics' cache_adjusted_input_token_equivalent (true-uncached + 1.25*writes + 0.1*reads, null unless both cache reporting streams are complete), with a component-level fallback of the same formula; missing write stream = null cost, never an estimate. Per-run line prints cacheW. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011pfUVhNFTRvhYGXBwoKNj6
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | 40ec14de |
| Stats | 1 file changed , +24 , -7 |
| 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-fcfcd2c4.md
from inside the repo you want the change in.