Skip to content

fix(stats): Correctly sum up rate limited card stat#80895

Merged
ArthurKnaus merged 1 commit into
masterfrom
aknaus/fix/stats/correctly-sum-up-rate-limited-card-stat
Nov 18, 2024
Merged

fix(stats): Correctly sum up rate limited card stat#80895
ArthurKnaus merged 1 commit into
masterfrom
aknaus/fix/stats/correctly-sum-up-rate-limited-card-stat

Conversation

@ArthurKnaus

Copy link
Copy Markdown
Member

No description provided.

@ArthurKnaus ArthurKnaus requested review from a team November 18, 2024 14:50
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 18, 2024
Comment on lines +157 to +160
// Combine rate limited counts
count[Outcome.RATE_LIMITED] +=
count[Outcome.ABUSE] + count[Outcome.CARDINALITY_LIMITED];

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This final summing-up pf the count was inside the loop that calculated the counts, causing a far too high value for Outcome.RATE_LIMITED.

@ArthurKnaus ArthurKnaus merged commit 01fdd91 into master Nov 18, 2024
@ArthurKnaus ArthurKnaus deleted the aknaus/fix/stats/correctly-sum-up-rate-limited-card-stat branch November 18, 2024 15:05
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants