Bench exact KNN ground truth#34
Merged
Merged
Conversation
Collaborator
Author
|
Factory verified: bench scores indexed recall against the in-engine exact reference (RFC 0011↔0014 target state), #25 strategy seam left open as required, evidence run in body. Merge-ready pending checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gate:impl
Closes #30
Summary
hevsearch-benchrecall sweep to collect ground truth with in-engineexact: truequeries on the same namespace used for indexed queries.ivf_pqrecall/ndcg against those exact engine row IDs instead of external.ivecsor in-process brute force.hev/search#25seam; this implementation runs the unfiltered query set first.Evidence
Smoke bench on isolated MinIO (
search-bench-gt-minio, host port19002) with seeded synthetic namespace:Output included:
Generated JSON recorded
ground_truth_source: "in_engine_exact",same_namespace: "recall-ivfpq-1783554566869249552", and each indexed point hadscored_against: "in_engine_exact".Verification
./scripts/cargo fmt --all --check./scripts/cargo check -p hevsearch-bench --bin recall_sweep./scripts/cargo test -p hevsearch-bench recall --lib./scripts/cargo clippy -p hevsearch-bench --bin recall_sweep -- -D warnings