Skip to main content

classify_embedding_freshness

Function classify_embedding_freshness 

Source
pub fn classify_embedding_freshness(
    manifest: &EmbeddingGenerationManifest,
    observation: EmbeddingMutationObservation,
) -> Result<EmbeddingFreshness, SearchArtifactError>
Expand description

Classify one verified generation against current durable mutation evidence.

Precedence is deterministic: unproven scope, structural mutation, empty generation, changed UUID fraction, mutation-batch limit, then ordinary relevant mutation. Wall-clock timestamps never participate.

ยงErrors

Rejects observations that predate the generation, impossible batch counts, unexplained fingerprint changes, and checked threshold arithmetic overflow.