epiforecasts / scoringutils

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

973: underprediction/overprediction/etc. fails if all observations are above/below the medians #974

Closed sbfnk closed 2 weeks ago

sbfnk commented 2 weeks ago

Description

This PR closes #973.

Checklist

sbfnk commented 2 weeks ago

lint failure is unrelated and due to https://github.com/RcppCore/Rcpp/issues/1341

nikosbosse commented 2 weeks ago

Left one comment suggesting to add your original example as a test. Was the original issue actually about values being above/below the median? Or was it ultimately something else?