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(insights): Fix total weights calculation #83092

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

edwardgou-sentry
Copy link
Contributor

Updates total weights calculation to check for sum of metric is greater than zero, instead of count. This avoids cases where scores that should have 0 weight are falsely detected.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 8, 2025
@edwardgou-sentry edwardgou-sentry marked this pull request as ready for review January 8, 2025 16:16
@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner January 8, 2025 16:16
@edwardgou-sentry edwardgou-sentry merged commit dea3691 into master Jan 8, 2025
49 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/fix/total-weight-use-sum branch January 8, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants