-
Notifications
You must be signed in to change notification settings - Fork 21
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
Multiple issues: metric -> rule #600
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 85.53% 85.53%
=======================================
Files 21 21
Lines 1721 1721
=======================================
Hits 1472 1472
Misses 249 249 ☔ View full report in Codecov by Sentry. |
Thanks a lot for tackling this one! The naming really is a bit of a mess at the moment, unfortunately (and so are the issues that talk about it). We should probably make one of them the ground truth, maybe #520. There, the explanation is
So rule or scoring rule would be the function (or the name for the mathematical concept) and score would be the output of a scoring rule. In #588 we named the function Edit: we could also just run away from the problem and call it |
I'm not convinced this distinction is helpful. I would think "the name of the scoring rule" can be interpreted as the same as "the scoring rule". Why not rename I would prefer calling everything |
The place where this might be needed is when a scoring rule has multiple outputs so WIS decomposition or different coverage levels. Having a different name for the output vs the rule does help distinguish those. I agree though that these are edge cases and we want to avoid things getting too complicated. Personally, I just want to pick something and stick with it. Happy to use rules for the function/mathematical concept and score for output or call everything scoring rule/rule for short.
No 😱 please no.
I agree that is another discussion and one we could revisit but ideally not here. There is an issue floating around where this was discussed I think. We ended up on rule because score we being used very repetitively i.e score(scoring_rules = list(scoring_rules...)) which felt quite redundant. |
I... made another... issue for naming things... #610 🥲 |
😭 |
Description
Renames metric -> rule across the package via full text search.
Partly addresses #476 (manuscript is untouched).
Partly addresses #589 (default behaviour is untouched).
Partly addresses #401 (documentation is untouched).
Checklist
lintr::lint_package()
to check for style issues introduced by my changes.