Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the resampling function produced a series of floats, as was the case when it was the mean, values greater than 7.0 but less than 7.5 would be rounded down to 5. Now, values are rounded to the nearest integer and the series is cast to an
int
, so values in this range will be either redacted (e.g. 7.1 -> 7 -> 0) or rounded up to 10 (e.g. 7.5 -> 8 -> 10).Thanks for spotting the bug in ebmdatalab/opensafely-output-review#719, @LFISHER7 and @Jongmassey. I've a couple more issues with this report to address, but will run and request a release when I'm done.
Closes #93