Skip to main content

resolve_partition

Function resolve_partition 

Source
pub fn resolve_partition<R: ModelRunner>(
    runner: &R,
    ka: &KnownAnswer,
) -> Result<String, OrchestratorError>
Expand description

Resolve the vec0 partition runner’s embeddings for ka.task must land in.

If runner reproduces ka.expected bit-exactly the deterministic-execution-path check passed and its vectors are comparable with every other canonical device — it writes into the shared CANONICAL_PARTITION. Otherwise the fallback is explicit, never silent: the runner’s own platform tag, a partition its incomparable vectors are confined to and regenerated within (never merged into another platform’s index).