Skip to content
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

fix: metrics order by avg #5029

Merged
merged 1 commit into from
May 20, 2024
Merged

fix: metrics order by avg #5029

merged 1 commit into from
May 20, 2024

Conversation

srikanthccv
Copy link
Member

Summary

The original logic used to decide the order in the table used the sum of values, which is incorrect if there are +Inf or NaNs. Then this commit 351c9b3 added division with count which is also flawed if the number of values is small. Example [5.5], [4.2, 4.2].

@github-actions github-actions bot added the bug Something isn't working label May 20, 2024
@srikanthccv srikanthccv merged commit cf64da2 into develop May 20, 2024
12 checks passed
@srikanthccv srikanthccv deleted the fix-avg branch May 20, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants