Skip to main content

classify_cache_run

Function classify_cache_run 

Source
pub fn classify_cache_run(
    usage: &NormalizedCacheUsage,
    support: &PromptCacheSupport,
) -> CacheConformanceClassification
Expand description

Classify one run from its normalized usage and the capability support verdict. Support status — never the presence/absence of a usage field — decides the zero-read bucket, so a missing field can’t masquerade as “unsupported”.