New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update properties of cumulative transform primitives #320
Conversation
Codecov Report
Continue to review full report at Codecov.
|
@@ -617,6 +617,18 @@ def test_cum_sum_use_previous_and_where_absolute(es): | |||
assert v == cvalues[i] | |||
|
|||
|
|||
def test_cum_handles_uses_full_entity(es): | |||
log_value_feat = es['log']['value'] | |||
for primitive in [CumSum, CumMean, CumMax, CumMax]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CumMax
is in the list twice and CumCount
and CumMin
are not present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Cumulative transform primitives had an incorrectly define property. It was named
needs_all_values
when it should have beenuses_full_entity
.This PR fixes that and adds a test.
fixes #317 reported by @MarekHauzr