We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76528e commit 0120a78Copy full SHA for 0120a78
bindings/python/tests/test_common.py
@@ -215,12 +215,9 @@ def test_generate_test_dataset(self):
215
k_smallest = np.argsort(dist_squared)[:, :k]
216
217
# Some ties may not be resolved correctly, so provide some wiggle room.
218
- # Older architectures with different distance implementations may resolve ties
+ # Architectures with different distance implementations may resolve ties
219
# differently.
220
- #
221
- # Set max-ties to 6 to handle these older architectures as well (on newer
222
- # architecture, it's generally 4).
223
- max_ties = 6
+ max_ties = 8
224
expected_equal_lower = groundtruth.size - max_ties
225
actually_equal = np.count_nonzero(k_smallest == groundtruth)
226
0 commit comments