Evaluate retrieval readiness
- Define approved, versioned evaluation cases with relevant and explicitly forbidden source IDs.
- Keep fixtures synthetic or separately authorized; never place private source bodies in reports.
- Establish thresholds before observing candidate results.
- Run
runtime.foundation_assurance.evaluate_retrieval_readinesson ranked IDs and record coverage, recall at k, mean reciprocal rank, duplicates, and forbidden exposure. For exact, approximate, or compressed index comparisons, runscripts/evaluate_retrieval_strategy.py --input CASES.json. - Separate failures by corpus, parsing, chunking, metadata, embedding, ranking, filtering, authorization, citation, or freshness layer.
- Change one layer at a time, rebuild only derived artifacts, and re-run the same versioned suite.
- Permit activation only when every mandatory threshold passes and forbidden exposure is zero.
Model compressed retrieval as explicit uninitialized -> initialized -> calibrated -> prepared -> persisted -> loaded -> mutated states. Require a representative, versioned calibration fingerprint; invalidate readiness when the embedding distribution, distance semantics, dimensions, filtering policy, or persistence generation changes. Benchmark build, add, search, filter, remove, save, and load separately against an exact-search reference, including cold/warm p50/p95/p99 latency, peak memory, serialized size, and deterministic fingerprints.
Read retrieval evaluation contract before designing fixtures or an activation gate.
Read compressed index evaluation when choosing index type, compression, calibration, stable external IDs, filtering, or persistence behavior.
The evaluator does not build indexes, load models, or activate a service. Those effects require separately admitted tools and approval.