epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
48 stars 20 forks source link

Issue #672 - Fix `get_correlations()` #726

Closed nikosbosse closed 5 months ago

nikosbosse commented 5 months ago

Description

This PR closes #672.

I noticed a weird error in #672. The error comes from the fact that if you passed unsummarised scores to get_correlations() then it removed the coverage columns because those are not numeric.

This PR

Checklist

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.26%. Comparing base (f7b5283) to head (a9d069b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #726 +/- ## ========================================== - Coverage 95.27% 95.26% -0.01% ========================================== Files 21 21 Lines 1630 1627 -3 ========================================== - Hits 1553 1550 -3 Misses 77 77 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.