Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Fix incorrect percentile calculation#4

Open
dazld wants to merge 1 commit into
stuartsierra:masterfrom
dazld:dan/fix-percentiles-call
Open

Fix incorrect percentile calculation#4
dazld wants to merge 1 commit into
stuartsierra:masterfrom
dazld:dan/fix-percentiles-call

Conversation

@dazld

@dazld dazld commented Jul 8, 2022

Copy link
Copy Markdown

I noticed that in some cases, large data sets especially, there were incorrect percentiles being returned from the percentiles call, but not from stats - turns out that stats was counting the number of samples after ensuring sorted, but the percentiles call was not.

This PR fixes that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant