Closed palday closed 1 year ago
Base: 87.08% // Head: 87.09% // Increases project coverage by +0.01%
:tada:
Coverage data is based on head (
5b7defe
) compared to base (7299d18
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Thanks. Just another though: maybe we should apply rounding only in show
? The advantage is that we know we use 4 digits, so we can change -0.0000
to 0.0000
safely without applying an arbitrary threshold.
This wouldn't fix tests that check internal fields directly, but anyway if we only clamp small negative values to zero, we have to use isapprox
with some tolerance to handle small positive values.
Can do, but mathematically this is non-adjusted R2, so should be strictly non-negative. Negative zero is just a floating point issue.
Yes, I agree, but the choice of an arbitrary threshold is annoying, and it seems safer to just store whatever r2
returns to avoid hiding potential bugs in implementations.
closes #461.
I also updated some docstring tests so that they would pass. (cf. also #469)