Aggregate reasoning usage and derive cache hit ratios

This commit is contained in:
2026-11-22 18:22:07 +00:00
parent db1cad6d2d
commit 3d82cad2c9
11 changed files with 114 additions and 11 deletions

View File

@@ -56,6 +56,10 @@ attempts above the first in a generation, and repair generations with at least
one dispatch. A terminal event is an aggregate and must not be added to its
attempt events.
Reasoning counts use the same per-field rules and are a subset of completion
tokens. The public cache-hit helper derives a ratio from complete, consistent
summed input and cache-read counts; it does not aggregate ratios or use writes.
An execution group is a zero-ready synchronized collector of selected
events. It enrolls by run ID and aggregates each run's first terminal counters and
presence-aware usage exactly once. Snapshots copy members and totals under one