themisim.validate_index¶
- themisim.validate_index(artifacts, *, nprobe=64, prefilter=500, k=10, n_queries=200, nprobe_sweep=None, prefilter_sweep=None, seed=0, thresholds=None, reference=None, spec_name=None, timings=None, build_device=None, engine=None)[source]¶
Run every check against
artifactsand return the report dict.thresholdsoverridesDEFAULT_THRESHOLDSkey by key. The report’spassedfield is the AND of every check that reached a verdict; checks that were skipped (no reference vectors, database too large for exhaustive ground truth) reportNoneand neither pass nor fail the run.The engine is constructed directly rather than through
themisim.query.get_engineso a validate-after-rebuild in the same process cannot pick up a cached engine over the previous memmap.