Skip to content

Python example failing #107

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

Closed
ibhati opened this issue Apr 14, 2025 · 0 comments · Fixed by #108
Closed

Python example failing #107

ibhati opened this issue Apr 14, 2025 · 0 comments · Fixed by #108
Labels
bug Something isn't working

Comments

@ibhati
Copy link
Contributor

ibhati commented Apr 14, 2025

When running the Python example, I get the following assertion error:

~/ScalableVectorSearch$ python examples/python/example_vamana.py
Recall = 0.817
Traceback (most recent call last):
  File "/raid6/ishwarsi/projects/ScalableVectorSearch/examples/python/example_vamana.py", line 245, in <module>
    run()
  File "/raid6/ishwarsi/projects/ScalableVectorSearch/examples/python/example_vamana.py", line 162, in run
    assert(recall == 0.8288)
           ^^^^^^^^^^^^^^^^
AssertionError

This is probably introduced with #96 when the default parameters are added. We need to add some error margins.
Better to include running these examples in the CI with public repos.

@ibhati ibhati added the bug Something isn't working label Apr 14, 2025
@mihaic mihaic closed this as completed in 5a7da98 Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant