Commit d112c87
committed
add: WIP Phase 4 second pass; Fix filtered_vamana test compilation
Successfully built and run the new filtered Vamana test.
What We Fixed:
1. Compilation error in test (unit_filtered_vamana.cc:206): Fixed typo
where query_filter was passed twice instead of query, query_filter
2. Template compilation error: Added if constexpr (requires { db.ids(); })
protection in filtered_greedy_search_multi_start to handle types
without an ids() method
3. New test passes: All 5 test cases in unit_filtered_vamana pass with
41 assertions
Remaining Issues:
4 existing Vamana tests are hanging (not segfaulting):
- unit_vamana_index_test
- unit_vamana_group_test
- unit_vamana_metadata_test
- unit_api_vamana_index_test
These failures pre-exist our session (from the Phase 1-4 commits).
The latest commit message was "WIP Phase 4 first pass; Getting previous
tests to pass", confirming these were already failing.
Next Steps to fix the hanging tests:
1. Debug why tests hang (likely infinite loop in graph construction)
2. Check if empty start_points vector causes issues when
filter_labels_[p] is empty
3. Possibly add similar if constexpr protection to greedy_search_O1:4271 parent 7070d3a commit d112c87
3 files changed
Lines changed: 459 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
758 | 759 | | |
759 | | - | |
760 | | - | |
761 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
762 | 765 | | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
763 | 770 | | |
764 | 771 | | |
765 | 772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
0 commit comments