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

89 add tests to cover missing scorer behavior #94

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

atravitz
Copy link
Contributor

This gets the job done to address coverage concerns in #84.

I'd also like to look into the bare except error catching. We should be more specific about what errors are okay, and which we want to let be thrown.

@atravitz atravitz linked an issue Nov 15, 2024 that may be closed by this pull request
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.93%. Comparing base (8c62d86) to head (49a7d7e).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   86.81%   86.93%   +0.12%     
==========================================
  Files          49       49              
  Lines        1577     1577              
==========================================
+ Hits         1369     1371       +2     
+ Misses        208      206       -2     

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


🚨 Try these New Features:

@atravitz atravitz marked this pull request as ready for review November 18, 2024 21:46

@pytest.mark.parametrize("n_process", [1, 2])
@pytest.mark.parametrize("with_progress", [True, False])
@pytest.mark.parametrize("with_scorer", [True, False])
Copy link
Member

Choose a reason for hiding this comment

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

Just wanted to check - this just being removed because the test fixture just wasn't being used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct

@atravitz atravitz merged commit dfbb156 into main Nov 19, 2024
7 checks passed
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.

add tests to cover missing scorer behavior
2 participants