FA-337 / Statistics / Member archive
Percentile interpolation uses unsorted observation positions · case 02
A percentile depends on input order or jumps to a nearest-rank value instead of the specified interpolated value.
Case contract
For an integer sample and integer percentile p from 0 through 100, return the reduced Fraction string for linear interpolation at h=(n-1)*p/100 in sorted order. Empty samples and out-of-range p return None.
Why this case matters
Percentile definitions differ across libraries. This case specifies one convention and tests order independence instead of treating all percentile algorithms as interchangeable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| unordered even-sample median | "2" | "3" | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗