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

Add integration and unit tests for missing RRF coverage #997

Open
wants to merge 11 commits into
base: feature/rrf-score-normalization-v2
Choose a base branch
from

Conversation

ryanbogan
Copy link
Member

@ryanbogan ryanbogan commented Nov 21, 2024

Description

This PR adds a successful end to end integration test using RRF, as well as unit tests for the RRFProcessor class, which was the last remaining RRF class without tests.

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Johnsonisaacn and others added 2 commits November 19, 2024 13:53
…pensearch-project#874)


* initial commit of RRF

Signed-off-by: Isaac Johnson <[email protected]>

Co-authored-by: Varun Jain <[email protected]>
Signed-off-by: Martin Gaievski <[email protected]>
…pensearch-project#874)

* initial commit of RRF

Signed-off-by: Isaac Johnson <[email protected]>

Co-authored-by: Varun Jain <[email protected]>
Signed-off-by: Martin Gaievski <[email protected]>
@ryanbogan ryanbogan mentioned this pull request Nov 21, 2024
5 tasks
@peterzhuamazon
Copy link
Member

Please rebase to see the codecov comments.

Thanks.

Copy link

codecov bot commented Nov 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.54%. Comparing base (29fafd6) to head (5033a31).

Additional details and impacted files
@@                           Coverage Diff                            @@
##             feature/rrf-score-normalization-v2     #997      +/-   ##
========================================================================
+ Coverage                                 79.80%   80.54%   +0.73%     
- Complexity                                 1027     1040      +13     
========================================================================
  Files                                        83       83              
  Lines                                      3536     3536              
  Branches                                    592      592              
========================================================================
+ Hits                                       2822     2848      +26     
+ Misses                                      465      434      -31     
- Partials                                    249      254       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martin-gaievski
Copy link
Member

@ryanbogan I've rebased on latest main out of curiosity, code coverage report/bot works. Please make sure to pull latest changes before making any edits locally.

@ryanbogan ryanbogan changed the title RRF tests Add integration and unit tests for missing RRF coverage Nov 25, 2024
@martin-gaievski martin-gaievski force-pushed the feature/rrf-score-normalization-v2 branch from a957fd3 to 29fafd6 Compare November 26, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants