0ed1ce200eeaa853438694bfdbd5041e063bc154
The previous implementation used round((n-1) * pct), which under Python's banker's rounding returned the upper-middle element on every even-length array (e.g. p50 of [1,2,3,4] returned 3 instead of 2.5). All summary JSONs were biased upward at p50 as a result. Match numpy.percentile's default linear interpolation between the two adjacent sorted values.
Description
No description provided
Languages
Python
82.9%
Shell
17.1%