Skip to content

core: improve handling of large spikes for rolling-sum #1753

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

brharrington
Copy link
Contributor

Update rolling-sum and rolling-mean to better handle cases where there is a large value. Before a really large value compared to others would skew the sum and it would never fully recover since the sum is maintained incrementally. Now it will check if there is a big difference in the exponent and recompute from the buffer to recover.

Update rolling-sum and rolling-mean to better handle cases
where there is a large value. Before a really large value
compared to others would skew the sum and it would never
fully recover since the sum is maintained incrementally. Now
it will check if there is a big difference in the exponent
and recompute from the buffer to recover.
@brharrington brharrington added this to the 1.8.0 milestone Mar 21, 2025
@brharrington brharrington merged commit 1b58150 into Netflix:main Mar 21, 2025
5 checks passed
@brharrington brharrington deleted the rolling-sum branch March 21, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant