Add MaxConsecutiveFalse, MaxConsecutiveNegatives, MaxConsecutivePositives, MaxConsecutiveTrue, MaxConsecutiveZeros, NumConsecutiveGreaterMean, NumConsecutiveLessMean#2420
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2420 +/- ##
========================================
Coverage 99.44% 99.44%
========================================
Files 331 340 +9
Lines 20432 20870 +438
========================================
+ Hits 20319 20755 +436
- Misses 113 115 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
thehomebrewnerd
left a comment
There was a problem hiding this comment.
Looks like we have two new uncovered lines with these updates. Might be nice to add a test to cover those if it's not a big lift.
| primitive_instance = self.primitive() | ||
| def test_regular(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") |
There was a problem hiding this comment.
No this was intentional message. I made a better one
a014517
There was a problem hiding this comment.
Oh, I see. I didn't follow what was being tested closely enough.
| primitive_instance = self.primitive() | ||
| def test_regular(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") |
There was a problem hiding this comment.
No this was intentional message. I made a better one
a014517
| primitive_instance = self.primitive() | ||
| def test_regular(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") |
There was a problem hiding this comment.
No this was intentional message. I made a better one
a014517
| primitive_instance = self.primitive() | ||
| def test_all_float(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") |
There was a problem hiding this comment.
No this was intentional message. I made a better one
a014517
thehomebrewnerd
left a comment
There was a problem hiding this comment.
Small nitpicks, but not blocking
| def test_all_float(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") | ||
| pytest.skip("test array contains floats which are not supported int64") |
There was a problem hiding this comment.
Nitpick: the floats used in this test could all be represented as integers. Should we change?
| def test_all_float(self, dtype): | ||
| if dtype == "int64": | ||
| pytest.skip("floats not supported in int64") | ||
| pytest.skip("test array contains floats which are not supported int64") |
There was a problem hiding this comment.
Nitpick: the floats used in this test could all be represented as integers. Should we change?
No description provided.