epiforecasts / scoringutils

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

Issue #742 - simplify `pit_sample()` #743

Closed nikosbosse closed 5 months ago

nikosbosse commented 5 months ago

Description

This PR closes #742

742 mentions that pit_sample() currently fails when there is only a single observation. This shouldn't be the case.

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.27%. Comparing base (dca7b8a) to head (0f4c288).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #743 +/- ## ========================================== - Coverage 95.37% 95.27% -0.11% ========================================== Files 21 21 Lines 1623 1588 -35 ========================================== - Hits 1548 1513 -35 Misses 75 75 ```

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