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

Expand upper range on indexing delay metric #847

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

jtibshirani
Copy link
Member

@jtibshirani jtibshirani commented Oct 21, 2024

When adding this metric, I got the calculation wrong. So the maximum bucket was capped at ~1.3 days, which we easily saturate at the 90% percentile.

This PR updates it to ~ 5.5 days to be safe:

>>> math.pow(2, 14 - 1) / 60 / 24
5.688888888888889

Note the - 1, which is the key piece I missed before.

@cla-bot cla-bot bot added the cla-signed label Oct 21, 2024
@jtibshirani
Copy link
Member Author

Here's a chart showing how we currently saturate the upper limit:
Screenshot 2024-10-21 at 11 42 50 AM

@jtibshirani jtibshirani requested a review from a team October 21, 2024 18:47
@jtibshirani jtibshirani merged commit d64e931 into main Oct 23, 2024
9 checks passed
@jtibshirani jtibshirani deleted the jtibs/index-delay branch October 23, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants