-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add Recall Tests #251
Add Recall Tests #251
Conversation
Codecov Report
@@ Coverage Diff @@
## main #251 +/- ##
============================================
+ Coverage 83.22% 83.28% +0.05%
- Complexity 865 866 +1
============================================
Files 123 123
Lines 3780 3780
Branches 359 359
============================================
+ Hits 3146 3148 +2
+ Misses 473 471 -2
Partials 161 161
Continue to review full report at Codecov.
|
src/test/java/org/opensearch/knn/bwc/KNNBackwardsCompatibilityIT.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/knn/bwc/KNNBackwardsCompatibilityIT.java
Outdated
Show resolved
Hide resolved
d863b75
to
a21a8f3
Compare
src/test/java/org/opensearch/knn/bwc/KNNBackwardsCompatibilityIT.java
Outdated
Show resolved
Hide resolved
bfb19bd
to
28258ff
Compare
src/test/java/org/opensearch/knn/bwc/KNNBackwardsCompatibilityIT.java
Outdated
Show resolved
Hide resolved
28258ff
to
7725e7b
Compare
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, thx!
7725e7b
to
aaa06fc
Compare
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
d6bfe48
to
7a97820
Compare
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.
There seems to be some duplicate code in RecallIT and KNNBackwardsCompatibilityIT. Why is this necessary?
src/test/java/org/opensearch/knn/bwc/KNNBackwardsCompatibilityIT.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
7a97820
to
653ddbd
Compare
* Add Recall Tests Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Calculate Recall using document ids and other minor changes Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
* Add Recall Tests Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Calculate Recall using document ids and other minor changes Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Add Recall Tests Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Calculate Recall using document ids and other minor changes Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
Signed-off-by: Naveen Tatikonda navtat@amazon.com
Description
Adding recall tests to integration tests and backward compatibility tests. This includes two separate tests where the vectors are generated using some standard function in one test and randomly generated vectors in other test. 'l2' is the spaceType used to measure distance between two points.
Issues Resolved
#250
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.