-
Notifications
You must be signed in to change notification settings - Fork 140
harden tests for heap graph reconstruction #543
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
base: main
Are you sure you want to change the base?
Conversation
|
Before you submit for review:
If you did not complete any of these, then please explain below. |
e3fd3be to
ae4120c
Compare
fix minor bug in construction Signed-off-by: Samuel Herman <sherman8915@gmail.com>
ae4120c to
98507a5
Compare
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
|
There seems to be a failure from one of the tests that this PR is adding. In |
…l calculation Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
Yeah, it is now more robust, the recall calculation need to be more statistically significant so I increased number of vectors + beamsize and number of query vectors participating in average recall calculation. |
marianotepper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments here and there.
| return reallyBuild(ravv); | ||
| } | ||
|
|
||
| public ImmutableGraphIndex build(RandomAccessVectorValues ravv, int[] graphToRavvOrdMap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not add this method here. It should be the responsibility of the caller to use the remapped RAVV, not a conversion that we want done by JV. Just like the change in buildAndMergeNewNodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, will remove it!
jvector-base/src/main/java/io/github/jbellis/jvector/graph/GraphIndexBuilder.java
Show resolved
Hide resolved
jvector-tests/src/test/java/io/github/jbellis/jvector/graph/OnHeapGraphIndexTest.java
Show resolved
Hide resolved
jvector-tests/src/test/java/io/github/jbellis/jvector/graph/OnHeapGraphIndexTest.java
Show resolved
Hide resolved
jvector-tests/src/test/java/io/github/jbellis/jvector/graph/OnHeapGraphIndexTest.java
Show resolved
Hide resolved
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
|
One of the tests failed due to a different test not related to this change: I am re-running this test so we can have a whole green panel |
marianotepper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
buildAndMergemethod -important for downstream dependencies with centralized resource management