verify
Run every query against both adapters and score retrieval parity. Raises ValueError if a query_id isn't found in the source.
min_per_query_recall, if set, gates passed on every individual
query, not just the mean, so one query at 0% recall can't hide inside
a passing average.
Source code in vecparity/verify/parity.py
Bases: BaseModel
Source code in vecparity/verify/parity.py
min_per_query_recall = None
class-attribute
instance-attribute
Optional floor every individual query must clear, so one query at 0% can't hide inside a passing mean.
min_recall_at_k
instance-attribute
Threshold the mean is evaluated against.
queries_below_threshold_pct
property
Share of queries that individually fall below min_recall_at_k,
even if the mean clears it.