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

Update python recall test #415

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

dyashuni
Copy link
Contributor

Added -v to python unittest discovery to get nicely looking logs in actions (we can see the test names and results):

testRandomSelf (bindings_test.RandomSelfTestCase) ... ok
testGettingItems (bindings_test_getdata.RandomSelfTestCase) ... ok
...

Update tests in bindings_test_recall.py. Previously the tests almost always passed because there were no checks for recall values. I added a threshold to check that recall is high enough and doesn't change after index serialization.

Copy link
Member

@yurymalkov yurymalkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@dyashuni dyashuni merged commit 687ca85 into nmslib:develop Sep 20, 2022
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.

2 participants