Skip to content

feat(index): implement HNSW recall tests and parameter tuner - #13

Merged
Lotargo merged 1 commit into
mainfrom
feat-hnsw-recall-tests-5721688350496023399
Mar 10, 2026
Merged

Lotargo merged 1 commit into
mainfrom
feat-hnsw-recall-tests-5721688350496023399

Conversation

@Lotargo

@Lotargo Lotargo commented Mar 10, 2026

Copy link
Copy Markdown
Owner
  • Implemented SiftParser to parse .fvecs and .ivecs dataset formats.
  • Added a GTest test_hnsw_sift_recall.cpp to verify that Recall@10 >= 0.95 using the small siftsmall dataset. This ensures no regressions in index accuracy during CI/CD.
  • Created an executable hnsw_parameter_tuner in benchmarks/ to perform hyperparameter sweeps (M, efConstruction, efSearch) over large datasets (like SIFT1M) to measure build time, query latency, and accuracy.
  • Updated TODO.md marking the "Recall Tests & Parameter Tuning" task as completed.

- Implemented `SiftParser` to parse `.fvecs` and `.ivecs` dataset formats.
- Added a GTest `test_hnsw_sift_recall.cpp` to verify that `Recall@10` >= 0.95 using the small `siftsmall` dataset. This ensures no regressions in index accuracy during CI/CD.
- Created an executable `hnsw_parameter_tuner` in `benchmarks/` to perform hyperparameter sweeps (`M`, `efConstruction`, `efSearch`) over large datasets (like SIFT1M) to measure build time, query latency, and accuracy.
- Updated `TODO.md` marking the "Recall Tests & Parameter Tuning" task as completed.
@Lotargo
Lotargo merged commit bef2842 into main Mar 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant