neurodata / hyppo

Python package for multivariate hypothesis testing
https://hyppo.neurodata.io/
Other
215 stars 90 forks source link

fix energy statistic bug #368

Closed sampan501 closed 1 year ago

sampan501 commented 1 year ago

Reference issue

Closes #341

Type of change

Bug

What does this implement/fix?

Fixed Energy stat bug, adds unit test based on issue.

Additional information

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ace5d06) 96.72% compared to head (284d13a) 96.73%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #368 +/- ## ======================================= Coverage 96.72% 96.73% ======================================= Files 86 86 Lines 3853 3859 +6 ======================================= + Hits 3727 3733 +6 Misses 126 126 ``` | [Impacted Files](https://app.codecov.io/gh/neurodata/hyppo/pull/368?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neurodata) | Coverage Δ | | |---|---|---| | [hyppo/ksample/energy.py](https://app.codecov.io/gh/neurodata/hyppo/pull/368?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neurodata#diff-aHlwcG8va3NhbXBsZS9lbmVyZ3kucHk=) | `100.00% <100.00%> (ø)` | | | [hyppo/ksample/tests/test\_energy.py](https://app.codecov.io/gh/neurodata/hyppo/pull/368?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neurodata#diff-aHlwcG8va3NhbXBsZS90ZXN0cy90ZXN0X2VuZXJneS5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.