A level is not a rank: an empirical audit of quantile-to-index conversion in 10 released conformal-prediction libraries
Shivam Lalakiya
Key points
From the paper's conclusion- We audit 39 sites where a level becomes an index in 10 pinned packages, a named set rather than a systematic search.
Abstract
Context. A conformal interval at 0.90 keeps that guarantee only at the right rank: a fresh score falls at or below the rth smallest of n with probability r/(n + 1). The libraries we study instead hand a level to a quantile function, which can land elsewhere. At n = 20, the upper end of statsforecast's interval sits at position 18.05 where rank 19 is required. Objective. Where does installed code resolve the wrong rank, at what cost in coverage, and what does it return when no rank reaches the level? Method. We audit 39 sites where a level becomes an index in 10 pinned packages, a named set rather than a systematic search. 12 are classified by running them, 11 through their shared numpy method, the rest from source. Coverage is paired against the required rank on the same scores. Results. All 7 tabular implementations reach the required rank. In darts, on one code path, coverage is unchanged (0.0000) where the ranks agree and 0.0280 to 0.0560 lower where they differ; a second archive repeats that split but not its range. Below the feasibility floor, $n < 1/\alpha - 1$, of 14 public call paths 5 silently return a finite number; the rest raise or warn. Conclusions. Quantile interfaces take only a level; statsforecast's default calibrates below its floor. 6 of 19 upstream filings have merged, one fixing a coverage shortfall. A conformance suite classifies helpers by the rank they reach, and a checklist guides review.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Uncertainty quantification in train delay prediction with conformal prediction.Philosophical transactions. Series A, Mathematical, physical, and engineering sciences · 2026
- CALQA: Conformal Screening of Forecast-Ensemble Configurations from One Mergeable StatearXiv · 2026
- conformalForecast: An R package for sequential conformal prediction in time seriesarXiv · 2026
- Null-Corrected Conditional Coverage in Materials Property Prediction: A Five-Dataset ReplicationarXiv · 2026
- The Exceedance Design Effect: Effective Sample Size for Thresholds under ClusteringarXiv · 2026
- Extreme conformal prediction: Reliable intervals for high-impact events.Extremes · 2026