Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One of the unit tests (knn_retrieval) can fail (machine dependent?) #114

Closed
escherba opened this issue Mar 23, 2022 · 1 comment
Closed

Comments

@escherba
Copy link
Contributor

Describe the bug
A test that checks that the correct neighbors are retrieved fails. This could be a minor issue (perhaps 100% accuracy is not expected).

To Reproduce
Create a virtual environment using Annoy=0.17.0 and Ivis=2.0.1 (current master), then run pytest

Expected behavior
My PDB session in test_knn.py:69

(Pdb) mask = expected_neighbour_list != neighbour_list
(Pdb) p expected_neighbour_list[mask]
array([93])
(db) p neighbour_list[mask]
array([75])
@escherba
Copy link
Contributor Author

Potentially wrong report, will reopen if persists

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

No branches or pull requests

1 participant