Added test for HNSW insert recall with sparsevec

This commit is contained in:
Andrew Kane
2024-04-10 13:10:37 -07:00
parent d8f3e18db6
commit 34b09cc062
4 changed files with 112 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ for my $i (0 .. $#operators)
push(@expected, $res);
}
# Test approximate results
my $min = $operator eq "<#>" ? 0.95 : 0.98;
test_recall($min, $operator);