Issue #436 Rename instances of "coverage" to either "interval coverage" or "quantile coverage"#540
Issue #436 Rename instances of "coverage" to either "interval coverage" or "quantile coverage"#540
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #540 +/- ##
===========================================
+ Coverage 83.69% 83.71% +0.01%
===========================================
Files 21 21
Lines 1717 1719 +2
===========================================
+ Hits 1437 1439 +2
Misses 280 280 ☔ View full report in Codecov by Sentry. |
758d393 to
47207e8
Compare
Yeah, this is the cost of making things more general I guess. I wonder if we should remove the colouring in the first instance?
I'm a bit lost. Can we move to an issue please! |
Description
This PR closes #436.
We previously used the word "coverage" to describe interval coverage. This sensationally boring PR
plot_score_table()) and toavailable_metrics().available_metrics()needs to be removed at some point in the future andplot_score_table()also needs an update, but this should be done in a different PRMentioning a few unrelated issues that came up:
interval_coverage_sample(). These should be moved to an issue. Alternatively, (and maybe preferably?) the function should be removed altogether. We're not using it inscore()(i.e. it is not part of the default functions for sample-based forecasts). For data.frame-based forecasts, our preferred workflow is to transform forecasts to a quantile format explicitly and then e.g. useadd_coverage(). We don't have any equivalent workflow for functions in a matrix-based format. But then again maybe we don't need to. We could still think about asample_to_quantile.numeric()function which would transform a matrix of samples to a data.frame in a quantile-based format.plot_score_table(). The function currently uses different colour scales depending on whether a score is "low is better" or "zero is better" or something else. Since we now allow users to supply their own functions that won't work anymore.Checklist
lintr::lint_package()to check for style issues introduced by my changes.