pub struct ContextReuseRow {
pub backend: String,
pub missions: u64,
pub runs: u64,
pub fresh_input: u64,
pub cache_read: u64,
pub cache_write: Option<u64>,
pub reuse_share: Option<f64>,
}Expand description
One backend’s context-reuse split (KRZ-321). Emitted ONLY for backends
whose wire reports cache token fields
(crate::types::BackendKind::reports_cache_read_tokens); reuse shares
above ~95% are the cost pattern per-mission totals hide — a signal to
investigate carried context, not a target to optimize.
Fields§
§backend: Stringcrate::types::BackendKind::as_str of the backend the mission’s
config routed these runs to.
missions: u64Missions contributing at least one completed run on this backend.
runs: u64Completed runs folded.
fresh_input: u64Σ non-cache input tokens.
cache_read: u64Σ cache-read input tokens.
cache_write: Option<u64>Σ cache-write (creation) input tokens — None for backends whose wire has no such field (codex), never zero-filled.
(cache_read + cache_write) / (fresh + cache_read + cache_write) over reported fields — None when no input tokens were recorded at all.
Trait Implementations§
Source§impl Clone for ContextReuseRow
impl Clone for ContextReuseRow
Source§fn clone(&self) -> ContextReuseRow
fn clone(&self) -> ContextReuseRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more