-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix bug in metrics selection #112
Conversation
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
+ Coverage 48.74% 48.85% +0.11%
==========================================
Files 18 18
Lines 1356 1357 +1
==========================================
+ Hits 661 663 +2
+ Misses 695 694 -1
Continue to review full report at Codecov.
|
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.
Looks good 👍!
The only point that confuses me a little bit (but it's probably because I'm really unfamiliar with data.table): you seem to modify sometimes by copy (e.g., https://github.com/epiforecasts/scoringutils/pull/112/files#diff-a98d021cad877241c9f935dc0f0c81c3cdbb82f3efd796aaaf2788ac390b1c38R62) and sometimes in place (e.g., https://github.com/epiforecasts/scoringutils/pull/112/files#diff-a98d021cad877241c9f935dc0f0c81c3cdbb82f3efd796aaaf2788ac390b1c38R187) in the same function. Does it matter? Or it's just a stylistic preference and it's not important?
Hm for some reason when I click on the links they don't bring me to the lines you are referring to. |
Probably a good idea to make it more consistent in the future |
This PR