WorksComputer Science
pyconformal: Exact and Fast Conformal Prediction for Tabular Data and Time Series
Abstract
Conformal prediction is used for its guarantee: if calibration and test data are exchangeable, a 90% split-conformal interval covers at least 90% of the time, for any model and any calibration size. That guarantee belongs to an exact procedure, and software loses it through small choices. We audited thirteen Python and R packages on data where the guarantee must hold, reading five conformal libraries module by module, and found about thirty faults. Two forecasting libraries cover 63% at a 90% target with their default of two calibration windows. One library's prediction sets cover 45% when rows are predicted one at a time. Two implementations of adaptive conformal inference clip the working level and lose the guarantee that defines the method. The basic split-conformal routines of the main libraries met their level in every test. We present pyconformal, an MIT-licensed package that implements about thirty conformal methods for regression, classification, probability calibration, predictive distributions, time series and panel data behind one interface. Every method is tested against its definition, against reference code where it exists, and against its guarantee. The package also contains algorithmic improvements: an exact Venn-Abers kernel in integer arithmetic, rank trees for online methods, closed forms for conformal predictive distributions, CV+ in 3 megabytes where MAPIE needs 3 gigabytes, and a repaired rule for conformal interquantile regression. With identical output, Venn-Abers calibration on a million points takes 0.37 seconds against 75 in the reference implementation, and conformal predictive intervals for a million test points take 0.01 seconds against 79 in crepes. We describe the design, the algorithms and what each gains in time and memory, the verification method, the audit and the benchmarks.
Introduction
Split conformal prediction [23, 32, 45] turns any point predictor into a prediction interval with a guarantee: if calibration and test points are exchangeable, the interval built from the -th smallest of calibration scores contains the outcome with probability at least . The guarantee holds for every and every model. It is also fragile in a specific way. It belongs to that rank, not to a nearby one. If the rank exceeds , the only valid interval is the whole real line. Replace the rule by an ordinary empirical quantile, or return the largest score when the rank is out of reach, and the statement no longer holds.
This paper makes four points.
Existing software loses the guarantee in ordinary use. § 7 reports an audit of thirteen packages: statsforecast, mlforecast, Nixtla’s Python package conformalforecast, Darts, TorchCP, crepes, MAPIE, PUNCC, conformal-tights, venn-abers, online-cp, tsbootstrap, and Wang and Hyndman’s R package conformalForecast. Thresholds and coverage were tested in each of them, on the tasks it supports, and MAPIE, crepes, PUNCC, TorchCP and conformal-tights were read module by module. We found about thirty faults (Table 2 and Table 3); fifteen of them lower coverage, or put a risk bound below its stated level, with no error or warning. The basic split-conformal regression and classification routines of MAPIE, crepes, PUNCC and TorchCP met their level in every coverage test; the faults sit in options, in newer modules and in the time-series methods. The faults fall into five types: a rank or level that is not the one the proof uses (an uncorrected quantile, a clipped level), calibration and prediction that score differently, results that depend on how predict is called, an object used as its own neighbour, and a conformal step that is missing. We record what was correct next to what was not.
| Package | What is wrong | Effect |
| statsforecast 2.1.1, mlforecast 1.1.0 | The interval half-width is the ordinary 90th percentile of past forecast errors, without the finite-sample correction that the conformal guarantee needs. By default only 2 past errors are used, and no valid finite 90% interval can be made from 2 errors. No warning is given. | Intervals are too narrow. Sold as 90%, they cover 63–65% at the default (4,000 series) and 86% with 20 calibration windows. |
| Darts 0.48.1 | When there are too few calibration errors for a valid finite interval, the largest error is used, with no warning, where the only valid interval is infinite. | 75% coverage in place of 90% with 3 calibration points. The default setting is correct. |
| TorchCP 1.2.1 | SAPS(randomized=False) scores the most likely class as 0 in calibration and as its probability in prediction, so the threshold does not match the sets it is applied to. | Sets are too small or empty: coverage 36% and 2.5% in place of 90% when top-1 accuracy is 82% and 89% (10 classes, weight 0.2). The default mode is correct. |
| crepes 0.9.1 | The CRPS of normalised predictive systems multiplies one term by the difficulty estimate twice. | The reported accuracy score is wrong: a true CRPS of 2.19 is reported as 7.19 at . Intervals are not affected. |
Table 2. Faults that break the guarantee or a reported number. Coverage is at a 90% target.
Table 3: Faults found in the module-by-module audits. Coverage is at a 90% target and miss rates at a 10% target unless stated.
| Fault | Measured | On tracker |
| MAPIE 1.6.0 | ||
| ACI clips its working level to ; this is not the algorithm of [14] | Miss rate 13.7%, 19.8% and 33.4% on three drifting sequences, where the theorem allows 10.6%; unclipped 10.1%. On i.i.d. data 10.1% clipped and 10.0% unclipped | no |
APS and RAPS with include_last_label=False | 81.5% and 83.6%; the docstring says coverage may be higher than the target | issue 1021 |
| Default RCPS bound: the test statistic is run on two halves of the data and the two maxima are added | Bound below the true risk in up to 19.7% of runs where 10% is allowed; 12.3% through the public class | pull request 998, closed unmerged |
| Default Holm procedure stops at an undefined p-value, so learn-then-test returns no threshold | No threshold in 161 of 300 runs; Bonferroni on the same data, 0 of 300. Validity not affected | no |
| crepes 0.9.1 | ||
| Out-of-bag calibration with k-nearest-neighbour difficulty estimates counts each training object as its own neighbour | 83.6% with ; 88.1% with the default | no |
| A test object in a Mondrian category absent from calibration gets the interval | Every such object, no warning | issue 54 |
MondrianCategorizer fitted with learner= raises NameError when applied | Every call | no |
predict(..., seed=) leaves NumPy’s global random state reset to the seed | Every call with a seed | no |
| PUNCC 0.9.3 | ||
| APS and RAPS cap the size of a prediction set at the number of test rows in the call | 45% with one row per call, 68% with two, 89% with five | no |
| Box-wise object detection uses the wrong sign for two sides of the box | True box inside the “outer” box in 0% of cases when the detector’s boxes are too small | no |
| TorchCP 1.2.1 | ||
| Fault | Measured | On tracker |
| CQR-R: the correction is scaled by a tensor that is still zero, which leaves a negligible correction | 57.6%, the same as the raw quantile band to the reported precision; CQR on the same data 90.1% | no |
| ACI holds its level inside | Miss rate 14.0% with random-walk errors; bound 10.6%; unclipped 9.9% to 10.1% | no |
| AgACI: no state is carried between steps and all experts always get the same weight | Miss rate 44.5%, 38.2% and 27.5% on three drifting sequences; 10.0% on i.i.d. data | no |
| NorABS fails on any batch of more than one row; used as its docstring says, each calibration row is its own neighbour | RuntimeError; 83.6% with , computed from the scores because the interval call fails | no |
| ClusteredPredictor returns every label for classes without a cluster | Valid; mean set size 34.3 against 6.0 for plain split with 30 rare classes in 100 | no |
| WeightedPredictor sorts the weights separately from the scores | 98.2% and 99.2% under covariate shift; sets 41% to 62% larger than correct weighting | issue 126 |
| ConformalLM with a scaler scales calibration scores twice and test scores once | Risk above its limit in 25.5% of calibration draws where 5% is allowed (synthetic scores) | no |
| CDLoss has the sign reversed; the metric SSCL sums over the wrong axis | Mean set size 3.38 before training, 5.83 after; SSCL returns 101 for a quantity in | no |
| conformal-tights 0.5.0 | ||
| No conformal step below 1,414 training rows: the interval is a quantile regression fitted on the calibration set | 80.6% at a 90% target and 84.8% at 95% with 300 rows, mean of eight public datasets; 84.2% and 89.9% with 1,000 rows (seven datasets) | not checked |
| With enough rows, the narrower of two calibrated intervals is returned for each test point | 87.2% and 93.3% with 5,000 rows, mean of five datasets; at the 90% target each of the two intervals alone gives 90.6% and 91.3% | not checked |
| The second calibration stage ignores sample weights | With one fifth of the rows corrupted and given weight zero, the 90% interval is three times wider than a fit on the clean rows alone and covers 99.7% | not checked |
| Darts forecaster: calibration rows are drawn at random from the lagged series | One step ahead on the project’s own example (2,184 test hours): 86.8% at 90%, 92.0% at 95% | not checked |
predict_interval edits a stored array, which changes what a later predict_quantiles call at the same levels returns | 13 of 20 fits | not checked |
Table 3. Faults found in the module-by-module audits. Coverage is at a 90% target and miss rates at a 10% target unless stated.
Correct software is often slow where it matters. Venn–Abers calibration on a million points takes about a minute in the reference implementation and a third of a second in ours, with identical output. Conformal predictive intervals for a million test points take 79 seconds in crepes and 0.01 seconds in ours. Multi-step split conformal prediction on a history of 3,000 points and 12 horizons takes 42 seconds in R and 0.01 seconds in ours, with identical intervals.
The gains come from algorithms, not only from compiled code. § 5 describes them and states what each one gains: an exact Venn–Abers kernel on the cumulative-sum diagram in integer arithmetic (205 times faster than existing code, identical output); rank trees for replaying online methods at logarithmic cost per step; closed forms for conformal predictive distributions and their CRPS that never form the test-by-calibration matrix; CV+ by search inside sorted fold residuals, which cuts peak memory from gigabytes to megabytes; and a repaired window rule for conformal interquantile regression, whose published code loses coverage on bimodal outcomes. We claim improvements over existing implementations and say where the underlying idea is older.
One interface can serve both tabular and time-series methods. No existing package covers both families well. Our package, pyconformal, uses one small set of verbs for all of them and accepts either a model or the model’s outputs.
We state the limits of each claim next to the claim. Several large speed factors apply to replaying a history and shrink to single digits when observations arrive one at a time and the model must be called at every step (§ 8); all timings are from one machine; coverage tests use synthetic data except where a section says otherwise.
Related software
MAPIE [9, 39] is the most widely used Python package for conformal prediction and covers split, cross and jackknife methods for regression, prediction sets for classification, Venn–Abers calibration, and two time-series methods. The crepes package [6] provides conformal regressors, Mondrian and normalised variants, and conformal predictive systems. TorchCP [20] targets deep learning with PyTorch and has the widest range of classification scores; it is licensed under LGPL-3.0. PUNCC [31] offers split, cross and ensemble methods with a flexible calibration interface. For forecasting, statsforecast [13], its companion mlforecast, and Darts [18] attach conformal intervals to their models, and the R package conformalForecast implements the multi-step methods of Wang and Hyndman [49]. Reference code exists for most recent time-series methods [2, 14, 15, 50, 51, 53], usually as research scripts.
Three more packages overlap with the scope here. Fortuna [10], which is no longer maintained (its repository is archived), offered conformal methods for classification and regression that start from a model’s outputs, among them EnbPI, inside a deep-learning library built on JAX. The sktime library [25] attaches conformal intervals to its forecasters. Nixtla’s Python package conformalforecast (not to be confused with the R package conformalForecast of [49]) provides split conformal intervals for forecasts. TorchCP also has regression predictors, predictive distributions and online methods, and MAPIE also has conformal risk control [9]; the audit covers those parts. The conformal-tights package (MIT licence) wraps a scikit-learn regressor with a non-crossing quantile regression fitted on a calibration set, and has a Darts forecaster built on it.
None of these covers both tabular and time-series conformal prediction in the depth of Table 1 without a deep-learning dependency. Ours is MIT-licensed and needs only NumPy.
| Regression | Split conformal [23, 32], normalised, Mondrian [43], weighted [40]; jackknife+ and CV+ [4]; conformalised quantile regression (CQR) [33]; conformal thresholded intervals (CTI) [26]; conformal interquantile regression (CIR, CIR+) [17], with the window rule changed as explained in Section 5; a quantile regression forest {citep}[30]` with out-of-bag calibration; QuantileBooster, which makes CatBoost, XGBoost or LightGBM predict a grid of quantile levels for CQR, CTI and CIR |
| Classification | LAC [36], APS [34], RAPS [1], SAPS [19], each randomised or not, marginal, class-conditional or Mondrian by any category |
| Calibration | Inductive and cross Venn–Abers predictors [44, 46], binary and multiclass [27] |
| Predictive distributions | Conformal predictive systems [47, 48]: quantiles, distribution function, intervals, CRPS; normalised and Mondrian; weighted for covariate shift [21] |
| Time series, online | ACI [14], DtACI [15], AgACI [53], non-exchangeable conformal prediction [5], conformal PID control [2] |
| Time series, ensembles and residual models | EnbPI [50], SPCI [51] |
| Time series, multistep | Multi-step split conformal prediction and AcMCP [49]; conformal seasonal pools [28] |
| Panel data | TQA [24] and W-TQA [41]: intervals for one unit calibrated on its peers in the same round, with late or missing feedback; MultiQT [11]: online quantile forecasts at many levels that never cross; Panel CPD (PanelPredictiveSystem), our method for panels in which a unit’s own outcome is seen only on some rounds: predictive quantiles for every unit at every round, from a conformal predictive system calibrated on the unit’s peers and corrected online by a multi-level quantile tracker (described in a separate paper) |
| Distribution-valued outcomes | Conformal sets when the outcome is itself a probability distribution or a vector (arXiv:2611.06320) |
| Decomposition | STL [8] and MSTL [3] |
Table 1. Methods in pyconformal 0.1.6.
Neighbouring methods. Four lines of work sit next to what the package contains. Weighted conformal predictive systems [21] extend predictive distributions to covariate shift; pyconformal supports weights for split conformal intervals [40], uses similarity weights in its panel methods, and from version 0.1.6 accepts weights in its predictive systems, following [21]. Copula-based methods [38] give joint coverage over a whole forecast horizon from a set of independent series; the multi-step methods here give coverage at each horizon separately, on a single series. Dual-splitting conformal prediction [52] groups forecast trajectories and horizons before calibrating; it is not included. Generalised Venn and Venn–Abers calibration [42] extends the binary-classification method implemented here to general losses and to multicalibration. Recent surveys and benchmarks of conformal methods for time series [35, 37] group methods by the assumption they relax (reweighting, residual dynamics, online adaptation); Table 1 follows the same grouping.
Design
One exact rank
All unweighted thresholds come from one routine, conformal_quantile. It computes in rational arithmetic, that is, with whole-number numerators and denominators and no rounding at any step. The reason is that a computer does not hold the number 0.1. It holds the nearest number that can be written with 53 binary digits, which is 0.1000000000000000055511151231257827 . . ., and every product formed from it carries that small error; a ceiling or a floor then turns an error in the seventeenth digit into an error of one whole rank. The routine avoids this in two steps. First it recovers the decimal number the user wrote. Python prints a floating-point number as the shortest decimal string that reads back to the same stored value, so the stored value above prints as 0.1, and Fraction(repr(alpha)) turns that string into the exact fraction 1/10. Second, is formed from that fraction: with it is exactly, and the ceiling of an exact number is never in doubt. The level therefore means what was typed, not its binary approximation. One consequence should be known: a level that is itself the result of arithmetic is taken at face value. Passing 1 - 0.9 passes 0.09999999999999998, a different number from 0.1, and the rank is exact for that number; levels should be passed as written. When the routine returns infinity.
Floating point can put the product on the wrong side of a whole number. Two examples, both checked in IEEE double precision. With and , evaluates to 21.000000000000004 and a ceiling gives 22 where 21 is right. More common in practice: when the level is given as a confidence , evaluates to 0.09999999999999998, so code that takes the -th largest score truncates 0.9999999999999998 to 0 at , and uses one rank too high whenever is a multiple of ten (we checked every such up to one million; no other calibration size is affected at this level). This is the fault in crepes and in the code released with CIR (§ 7). The direct form is less fragile than these examples might suggest: for it gave the right rank for every up to 200,000. The exact routine removes the question.
Grouped (Mondrian) and normalised variants call the same routine on their own scores. Weighted conformal prediction and the non-exchangeable method accumulate real-valued weights in floating point; the exactness statement does not extend to them.
One interface
Every method has the same verbs.
fit(X, y)trains the underlying model, if one was given.calibrate(X, y)computes scores on held-out data and stores what prediction needs.predict_interval,predict_set,predict_proba,predict_quantileorpredict_cdfproduce the output.updateadds one observation, for online methods;runreplays a whole history.
The model is optional. Each method is one class that accepts either an estimator with fit and predict methods or the model’s outputs passed by keyword (y_pred=, proba=, quantiles=, scores=). The two routes are tested to give identical results. Coverage is always specified as the miscoverage level alpha; a list of levels adds a last axis of length : intervals have shape and prediction sets, which are boolean masks over the classes, .
The verbs map onto the families as follows. Split methods use fit (optional), calibrate on held-out data, then a predict_ method. Cross methods (jackknife+, CV+, cross Venn–Abers, out-of-bag calibration) have no separate calibration set: fit trains one model per fold and computes the out-of-fold scores, and there is no calibrate call; when predictions are supplied instead of a model they have one column per fold model. Online methods take calibrate as an optional warm start; run replays a history and returns its intervals and misses directly, and predict_interval followed by update serves one step at a time. STL and MSTL are plain functions, not conformal methods; they are in the package because conformal seasonal pools and several forecasting workflows need them. They are also fast: on 100,000 hourly points our MSTL takes 0.1 seconds against 19.3 seconds for statsforecast at its default settings (6 to 7 times faster at equal settings) and is about 5 times faster than R’s forecast::mstl, whose output it matches to (Table 12).
Table 12: MSTL decomposition in milliseconds (speed_mstl.py). At its defaults statsforecast evaluates every smoother at every point; R and pyconformal evaluate at every tenth point of the window (the “jump” parameters of the original STL), which accounts for most of the gap. At identical settings pyconformal is 6–7 times faster than statsforecast and about 5 times faster than R, with results equal to R’s to .
| Series (seasonal periods) | statsforecast 2.1.1 | pyconformal |
| 15-minute data, 6 weeks, 4,032 points | 3,145 | 6 |
| Hourly data, 1 year, 8,760 points | 1,698 | 12 |
| Hourly data, 11 years, 100,000 points | 19,300 | 98 |
Table 12.
Arrays first, compiled kernels optional
Methods are written on arrays of predictions and outcomes; model handling is a thin layer on top. The hot loops have two implementations, a NumPy one and one compiled with Numba [22]. The test suite asserts that both return the same values, including under ties. Installing Numba changes speed and nothing else. Nothing beyond NumPy is imported at run time: the quasi-Newton optimiser used by AcMCP is the package’s own, and user-supplied estimators are copied with the standard library’s copy.deepcopy and used only through fit and predict. scikit-learn and SciPy are needed only to run the tests.
Methods
Table 1 lists what version 0.1.6, the current release, contains.
Algorithms
This section describes the algorithmic changes and, for each, what it gains. Unless we say otherwise the output is identical to that of the slower computation, so coverage and interval length do not change and the gain is in time and memory. Two changes, to CIR and CIR+, alter the output, and there the gain is validity. Times are from Table 4 and peak memory from Table 13. Memory was measured for four methods only; where it was not measured we say so.
| Method | Against | Theirs | Ours | Factor | Same | |
| Venn–Abers, | venn-abers, MAPIE | 75.0 s | 0.366 s | 205 | yes | |
| Venn–Abers, | venn-abers | 2.32 s | 0.079 s | 29 | yes | |
| CPS intervals, | crepes | 79.2 s | 0.0098 s | 8,100 | yes | |
| CPS CRPS, 5,000/5,000 | crepes | 0.309 s | 0.00047 s | 656 | yes1 | |
| Split regression, | PUNCC, MAPIE | crepes | 4.2–8.9 ms | 1.9 ms | 2–5 | yes |
| CQR, | MAPIE; PUNCC | 19.7; 10.5 ms | 3.2 ms | 6; 3 | yes | |
| CTI | authors’ code | 431 ms | 23 ms | 19 | yes | |
| CIR; CIR+ | authors’ code | 1.85; 2.93 s | 0.12; 0.14 s | 16; 22 | yes; no | |
| CV+ prediction | MAPIE | 1.95–4.99 s | 0.12–0.18 s | 17–27 | coverage | |
| APS, RAPS, SAPS (Table 10) | TorchCP, MAPIE, PUNCC | 0.016–1.9 s | 0.008–0.36 s | 2–7 | see2 | |
| Quantile forest, fit3 | quantile-forest | 11.5–215 s | 1.9–27 s | 6–9 | loss | |
| MSTL, points (Table 12) | statsforecast; R forecast | 19.3 s; — | 0.098 s | ; 5 | yes | |
| ACI, replay | MAPIE | 0.41 ms/step | 0.2 s/step | 2,000 | coverage | |
| ACI, one row at a time | MAPIE | 0.57 ms/step | 0.09 ms/step | 6–8 | coverage | |
| ACI | authors’ code | 114 s/step | 0.40 s/step | 286 | n/c | |
| Conformal PID | authors’ code | 10–14 s/step | 0.09–0.13 s/step | 106–112 | yes | |
| DtACI, update step | authors’ R code | 41 s/step | 0.62 s/step | 66 | n/a | |
| EnbPI, replay | MAPIE | 5,454 s/step | 11.6 s/step | 400–4704 | coverage | |
| EnbPI, one row at a time | MAPIE | 5,800 s/step | 2,200 s/step | 2.5 | coverage | |
| SPCI | paper’s loop | 29 ms/step | 3.3 ms/step | 9 | n/c | |
| Multi-step split | R scp | 42 s | 0.010 s | >4,000 | yes | |
| AcMCP, no scorecaster, 1,000 × 6 | R acmcp | 3.9 s | 0.8 ms | 5,000 | yes | |
| AcMCP, with scorecaster, 1,000 × 6 | R acmcp | 107 s | 2.5 s | 43 | close |
Table 4. Speed against other packages and against code released with the papers. “Same” means the outputs were compared and found equal.
Table 13: Peak extra memory of one call, in megabytes (memory.py). Each case runs in a fresh process; inputs are built and compiled kernels warmed first, then the peak-memory counter of the process is reset and read after the call. One run on 26 November 2026.
| Call | Against | Calibration / test | Theirs | Ours | Ratio |
| CV+ prediction, 10 folds | MAPIE | 2,000 / 20,000 | 1,300 | 3.2 | 406 |
| 5,000 / 20,000 | 3,057 | 3.2 | 955 | ||
| CPS, 90% intervals | crepes | / | 20.1 | 3.1 | 6 |
| / | 197 | 31.5 | 6 | ||
| CPS, distribution function | crepes | / | 6.9 | 5.5 | 1.3 |
| / | 55.8 | 54.4 | 1.0 | ||
| CPS, CRPS | crepes | 5,000 / 5,000 | 383 | 0.4 | 956 |
| Venn–Abers, fit and predict | venn-abers | / | 59.1 | 38.2 | 1.5 |
| / | 155 | 111 | 1.4 |
Venn–Abers. An inductive Venn–Abers predictor fits isotonic regression twice for each test score, once with the test object labelled 0 and once labelled 1. Vovk et al. [46] showed that all test points can be served from precomputed structures. Existing code recomputes slopes to all remaining points at each corner of the fit, which is quadratic on realistic scores. Our kernel works on the cumulative-sum diagram: calibration points with equal scores are pooled into one group, and vertex is the pair (number of points, number of positive labels) in the first groups, so every vertex has integer coordinates. Adding a test point with label to group shifts the vertices after by , and the isotonic fit at the test point is the slope of the common tangent between the lower hull of vertices and the lower hull of the shifted vertices after . A single hull of the whole diagram is not enough, because vertices hidden by it can become extreme once the diagram is cut. We therefore store both families of hulls, for every prefix and every suffix, as predecessor and successor pointers built by two Graham scans, and find each tangent by walking the two chains from the cut. Cross-products of integer coordinates are bounded by and are exact in 64-bit integers; the only floating-point operation is the final division, so no numerical warnings arise. On typical data the cost after sorting is linear. We have no worst-case bound for the walks (Table 17 gives stress cases), and we claim an improvement over existing code, not over the algorithm of [46]. The method matters in practice: in a comparison of five calibrators across 21 classifiers, Venn–Abers gave the largest average reduction in log loss [29]. What it gains. The probabilities are identical to those of venn-abers and MAPIE in every run. With a million calibration and a million test points the kernel takes 0.37 seconds against 75 seconds (205 times faster); the factor is 11–29 at – calibration points and 3–6 when scores are heavily tied. Peak memory is about the same as the reference, 111 against 155 megabytes at a million points, so the gain here is time, not memory.
| Configuration | Ratio | ||
| Continuous scores, informative | 0.035 | 0.489 | 14.0 |
| Pure noise | 0.030 | 0.391 | 13.0 |
| Anti-correlated | 0.018 | 0.254 | 14.0 |
| Perfectly separated | 0.013 | 0.237 | 18.1 |
| Labels alternate in score order | 0.016 | 0.244 | 14.8 |
| Blocks of equal labels | 0.016 | 0.271 | 17.1 |
| Ten distinct scores | 0.005 | 0.059 | 11.4 |
| All scores equal | 0.002 | 0.019 | 11.3 |
| Geometrically spaced scores | 0.005 | 0.064 | 12.0 |
Table 17. Venn–Abers on stress configurations: seconds for calibration on points plus prediction for points. A ratio of 10 would be exactly linear; sorting accounts for part of the excess. The output was compared with venn-abers on 3,000 calibration points per configuration and was identical in every case.
Online methods. ACI and its relatives need, at each step, the -th smallest of a set of scores that gains one element and may lose one, with changing. When a history is replayed with run, all its scores are known, so we rank them once and keep a Fenwick tree [12] of counts over ranks; each step is then and does not grow with the history, and the model is called once for all rows. Live use is different: update cannot rank scores it has not seen, so it keeps the current window as a sorted list and inserts each new score by binary search, which costs comparisons and a memory move of up to numbers. The two paths are tested to give the same thresholds. For the non-exchangeable method the tree holds real-valued weights in place of counts; the weight of a score is stored relative to a moving origin, so the newest scores have the largest stored values and nothing underflows over long streams. What it gains. Replaying a history with ACI costs 0.2 s per step against 0.41 ms in MAPIE (about 2,000 times faster) and 0.40 against 114 s in the code released with the ACI paper (286 times). Conformal PID is 106–112 times faster than its authors’ code with identical output, and the DtACI update is 66 times faster than the authors’ R code. In live use, one row at a time, the model call dominates and the factor against MAPIE is 6–8. The cost per step no longer grows with the length of the history, which is what makes backtests over millions of steps practical. Memory was not measured.
Predictive systems. A conformal predictive distribution for a test point is the set of calibration scores shifted (and, if normalised, scaled) by the point’s prediction. A quantile is one lookup in the sorted scores, the distribution function is a binary search, and the CRPS has a closed form in terms of prefix sums. The matrix is never formed. For the distribution with mass on each point ,
The second sum does not depend on the test point and is computed once from the sorted scores; the first needs one binary search and two prefix sums. Both terms scale with exactly once. The crepes code evaluates the same integral piece by piece and multiplies the two pieces next to the outcome by although they are already in outcome units, which is the fault in Table 2. What it gains. Accuracy is not traded for speed: quantiles and distribution values are identical to those of crepes, and the CRPS is identical wherever crepes is correct. Intervals for a million test points take 0.01 seconds against 79 seconds (8,100 times faster), the distribution function at the outcomes is 556 times faster and the CRPS 656 times. Peak memory for the intervals is 32 against 197 megabytes at calibration and test points, and for the CRPS at 5,000 by 5,000 it is 0.4 against 383 megabytes, because crepes holds the full matrix. For the distribution function the two packages use the same memory (54 and 56 megabytes).
Prediction sets. APS, RAPS and SAPS need, per row, classes in order of decreasing probability up to the point where the set closes. We select the top classes with a heap and extend only when needed, instead of sorting all classes, and use one routine for both the calibration label and the full set, which removes the possibility of the two disagreeing. What it gains. APS, RAPS and SAPS run 2–7 times faster than in TorchCP, MAPIE and PUNCC (Table 10); LAC sets are identical across packages. Because calibration and prediction share one routine and each row is handled on its own, a row gets the same set whether it is predicted alone or in a batch, which is not so in every audited library (PUNCC’s APS and RAPS, § 7). Memory was not measured against the other packages.
| Method, package | 10 classes | 100 classes | 1,000 classes |
| LAC, ours | 0.909 / 1.23 / 0.001 | 0.905 / 7.58 / 0.011 | 0.897 / 78.7 / 0.062 |
| LAC, TorchCP | 0.909 / 1.23 / 0.007 | 0.905 / 7.58 / 0.018 | 0.897 / 78.7 / 0.146 |
| LAC, MAPIE | 0.909 / 1.23 / 0.010 | 0.905 / 7.58 / 0.064 | 0.897 / 78.7 / 0.293 |
| LAC, PUNCC | 0.909 / 1.23 / 0.133 | 0.905 / 7.58 / 0.321 | 0.897 / 78.7 / 0.895 |
| APS randomised, ours | 0.899 / 1.73 / 0.008 | 0.901 / 8.38 / 0.066 | 0.899 / 78.4 / 0.364 |
| APS randomised, TorchCP | 0.907 / 1.76 / 0.017 | 0.900 / 8.41 / 0.276 | 0.899 / 78.7 / 1.696 |
| APS randomised, PUNCC | 0.901 / 1.74 / 0.129 | 0.899 / 8.37 / 0.293 | 0.899 / 78.4 / 1.139 |
| APS default, MAPIE | 0.975 / 2.05 / 0.043 | 0.923 / 9.07 / 0.309 | 0.900 / 78.9 / 1.832 |
| RAPS randomised, ours | 0.899 / 1.73 / 0.010 | 0.902 / 8.18 / 0.061 | 0.896 / 79.5 / 0.267 |
| RAPS randomised, TorchCP | 0.907 / 1.76 / 0.018 | 0.902 / 8.21 / 0.225 | 0.896 / 79.7 / 1.661 |
| RAPS default, MAPIE | 0.969 / 2.11 / 0.047 | 0.916 / 10.26 / 0.386 | error |
| SAPS randomised, ours | 0.902 / 1.65 / 0.008 | 0.904 / 8.60 / 0.040 | 0.896 / 81.1 / 0.278 |
| SAPS randomised, TorchCP | 0.903 / 1.65 / 0.018 | 0.905 / 8.71 / 0.246 | 0.897 / 81.3 / 1.874 |
| SAPS not randomised, ours | 0.906 / 1.90 / 0.008 | 0.904 / 8.62 / 0.045 | 0.896 / 81.0 / 0.257 |
| SAPS not randomised, TorchCP | 0.338 / 0.63 / 0.016 | 0.904 / 8.62 / 0.293 | 0.896 / 81.0 / 1.774 |
Table 10. Prediction sets at a 90% target: coverage / mean set size / seconds, for 5,000 calibration points and 50,000 test points (20,000 for 1,000 classes) (speed_classification.py). RAPS uses penalty 0.01 and , SAPS weight 0.2. MAPIE’s RAPS needs two calibration points in every class and raised an error with 1,000 classes. Single runs; coverage carries sampling noise of about .
Jackknife+ and CV+. With folds, every training point in fold is scored by the same model, so for a test point the candidate endpoints are sorted lists of residuals, each shifted by one number. The endpoint is an order statistic of their union, which we find by pivoting with binary searches inside the lists. Memory is the array of fold predictions, not the matrix that other implementations build. For the jackknife+ () each list has one element and the fold predictions are themselves , so the saving in memory applies to CV+ only. What it gains. CV+ prediction is 17–27 times faster than in MAPIE with the same coverage. For 20,000 test points and 10 folds the call needs 3 megabytes of extra memory, whatever the training size; MAPIE needs 1.3 gigabytes with 2,000 training points and 3.1 gigabytes with 5,000, about 400 and 950 times more. On our 7-gigabyte machine MAPIE was killed for lack of memory at 20,000 training points, while pyconformal ran with 100,000.
Quantile forest. Trees are grown on binned features in parallel. At prediction time rows are routed through each tree in blocks, following only rows that have not reached a leaf, and leaf contents are merged by a bucket sort on outcome ranks. An approximate mode that keeps one training sample per leaf is available. What it gains. At equal pinball loss the fit is 6–9 times faster than quantile-forest: 1.9 against 11.5 seconds with 100,000 training rows and 27 against 215 seconds with a million, on 16 cores. The approximate mode halves prediction time and stores one outcome per leaf in place of all of them; it costs 2.6% in interval length, and coverage after calibration is unchanged (Table 18). The memory of the forest was not measured.
| Mode | Raw coverage | Coverage after CQR | Length after CQR | Pinball loss | Predict (s) |
| Exact | 0.900 | 0.901 (0.002) | 3.705 (0.014) | 0.1379 (0.0008) | 0.144 |
| One sample per leaf | 0.895 | 0.902 (0.001) | 3.802 (0.012) | 0.1402 (0.0008) | 0.074 |
Table 18. Quantile forest: exact leaves against the approximation that keeps one training sample per leaf. CQR on the forest’s 5% and 95% quantiles at a 90% target; 15,000 training, 5,000 calibration and 10,000 test points, heteroscedastic Student- noise, 100 trees, 10 repetitions (standard errors in brackets).
Quantile models from boosting libraries. CTI and CIR need many quantile levels from one model, which the boosting libraries do not give through one interface. QuantileBooster trains the levels with CatBoost or XGBoost (one model for all levels) or LightGBM (one model per level), sorts the quantiles so that they never cross, and hands the grid to the conformal step. It is a wrapper, not a new learning algorithm. What it gains. Shorter intervals than a forest on medium and large data: on four datasets (Table 14) a booster gave the shortest CQR intervals in every case, 4–27% shorter than those from Zillow’s quantile-forest, at coverage between 89.4% and 90.5%. They take 20–40 times longer to train than our forest, and on small data (221 training rows) the forest was better.
Table 14: Quantile models compared (quantile_models.py): pinball loss of the raw quantiles, and mean interval length after CQR and CIR+ at a 90% target. Five random splits per dataset, half the rows for training and a quarter each for calibration and test; 100 trees for the forests, 300 rounds for the boosters; 2 cores. Coverage after calibration was between 89.4% and 90.5% in every row. The three boosters are called through QuantileBooster. Best value per dataset in bold.
| Dataset | Model | Pinball | CQR | CIR+ | Fit (s) | Predict (s) |
| California housing | quantile-forest (Zillow) | 0.129 | 1.87 | 1.43 | 1.5 | 0.14 |
| QuantileForest | 0.124 | 1.70 | 1.41 | 0.23 | 0.08 | |
| CatBoost | 0.119 | 1.36 | 1.38 | 6.4 | 0.02 | |
| XGBoost | 0.123 | 1.49 | 1.40 | 9.2 | 0.28 | |
| LightGBM | 0.116 | 1.36 | 1.34 | 7.1 | 0.98 | |
| kin8nm | quantile-forest (Zillow) | 0.048 | 0.573 | 0.532 | 0.65 | 0.07 |
| QuantileForest | 0.045 | 0.541 | 0.513 | 0.11 | 0.03 | |
| CatBoost | 0.035 | 0.427 | 0.459 | 4.2 | 0.01 | |
| XGBoost | 0.045 | 0.529 | 0.557 | 7.0 | 0.11 | |
| LightGBM | 0.038 | 0.529 | 0.527 | 5.2 | 0.47 | |
| Synthetic, skewed | quantile-forest (Zillow) | 0.455 | 5.02 | 4.70 | 1.5 | 0.14 |
| QuantileForest | 0.454 | 4.98 | 4.62 | 0.20 | 0.08 | |
| CatBoost | 0.452 | 4.77 | 4.68 | 5.5 | 0.02 | |
| XGBoost | 0.453 | 4.68 | 4.48 | 8.0 | 0.28 | |
| LightGBM | 0.454 | 4.56 | 4.59 | 6.5 | 0.78 | |
| Synthetic, two modes | quantile-forest (Zillow) | 0.824 | 6.74 | 7.61 | 1.8 | 0.14 |
| QuantileForest | 0.821 | 6.67 | 8.08 | 0.21 | 0.08 | |
| CatBoost | 0.825 | 6.58 | 7.38 | 5.5 | 0.02 | |
| XGBoost | 0.813 | 6.50 | 6.71 | 7.7 | 0.27 | |
| LightGBM | 0.825 | 6.44 | 6.59 | 6.3 | 0.74 |
Table 14.
Multi-step methods. Multi-step split conformal prediction is a per-horizon rolling threshold with a lag of steps; it reuses the online kernel. AcMCP refits an MA() model with at every step. We evaluate the exact Gaussian likelihood with the innovations algorithm [7], which settles to per observation once its coefficients converge, and start each fit from the previous solution and inverse Hessian, restarting from zero every fifth fit to avoid following a local optimum. What it gains. Time only. These are the published methods, so coverage and interval length are those of the R implementation: the intervals are identical for multi-step split conformal prediction (0.010 against 42 seconds, more than 4,000 times faster) and for AcMCP without the scorecaster (0.8 milliseconds against 3.9 seconds, about 5,000 times). With the scorecaster the time is 2.5 against 107 seconds (43 times) and the intervals agree to a median of , the difference between two iterative optimisers. Memory was not measured; both implementations hold the history and little else.
CIR and CIR+. Let be the predicted quantiles and the windows obtained by starting from the shortest interquantile interval and adding, at each step, the shorter of the two neighbouring intervals. For CIR the score of is , and when lies outside . With the conformal quantile of the calibration scores, the prediction set is , or the whole line when . Because the windows are nested, exactly when , so the usual rank argument gives coverage at least . The authors’ code predicts with the shortest run of consecutive intervals instead; that window need not contain , the equivalence fails, and coverage can be lost (Table 20).
| Outcome | Target | CQR | CIR (default) | CIR, authors’ rule | CIR+ | CTI |
| Skewed (gamma) | 90% | .900(1) / 5.59 | .906(1) / 5.12 | .905(1) / 5.11 | .901(1) / 5.04 | .899(1) / 4.95 |
| 80% | .802(1) / 4.30 | .806(1) / 3.84 | .802(1) / 3.78 | .801(1) / 3.79 | .801(1) / 3.86 | |
| Symmetric (normal) | 90% | .900(1) / 4.23 | .904(1) / 4.35 | .902(1) / 4.31 | .900(1) / 4.29 | .900(1) / 4.26 |
| 80% | .799(1) / 3.26 | .804(1) / 3.36 | .800(1) / 3.29 | .799(1) / 3.33 | .800(1) / 3.39 | |
| Bimodal (two normals) | 90% | .900(1) / 7.00 | .906(1) / 7.60 | .883(1) / 6.95 | .901(1) / 7.57 | .900(1) / 4.85 |
| 80% | .801(1) / 6.29 | .806(1) / 7.10 | .769(1) / 6.16 | .802(1) / 7.08 | .800(1) / 3.81 |
Table 20. Interval methods on predicted quantiles: coverage and mean length, with standard errors in the last digits in brackets. 500 calibration points, 300 repetitions of 2,000 test points. “CIR, authors’ rule” is window="shortest"; for CTI the length is the total length of the set. On the bimodal outcome the authors’ rule under-covers; we confirmed the same numbers with the authors’ own code (0.883 and 0.767).
For CIR+ let be the length of the interval added at step divided by the predicted range . The score is with as above, and for a fixed just below 1 when is outside the range. Writing , the prediction set is , enlarged to when . Again is in the set exactly when : either , or and the added interval is short enough. The score depends on and on the fitted quantile model only, so calibration and test scores are exchangeable. The authors’ code divides by 100 times the largest calibration outcome, a quantity computed from the calibration labels and not from the test point, and its final comparison runs the other way (the extra interval is added when is larger than the fractional part of ).
What it gains. Validity first. On a bimodal outcome the authors’ rule covers 88.3% at a 90% target and 76.9% at 80%; ours covers 90.6% and 80.6% (Table 20). The price is longer intervals on that outcome (7.60 against 6.95), because the shorter ones were not valid; on skewed and symmetric outcomes the two rules differ by 1–2% in length. Speed second: the authors’ code grows the window of each sample in a Python loop, and ours grows all windows together in one compiled pass, 0.12 against 1.85 seconds for CIR (16 times faster) and 0.14 against 2.93 seconds for CIR+ (22 times). With window="shortest" the package reproduces the authors’ CIR intervals. Memory was not measured.
CTI. The method is that of [26] and we did not change it: the score of a calibration point is the length of the interquantile interval that holds its outcome, and the prediction set is every interval no longer than the calibrated threshold. The implementation finds each outcome’s interval and builds the sets in one compiled pass, and sorts the predicted quantiles only in rows where they cross. What it gains. Time: 23 against 431 milliseconds for 20,000 calibration and 200,000 test points with 100 intervals (19 times faster than the authors’ code), with identical sets. The statistical gain belongs to the method, not to us: on a bimodal outcome its sets, which may be unions of intervals, are 30–40% shorter than any single interval (Table 20).
STL and MSTL. A direct implementation of the loess recursions with the jump parameters of the original Fortran. Results match R’s forecast::mstl to . What it gains. An hourly series of points is decomposed in 0.098 seconds against 19.3 seconds in statsforecast at its default settings (197 times faster), because statsforecast evaluates every smoother at every point by default; at equal settings the factor is 6–7, and against R it is about 5 (Table 12).
Verification
Each method is tested at three levels.
Against its definition. A short, slow reference written from the paper, compared value by value: for example a 20-line ACI from [14] identical at every step for 128 parameter combinations, and Venn–Abers against the max–min formula in exact fractions on 300 problems with ties.
Against reference code, where it exists: identical output to venn-abers, crepes (quantiles and distribution values), MAPIE and PUNCC (CQR), the CTI authors’ code, the CIR authors’ code (with
window="shortest"), R’sforecast::mstl, and R’s scp and acmcp (the latter exactly without the scorecaster, and to a median difference of with it; see § 9).
Against the guarantee. Coverage over repeated draws at small calibration sizes, where an off-by-one rank is visible; the long-run bound of [14] on adversarial sequences; uniformity of the probability integral transform for predictive systems.
At the time of writing the suite has 365 tests, of which 32 need optional reference packages and are skipped without them; it runs with warnings treated as errors, with and without Numba. Every experiment in this paper fixes the seed of its data. Where another package draws its own random numbers from NumPy’s global state, as PUNCC does for randomised sets, a rerun reproduces the figures up to sampling noise and not digit for digit. Appendix B gives the data-generating process, sizes and software versions of each.
Audit of existing software
We tested thresholds and coverage in each of the thirteen packages, on the tasks it supports, and read five libraries module by module: MAPIE 1.6.0, crepes 0.9.1, PUNCC 0.9.3, TorchCP 1.2.1 and conformal-tights 0.5.0. All versions were the latest releases on PyPI in the week of 20 to 25 November 2026. In those five libraries every fault was traced to a line of source, reproduced by a script that uses only the package concerned, and checked against the package’s development branch. Unless stated, data are independent and identically distributed, and models are fixed or their outputs are passed in directly, so that a coverage gap can only come from the conformal step. For each library the repository holds a report that lists what was read line by line, what was only run, and what was not covered (benchmarks/mapie_audit, crepes_audit, puncc_audit, torchcp_audit, conformal_tights_audit).
Faults that break the guarantee or a reported number
Table 2 lists them. Two mechanisms are worth separating here; the fault in TorchCP’s SAPS is explained in the next subsection.
Too few calibration points, and no warning. With calibration errors the largest one covers with probability , so no finite interval reaches 90% unless . The correct answer with fewer errors is an infinite interval, or a refusal. Both statsforecast and mlforecast default to and return a finite interval labelled 90% that cannot cover more than about of the time. Darts with a calibration length of 3 returns the largest residual, which cannot cover more than . These intervals are incorrect, and none of the three packages tells the user: we ran each with Python warnings switched on and none was raised.
An uncorrected quantile. For the remaining shortfall in statsforecast and mlforecast comes from taking the ordinary empirical 90% quantile of the errors (linear interpolation, as in numpy.quantile) in place of the -th smallest. For exchangeable errors this covers about (exactly if the errors are uniformly distributed, approximately otherwise): 0.83 at , 0.86 at , 0.88 at , in line with Table 7. The statsforecast behaviour had been reported by a user before our audit (issue 1349) and the default was not changed.
| Calibration windows | statsforecast distribution | statsforecast error | mlforecast distribution | mlforecast error |
| 2 (default) | 0.634 | 0.645 | 0.634 | 0.645 |
| 5 | 0.776 | 0.781 | 0.773 | 0.781 |
| 10 | 0.823 | 0.830 | 0.824 | 0.832 |
| 20 | 0.860 | 0.862 | 0.862 | 0.865 |
Table 7. Coverage of statsforecast 2.1.1 and mlforecast 1.1.0 conformal intervals at a nominal 90% on 4,000 independent series (nixtla_coverage.py), and of a plain empirical quantile against the exact rule in simulation (exact_rule_simulation.py). “Distribution” and “error” are the two options of these packages, conformal_distribution (signed errors) and conformal_error (absolute errors). The plain quantile uses linear interpolation.
Five libraries module by module
Table 3 lists what the module-by-module reading found, in addition to the two items of Table 2 that concern TorchCP and crepes. The last column says whether the fault was already on the project’s issue tracker when we looked; “no” means we found no report among the issue titles on that date, which is not proof that nobody reported it.
Five patterns recur, and they are worth more than the list.
A clipped level. In adaptive conformal inference the working level moves by a fixed step after every outcome and is allowed to leave ; at or below zero the interval is the whole line. The guarantee of [14], a long-run miss rate within of the target for any sequence, needs every miss to lower the level by the full step. MAPIE and TorchCP both clip the level. A miss near the boundary is then charged less than a full step, and on a drifting series the next interval can miss again. On stationary and mildly dependent data the clip rarely binds (on i.i.d. data the clipped loop missed 10.1% and the unclipped one 10.0%), which is why ordinary tests do not show it. Validity under any drift, the property that distinguishes the method, is the part that is lost. Our implementation does not clip, and returns infinite intervals when the algorithm calls for them.
An object that is its own neighbour. Normalised conformal regression divides residuals by a difficulty estimate, often built from nearest neighbours. If the neighbours of a calibration object are searched in a set that contains the object, its difficulty is computed from its own residual and its normalised score is too small. The crepes package does this in the out-of-bag recipe of its own notebook, and TorchCP does it when NorABS is used as its docstring describes. Both give 83.6% at a 90% target with five neighbours.
Calibration and prediction that disagree. TorchCP’s non-randomised SAPS (below), MAPIE’s APS and RAPS with include_last_label=False, and TorchCP’s language-model predictor with a scaler all score calibration data one way and test data another. The rank argument needs the same score on both sides.
Results that depend on how predict is called. PUNCC’s APS and RAPS return different sets for the same row depending on how many other rows are in the call. In conformal-tights the quantiles returned differ depending on whether an interval was requested first.
A conformal step that is not there. TorchCP’s CQR-R and conformal-tights on fewer than 1,414 rows return what is in effect an uncorrected model output under a conformal name. For conformal-tights the project page lists “requires only a small number of calibration examples” among its features; the package’s own coverage test passes at 97% of the requested level.
Two scores for one class. TorchCP’s non-randomised SAPS gives the top-ranked class a calibration score of 0 and a prediction score of ; all other ranks agree. When the true label is the top class on more than a fraction of calibration points, the threshold is 0 or close to it, and at prediction time even the top class is excluded whenever exceeds it. When top-1 accuracy is well below the threshold is set by the higher ranks, where the two scores agree, and the fault is invisible. That is why Table 10 shows 34% coverage with 10 classes and correct coverage with 100 and 1,000, where the mean set holds 9 and 81 classes. The figures in Table 2 come from a separate run with 10 classes in which accuracy was varied through the scale of the logits (Appendix § 12).
A later, wider test of the same option found that once top-1 accuracy passes the target level the sets are empty: coverage 0.0% at accuracies of 0.93 and 0.98.
The second calibration stage of conformal-tights. The package fits a non-crossing linear quantile regression on 70% of its calibration rows and then shifts each quantile by a constant estimated on the other 30%. Three things weaken that shift. It is applied only if those 30% hold at least 128 rows, which needs 1,414 training rows; between 425 and 1,413 rows the 30% are set aside and then not used at all. It is an ordinary empirical quantile, without the finite-sample correction, and it ignores sample weights. And for levels between the lowest and the highest it is clipped, to keep the lines from crossing on the calibration points: on 16 fits with 5,000 rows the data asked for shifts of 0.035 to 0.052 residual standard deviations at the levels 0.25 to 0.75, and shifts of 0.005 to 0.019 were applied. The interval finally returned is, for each test point, the narrower of one built from absolute residuals and one built from relative residuals. Each of the two is close to its target when there are enough rows; choosing the narrower point by point is not. To be fair to the method: with 5,000 rows its intervals had a better interval score than split conformal and CQR built on the same data on four of five datasets. It trades one to five points of coverage for sharpness, and does not say so.
Smaller items. In crepes the code takes the -th largest residual for confidence ; at the product falls just below a whole number when is a multiple of ten (§ 3.1), so it uses one rank too high in 40 of the 1,240 cases of Table 6 and returns an infinite interval for . PUNCC raises a TypeError with a single calibration point (the ten errors in Table 6; at two of them a finite interval is valid) and its EnbPI raises one when residuals are updated after every observation. Nixtla’s conformalforecast refuses a level when is exactly the smallest size at which it is feasible, for example 9 points at 90% (the ten refusals in Table 6). MAPIE’s RAPS failed with 1,000 classes and 5,000 calibration points because it splits the calibration data by class and needs two points in every class; this is an error message, not a coverage fault. R’s scp takes one rank too high at a few calibration sizes, and the default integrator scale in R’s acmcp is the largest error of the whole history, which includes errors not yet observed.
| Package | Exact, finite | Infinite | Refused, none valid | Too narrow | Too wide | Refused, one valid | Error |
| pyconformal | 1,056 | 184 | 0 | 0 | 0 | 0 | 0 |
| TorchCP 1.2.1 | 1,056 | 184 | 0 | 0 | 0 | 0 | 0 |
| MAPIE 1.6.0 | 1,056 | 0 | 184 | 0 | 0 | 0 | 0 |
| PUNCC 0.9.3 | 1,054 | 0 | 176 | 0 | 0 | 0 | 10 |
| conformalforecast 0.1.0 (Nixtla) | 1,046 | 0 | 184 | 0 | 0 | 10 | 0 |
| crepes 0.9.1 | 1,016 | 184 | 0 | 0 | 40 | 0 | 0 |
Table 6. The split-conformal threshold over 1,240 cases: crossed with (exactness.py). In 184 of the cases no finite interval is valid; a package may then return an infinite interval or refuse, and both are safe. Each package is called through its public interval method, except TorchCP, whose threshold function is called directly. The entries are explained in § 7.
Further small items. MAPIE: SplitConformalRegressor raises a consistency error on float32 inputs with targets centred near zero (200 of 200 random datasets; reported in 2023 and 2024 and closed with a workaround); allow_infinite_bounds=True is ignored with the default symmetric score; spiegelhalter_p_value is one-sided. crepes: the rank is computed in floating point and is one too high at about a tenth of calibration sizes at a 90% level and a fifth at 80%, which widens intervals and never narrows them; WrapRegressor.fit returns None. TorchCP: the ACI miss indicator counts a value exactly on the bound as a miss; ACIPredictor.train calibrates on the training data. conformal-tights: quantiles cross on 0.2% of new points with five levels, because the constraint is imposed on calibration points only, and up to 1% of returned intervals have their lower end above their upper end on small samples; the first quantile prediction with five levels on 5,000 rows takes about 50 seconds, because the non-crossing fit is a linear programme solved at prediction time.
What was correct
The basic routines of the four main libraries are sound. MAPIE’s split, cross and jackknife regression, CQR and LAC met their target in 78 of 84 configurations and refused to run in the other six because the calibration set was too small, which is safe; its two shared quantile functions returned the exact conformal rank in 37,581 of 37,581 cases, and its public interval call refuses a level that the calibration set cannot support. Its conformal risk control, its RCPS with Hoeffding and Bernstein bounds, its conditional conformal regressor, its exchangeability tests and its calibrators all behaved as documented. The crepes package met its level in all 114 coverage settings for standard, normalised and Mondrian regressors, predictive systems and classifiers; its p-values are uniform and its online mode agrees with a batch refit. On PUNCC’s regression side every method met its level and the threshold was the exact rank at all 9,835 sizes tested; LAC, class-wise LAC and anomaly detection were correct. TorchCP’s rank was exact in 9,835 of 9,835 cases and its classification scores with the split predictor covered 89.7% to 89.9% at 90%, with no dependence on batch size; its class-conditional predictor, p-values, graph scores and predictive distribution were correct. The packages venn-abers 1.5.4 and online-cp 0.4.0 were correct on everything tested.
Valid but larger than needed
MAPIE’s default APS and RAPS are not randomised and covered 97.5% and 96.9% at a 90% target with 10 classes, with sets about 20% larger than the randomised versions. PUNCC’s non-randomised APS covered 99.2% in our coverage suite (it is not part of Table 10). These are choices, not errors, but the defaults cost efficiency. Three items of Table 3 belong here too: TorchCP’s ClusteredPredictor and WeightedPredictor keep coverage and return sets far larger than the methods they are named after, and MAPIE’s default Holm procedure keeps validity and often returns no threshold for a target the model can reach.
Limits of the audit
Coverage tests use synthetic data, except that conformal-tights was also run on eight public datasets. Parts not covered are listed in each report; the main ones are MAPIE’s semantic-segmentation controller and experimental module, PUNCC’s deep-learning backends, TorchCP’s language-model module with a real language model, and conformal-tights’ issue tracker. All findings are for the versions named, on the dates named; later releases may differ. The fault in MAPIE’s RCPS bound was first described by an outside contributor in a pull request to that project; we found it independently from the code and learned of the pull request afterwards.
Benchmarks
Timings are from a 2-core Linux machine with Numba installed, single runs or best of three, on 20–21 November 2026. Appendix B lists the environment and the controls applied, and Appendix C reports further experiments: latency one row at a time with a model of controlled cost, stress cases for Venn–Abers, the approximate forest mode, very large label sets, and an ablation of CIR.
Table 4 gives the main results; Appendix A has the full tables. Six qualifications matter.
Replay and live use are different measurements. For ACI and EnbPI the large factors against MAPIE are for replaying a history whose forecasts or features are all available, which is what a backtest does: pyconformal calls the model once for all rows. MAPIE’s interface calls the model at every step. When both are fed one row at a time, the cost of a single-row model call dominates and the factors are 6–8 for ACI and about 2.5 for EnbPI. Both rows are in the table and neither should be quoted without its label. To separate the conformal step from the model, Table 16 repeats the one-row-at-a-time measurement with a stub model of zero and of fixed cost: with a zero-cost model the median step takes 620 s in MAPIE and 9 s in pyconformal.
| Method, model | Package | Median | 95th pct. | 99th pct. | Max |
| ACI, zero-cost model | MAPIE | 620 | 943 | 1,054 | 3,641 |
| pyconformal | 9.3 | 10.9 | 28.9 | 164 | |
| ACI, model costing 100 s per call | MAPIE | 695 | 902 | 1,228 | 2,944 |
| pyconformal | 111 | 128 | 156 | 575 | |
| EnbPI, 30 linear models | MAPIE | 5,737 | 8,230 | 10,378 | 13,871 |
| pyconformal | 2,080 | 2,742 | 4,515 | 6,434 |
Table 16. Latency of one step, one row at a time, in microseconds (predict, then update). The model is a stub that returns its input and optionally waits a fixed time, so that the remaining time is the conformal step. 3,000 steps for ACI, 500 for EnbPI.
Venn–Abers gains depend on the scores. In the run of Table 8 the factor is 205 at a million calibration points with continuous scores, 11–29 at –, 6–17 on uninformative or anti-correlated scores, and 3–6 when scores are rounded to two decimals. Without Numba it is 25 at a million points. Timings of the reference at this size varied between runs (61.5 and 75.0 seconds); elsewhere we quote the lower factor from the faster run, 188.
Table 8: Venn–Abers, fit plus predict, in seconds (speed_venn_abers.py). Outputs are identical in every row. One run on 21 November 2026; the last column is the reference time divided by ours with Numba.
| Scores | Calibration | Test | venn-abers | MAPIE | Ours | Ours, no Numba | Factor |
| Realistic | 0.087 | 0.086 | 0.0081 | 0.028 | 11 | ||
| Realistic | 2.317 | 2.258 | 0.0793 | 0.251 | 29 | ||
| Realistic | 74.96 | 75.65 | 0.3662 | 2.985 | 205 | ||
| Rounded (2 decimals) | 0.015 | 0.015 | 0.0033 | 0.004 | 5 | ||
| Rounded (2 decimals) | 0.144 | 0.126 | 0.0254 | 0.027 | 6 | ||
| Rounded (2 decimals) | 0.183 | 0.223 | 0.0687 | 0.100 | 3 | ||
| Pure noise | 0.049 | 0.049 | 0.0078 | 0.024 | 6 | ||
| Pure noise | 0.631 | 0.630 | 0.0902 | 0.286 | 7 | ||
| Pure noise | 5.173 | 4.210 | 0.4717 | 3.865 | 11 | ||
| Anti-correlated | 0.054 | 0.051 | 0.0063 | 0.017 | 9 | ||
| Anti-correlated | 0.592 | 0.618 | 0.0904 | 0.257 | 7 | ||
| Anti-correlated | 4.856 | 5.395 | 0.2939 | 2.157 | 17 |
Table 8.
Memory. Table 13 gives the peak extra memory of one call for the four methods we measured. The large reductions are where another package builds a matrix that is not needed: CV+ prediction (3 megabytes against 1.3–3.1 gigabytes) and the CRPS (0.4 against 383 megabytes). Intervals from predictive systems need about six times less. Venn–Abers and the distribution function need about what the reference needs. Memory of the other methods was not measured.
Small margins are small. Split conformal regression takes milliseconds in every package at a million test points.
Comparisons with R set compiled Python against interpreted R. The AcMCP rows of Table 4 are for 1,000 steps and 6 horizons, the largest size at which we ran R. At 3,000 steps and 12
horizons, the size used for multi-step split conformal prediction, pyconformal’s AcMCP with the scorecaster takes 127 seconds; R was not run at that size. The scorecaster is the slowest part of the package.
Warm-up and the “Same” column. Compiled kernels are called once before timing, so compilation is excluded from every figure; it takes from a fraction of a second to a few seconds per kernel on first use and is cached on disk afterwards. In Table 4, “yes” means outputs were compared and equal, “coverage” that only coverage was compared, “n/c” not compared and “n/a” not comparable.
Statistical efficiency
On a skewed outcome with 100 predicted quantile levels, 20,000 calibration and 200,000 test points and a 90% target, mean interval length was 5.59 for CQR, 5.18 for CIR, 5.02 for CIR+ and 4.95 for CTI (a set that may be a union of intervals), with coverage 0.899–0.909. Table 20 repeats the comparison with standard errors on three outcome distributions and two levels. Randomised APS in pyconformal gave sets of mean size 1.73 at 89.9% coverage where MAPIE’s default APS gave 2.05 at 97.5%.
Real series
We took three public series from the Monash archive [16]: daily births in the United States (7,305 days), the daily flow of the Saugeen River (23,741 days) and hourly electricity demand in Victoria, Australia. At each of 1,500 consecutive forecast origins statsforecast 2.1.1 was fitted to the most recent history (364 days, or 28 days of hourly data) and forecast 7 days or 24 hours ahead, with a seasonal naive model for births and electricity and a naive model for the river. We recorded its own conformal intervals at a 90% level, with the default of 2 calibration windows and with 10, and gave the same point forecasts to MultiStepSplitConformal, which for each target uses only the forecast errors already known when the forecast was made. Coverage is counted over the same targets for every method, after the first 100 origins (Table 5, Figure 1). Figure 2 and Figure 3 show a stretch of two of the series: with two calibration errors the default intervals are narrow in most places and miss often, and now and then one large error makes them very wide.
| Series | Intervals | Coverage | Median width |
| US births | statsforecast, default | 61.1% | 518 |
statsforecast, 10 windows | 80.8% | 890 | |
pyconformal, multi-step split | 91.0% | 1,234 | |
pyconformal, AcMCP, no scorecaster | 89.9% | 2,025 | |
| Saugeen River | statsforecast, default | 66.0% | 10.7 |
statsforecast, 10 windows | 79.2% | 29.0 | |
pyconformal, multi-step split | 91.3% | 74.8 | |
pyconformal, AcMCP, no scorecaster | 89.7% | 233 | |
| Victoria electricity | statsforecast, default | 64.7% | 1,015 |
statsforecast, 10 windows | 82.4% | 1,839 | |
pyconformal, multi-step split | 90.8% | 2,393 | |
pyconformal, AcMCP, no scorecaster | 89.3% | 5,941 |
Table 5. Coverage of 90% forecast intervals on three real series, all horizons pooled, about 1,390 targets per horizon. Width is the median interval length in the units of the series. Bold marks the best result for each series: the narrowest intervals among those that cover within one point of the 90% target.

Figure 1. Coverage of 90% forecast intervals on three real series. The point forecasts are the same for every bar.

Figure 2. US daily births, forecasts 7 days ahead, 90% intervals over the last 84 days of the test period. Top: statsforecast with its default settings. Bottom: pyconformal on the same point forecasts. Dots mark outcomes outside the interval.

Figure 3. Victoria electricity demand, forecasts 24 hours ahead, 90% intervals. Top: statsforecast with its default settings. Bottom: pyconformal on the same point forecasts. Dots mark outcomes outside the interval.
The default covers 61% to 66%, which matches the synthetic result in Table 2: two errors per horizon cannot give a valid finite 90% interval. With 10 windows coverage is about 80%, because the interval comes from an interpolated quantile of the errors, which lands just above the second largest of ten, where the largest is needed. Multi-step split conformal reaches the stated level with intervals that are wider, as a 90% interval must be. It is plain split conformal prediction applied per horizon and recalibrated at every origin on all errors known so far, which takes 30 to 100 milliseconds for a whole series because no model is refitted; no adaptive or weighted method was needed to reach the level. The statsforecast library uses the same idea, and the gap comes from the number of errors used and the quantile taken. AcMCP without its scorecaster also reaches the level, but its intervals are 1.6 to 3 times wider than multi-step split on these series. With statsforecast’s AutoETS in place of the naive model on the river series (1,093 targets per horizon), coverage was 63.4%, 79.5% and 90.0% for the default, 10 windows and pyconformal. Forecast errors are not exchangeable, so these are observed frequencies with no guarantee behind them; with only the last 200 errors per horizon, multi-step split covered 88.4% to 89.6%.
Limitations
All coverage experiments except § 8.2 and the real-data runs of the conformal-tights audit use synthetic data. Time-series methods have no finite-sample guarantee under dependence, and we observed 85% coverage for SPCI and 89% for EnbPI at a 90% target on strongly autocorrelated errors.
Peak memory was measured for CV+, predictive systems and Venn–Abers only (Table 13), in one run each. Elsewhere we make no claim about memory.
Timings come from one 2-core machine. The quantile forest alone was also measured on a 16-core server.
CIR differs from its authors’ code in two ways, on purpose. Their code scores calibration points with a window that grows from the mode and predicts with the shortest window of the resulting number of intervals; these are not always the same window, so the rank argument does not apply. Our code uses the growing window on both sides by default and offers the authors’ rule as
window="shortest", which returned intervals identical to theirs on all 200,000 test points of our benchmark. The difference matters: on a bimodal outcome the authors’ rule covered 88.3% at a 90% target and 76.7% at an 80% target in their own code, while the default covered 90.5% and 80.4% (Table 20). For CIR+ their code scales the added length by 100 times the largest calibration outcome; ours scales by the sample’s predicted range.AcMCP with the scorecaster agrees with R to a median of , not exactly, because both packages fit the MA model with an iterative optimiser. Where we examined larger differences our fit had the higher likelihood.
Not yet included: conformal risk control, localised and clustered conditional methods, conformal anomaly detection, exchangeability testing.
The Venn–Abers tangent walk has no proved worst-case bound. On nine stress configurations, including alternating labels, blocks of equal labels, heavy ties and geometrically spaced scores, time grew by a factor of 11 to 18 for ten times the data, and the output equalled the reference implementation exactly (Table 17).
The real-data study in § 8.2 covers three series and simple forecasters; it is an illustration, not a benchmark. Timings were not repeated on a second machine.
Weighted conformal predictive systems are new in version 0.1.6; they were tested against their definition, by simulation under a known covariate shift, and against crepes-weighted 0.1.3, the code released with [21]. The distribution functions of the two agree to . The quantile rules differ: with equal weights ours returns the quantiles of the unweighted system, while crepes-weighted takes ranks one to two places further out (ranks 3 and 96 where the unweighted system takes 5 and 95, with 99 calibration points) and returns infinite intervals more often; both rules kept their level in simulation. Weighted ranks use floating point with a tolerance, not exact arithmetic. The exact rank routine,
conformal_quantile, is a public function, so other code can reuse it without the rest of the package.
Availability
The package pyconformal is released under the MIT licence at https://github.com/valeman/pyconformal and on PyPI as pyconformal; pip install "pyconformal[fast]" adds Numba. It requires Python 3.10 or later and NumPy 1.22 or later. The repository contains the test suite, continuous integration, and the benchmark scripts behind the timings in this paper, including short self-contained scripts that reproduce the faults in Table 2 and Table 3 using only the package concerned.
Full result tables
All runs used the releases current on 20 November 2026. Each table names its script in the repository’s benchmarks folder.
| Calibration errors | Plain quantile | Exact rule |
| 2 | 0.648 | 1.000 (infinite interval) |
| 5 | 0.787 | 1.000 (infinite interval) |
| 9 | 0.830 | 0.900 |
| 10 | 0.833 | 0.910 |
| 20 | 0.862 | 0.903 |
| 50 | 0.885 | 0.902 |
Table 21.
Experimental details
Environment. Table 15 lists the machine and the controls. Thread counts were left at their defaults for every package, which on this machine means two threads for BLAS and for Numba; nothing was pinned to one thread. All arrays are 64-bit floats. Where a competing package offers a vectorised call for many test rows, that call was used; the one-row-at-a-time measurements are labelled as such.
| Machine | 2 virtual cores (Intel Xeon, 2.1 GHz), 7 GB memory, Linux |
| Python | 3.13; Numba 0.68.1, scikit-learn 1.9.1, SciPy 1.17.1; NumPy 2.5.5 (OpenBLAS 0.3.34), or NumPy 1.26.4 with PyTorch 2.15 in the environment used for MAPIE, TorchCP and PUNCC |
| Packages | MAPIE 1.6.0, crepes 0.9.1, TorchCP 1.2.1, PUNCC 0.9.3, venn-abers 1.5.4, statsforecast 2.1.1, mlforecast 1.1.0, Darts 0.48.1, conformalforecast 0.1.0 (Nixtla), conformal-tights 0.5.0, online-cp 0.4.0, quantile-forest 1.5.0, R forecast 9.0.2, R conformalForecast 0.2.1.9000 (development version) |
| Threads | defaults (2 for BLAS and Numba); not pinned |
| Precision | 64-bit floats throughout |
| Timing | best of 3 runs (single run where one run exceeds a minute); compiled kernels warmed up first |
| Seeds | fixed in every script (NumPy default_rng with the seed given in the script) |
| Quantile forest | measured separately on a 16-core server under load from another job |
Table 15. Environment and controls.
Data. All data are synthetic, except the three Monash series of § 8.2 and the eight public regression datasets used in the audit of conformal-tights.
Threshold exactness (Table 6). Calibration scores drawn from an exponential distribution; and , 1,240 cases. Each package’s half-width is compared with the exact order statistic.
statsforecast and mlforecast (Table 7). 4,000 series of 120 independent standard normal values; a historic-average forecaster and a linear regression; nominal 90%.
Darts. 1,000 series of 40 independent standard normal values; linear regression on one lag; calibration lengths 3 to 20.
TorchCP SAPS (Table 2). 10 classes; SAPS weight 0.2; logits with ; labels drawn from the softmax probabilities; 5,000 calibration and 50,000 test points.
Prediction sets (Table 10). Logits plus 4 on the true class; 5,000 calibration points; 50,000 test points (20,000 for 1,000 classes).
Venn–Abers (Table 8). Scores uniform on ; labels Bernoulli with probability (realistic), (anti-correlated) or 0.5 (noise); or scores rounded to two decimals.
Predictive systems (Table 9). Standard normal outcomes and predictions; difficulty estimates uniform on .
Quantile methods. with uniform on and gamma with shape 2; 101 predicted quantiles equal to the true ones times a log-normal model error of scale 0.15, plus noise of scale 0.05. Table 20 also uses a normal and a two-component normal mixture for .
ACI. A random walk of scale 0.1 plus Student- noise whose scale triples half-way; a
Table 9: Conformal predictive systems against crepes 0.9.1, in seconds (speed_predictive.py).
| Task | Calibration | Test | crepes | Ours | Factor |
| 90% intervals | 0.0358 | 0.00015 | 241 | ||
| 90% intervals | 0.620 | 0.0010 | 602 | ||
| 90% intervals | 79.2 | 0.0098 | 8,126 | ||
| Distribution function | 0.081 | 0.0019 | 42 | ||
| Distribution function | 1.27 | 0.020 | 64 | ||
| Distribution function | 145 | 0.261 | 556 | ||
| CRPS | 1,000 | 2,000 | 0.037 | 0.00016 | 225 |
| CRPS | 5,000 | 5,000 | 0.309 | 0.00047 | 656 |
Table 9.
linear model on five lags trained once on 250 points; 250 calibration points.
EnbPI. 1,000 training rows, five standard normal features, linear outcome with unit noise, 30 bootstrap models.
Multi-step methods. An AR(1) series with coefficient 0.8 and its optimal forecasts (multi-step split); an ARMA(1,1) series with Student- innovations and a deliberately misspecified forecaster (AcMCP).
Additional experiments
The approximation halves prediction time and costs 2.6% in interval length; coverage after conformal calibration is unchanged, as it must be. It is worth using when prediction time matters more than a few per cent of width.
Table 20 also shows where each method pays off. On the skewed outcome CIR, CIR+ and CTI are 8–12% shorter than CQR. On the symmetric outcome CQR is as short as any, and CIR is 2–3% longer. On the bimodal outcome any single interval must span the gap between the modes, and CTI, which may return a union of intervals, is 30–40% shorter than the rest.
Table 11: Time-series methods per step when replaying a stream, in microseconds (speed_timeseries.py). References were run on shorter streams than pyconformal ( steps; 2,000 for EnbPI and SPCI), given in the third column, because several slow down per step as the stream grows; the factors would be larger at equal length. DtACI and AgACI are not output-comparable (random expert choice; different aggregation).
| Method | Reference | Steps | Reference | Ours | Factor |
| Conformal PID (P) | authors’ code | 20,000 | 10.2 | 0.09 | 112 |
| Conformal PID (P+I) | authors’ code | 20,000 | 14.0 | 0.13 | 106 |
| ACI | authors’ code | 20,000 | 114 | 0.40 | 286 |
| DtACI, update step only | authors’ R code | 50,000 | 41 | 0.62 | 66 |
| AgACI, update step only | R code, 30 experts | 50,000 | 20 | 4.4 | 4.5 |
| Non-exchangeable CP | definition recomputed each step | 4,000 | 71 | 0.30 | 236 |
| EnbPI | MAPIE 1.6.0 | 300 | 5,454 | 11.6 | 400–470 |
| EnbPI, batches of 10 | PUNCC 0.9.3 | 2,000 | 281 | 12 | 23 |
| SPCI, refit every step | the paper’s loop, another forest | 100 | 29,100 | 3,300 | 9 |
Table 11.
| Classes | Seconds | ns per row and class | Coverage | Mean set size | Input / peak memory (MB) |
| 100 | 0.005 | 26 | 0.898 | 8.5 | 3 / 427 |
| 1,000 | 0.053 | 27 | 0.905 | 82 | 32 / 434 |
| 10,000 | 0.669 | 34 | 0.903 | 839 | 320 / 1,371 |
| 30,000 | 2.018 | 34 | 0.904 | 2,257 | 960 / 3,247 |
Table 19. Randomised APS with many classes: 2,000 calibration and 2,000 test rows, calibrate plus predict. Time grows in proportion to the size of the probability matrix. Peak memory is for the whole process, including generating the data.
References
- [1]Anastasios N. Angelopoulos, Stephen Bates, Michael I. Jordan, and Jitendra Malik. Uncertainty sets for image classifiers using conformal prediction. In International Conference on Learning Representations, 2021.arxiv.org/abs/2009.14193
- [2]Anastasios N. Angelopoulos, Emmanuel J. Candès, and Ryan J. Tibshirani. Conformal PID control for time series prediction. In Advances in Neural Information Processing Systems, volume 36, 2023.arxiv.org/abs/2307.16895
- [3]Kasun Bandara, Rob J. Hyndman, and Christoph Bergmeir. MSTL: A seasonal-trend decomposition algorithm for time series with multiple seasonal patterns. International Journal of Operational Research, 52(1):79–98, 2025.arxiv.org/abs/2107.13462
- [4]Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. Predictive inference with the jackknife+. The Annals of Statistics, 49(1):486–507, 2021.arxiv.org/abs/1905.02928
- [5]Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2):816–845, 2023.arxiv.org/abs/2202.13415
- [6]Henrik Boström. crepes: A Python package for generating conformal regressors and predictive systems. In Conformal and Probabilistic Prediction with Applications, volume 179 of PMLR, pages 24–41, 2022.
- [7]Peter J. Brockwell and Richard A. Davis. Time Series: Theory and Methods. Springer, 2nd edition, 1991.
- [8]Robert B. Cleveland, William S. Cleveland, Jean E. McRae, and Irma Terpenning. STL: A seasonal-trend decomposition procedure based on loess. Journal of Official Statistics, 6(1):3–73, 1990.
- [9]Thibault Cordier, Vincent Blot, Louis Lacombe, Thomas Morzadec, Arnaud Capitaine, and Nicolas Brunel. Flexible and systematic uncertainty estimation with conformal prediction via the MAPIE library. In Conformal and Probabilistic Prediction with Applications, volume 204 of PMLR, pages 549–581, 2023.
- [10]Gianluca Detommaso, Alberto Gasparin, Michele Donini, Matthias Seeger, Andrew Gordon Wilson, and Cedric Archambeau. Fortuna: A library for uncertainty quantification in deep learning. Journal of Machine Learning Research, 25(238):1–7, 2024.arxiv.org/abs/2302.04019
- [11]T. Ding, I. Gibbs, and R. J. Tibshirani. Calibrated multi-level quantile forecasting. arXiv preprint arXiv:2512.23671, 2025.arxiv.org/abs/2512.23671
- [12]Peter M. Fenwick. A new data structure for cumulative frequency tables. Software: Practice and Experience, 24(3):327–336, 1994.DOI
- [13]Azul Garza, Max Mergenthaler Canseco, Cristian Challu, and Kin G. Olivares. Stats-Forecast: Lightning fast forecasting with statistical and econometric models. PyCon, Salt Lake City. https://github.com/Nixtla/statsforecast, 2022.
- [14]Isaac Gibbs and Emmanuel J. Candès. Adaptive conformal inference under distribution shift. In Advances in Neural Information Processing Systems, volume 34, 2021.arxiv.org/abs/2106.00170
- [15]Isaac Gibbs and Emmanuel J. Candès. Conformal inference for online prediction with arbitrary distribution shifts. Journal of Machine Learning Research, 25(162):1–36, 2024.
- [16]Rakshitha Godahewa, Christoph Bergmeir, Geoffrey I. Webb, Rob J. Hyndman, and Pablo Montero-Manso. Monash time series forecasting archive. In Neural Information Processing Systems Track on Datasets and Benchmarks, 2021.arxiv.org/abs/2105.06643
- [17]Naixin Guo, Rui Luo, and Zhixin Zhou. Fast conformal prediction using conditional interquantile intervals. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, 2026. arXiv:2601.02769.arxiv.org/abs/2601.02769
- [18]Julien Herzen et al. Darts: User-friendly modern machine learning for time series. Journal of Machine Learning Research, 23(124):1–6, 2022.arxiv.org/abs/2110.03224
- [19]Jianguo Huang, Huajun Xi, Lijun Zhang, Huaxiu Yao, Yue Qiu, and Hongxin Wei. Conformal prediction for deep classifier via label ranking. In International Conference on Machine Learning, 2024.arxiv.org/abs/2310.06430
- [20]Jianguo Huang, Jianqing Song, Xuanning Zhou, Bingyi Jing, and Hongxin Wei. TorchCP: A Python library for conformal prediction. Journal of Machine Learning Research, 26(266):1–25, 2025.arxiv.org/abs/2402.12683
- [21]Jef Jonkers, Glenn Van Wallendael, Luc Duchateau, and Sofie Van Hoecke. Conformal predictive systems under covariate shift. In Conformal and Probabilistic Prediction with Applications, volume 230 of PMLR, pages 406–423, 2024.arxiv.org/abs/2404.15018
- [22]Siu Kwan Lam, Antoine Pitrou, and Stanley Seibert. Numba: A LLVM-based Python JIT compiler. In Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, 2015.DOI
- [23]Jing Lei, Max G'Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111, 2018.arxiv.org/abs/1604.04173
- [24]Z. Lin, S. Trivedi, and J. Sun. Conformal prediction intervals with temporal dependence. Transactions on Machine Learning Research, 2022.arxiv.org/abs/2205.12940
- [25]Markus Löning, Anthony Bagnall, Sajaysurya Ganesh, Viktor Kazakov, Jason Lines, and Franz J. Király. sktime: A unified interface for machine learning with time series. arXiv:1909.07872, 2019.arxiv.org/abs/1909.07872
- [26]Rui Luo and Zhixin Zhou. Conformal thresholded intervals for efficient regression. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 19216–19223, 2025.
- [27]Valery Manokhin. Multi-class probabilistic classification using inductive and cross Venn–Abers predictors. In Conformal and Probabilistic Prediction and Applications, volume 60 of PMLR, pages 228–240, 2017.
- [28]Valery Manokhin. Training-free probabilistic time-series forecasting with conformal seasonal pools. arXiv:2605.03789, 2026.DOI
- [29]Valery Manokhin and Daniel Grønhaug. Classifier calibration at scale: An empirical study of model-agnostic post-hoc methods. arXiv:2601.19944, 2026.arxiv.org/abs/2601.19944
- [30]Nicolai Meinshausen. Quantile regression forests. Journal of Machine Learning Research, 7: 983–999, 2006.
- [31]Mouhcine Mendil, Luca Mossina, and David Vigouroux. PUNCC: A Python library for predictive uncertainty calibration and conformalization. In Conformal and Probabilistic Prediction with Applications, volume 204 of PMLR, pages 582–601, 2023.
- [32]Harris Papadopoulos, Kostas Proedrou, Vladimir Vovk, and Alexander Gammerman. Inductive confidence machines for regression. In European Conference on Machine Learning, pages 345–356, 2002.
- [33]Yaniv Romano, Evan Patterson, and Emmanuel J. Candès. Conformalized quantile regression. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1905.03222
- [34]Yaniv Romano, Matteo Sesia, and Emmanuel J. Candès. Classification with valid and adaptive coverage. In Advances in Neural Information Processing Systems, volume 33, 2020.arxiv.org/abs/2006.02544
- [35]Andro Sabashvili. Conformal prediction algorithms for time series forecasting: Methods and benchmarking. arXiv:2601.18509, 2026.arxiv.org/abs/2601.18509
- [36]Mauricio Sadınle, Jing Lei, and Larry Wasserman. Least ambiguous set-valued classifiers with bounded error levels. Journal of the American Statistical Association, 114(525):223–234, 2019.
- [37]M. Stocker, W. Maigorzevicz, M. Fontana, and S. Ben Taieb. A gentle introduction to conformal time series forecasting. arXiv:2511.13608, 2025.arxiv.org/abs/2511.13608
- [38]Sophia Sun and Rose Yu. Copula conformal prediction for multi-step time series forecasting. In International Conference on Learning Representations, 2024.arxiv.org/abs/2212.03281
- [39]Vianney Taquet, Vincent Blot, Thomas Morzadec, Louis Lacombe, and Nicolas Brunel. MAPIE: An open-source library for distribution-free uncertainty quantification. arXiv:2207.12274, 2022.arxiv.org/abs/2207.12274
- [40]Ryan J. Tibshirani, Rina Foygel Barber, Emmanuel J. Candès, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1904.06019
- [41]D. Tu and K. Giesecke. Online conformal prediction for non-exchangeable panel data. arXiv preprint arXiv:2605.17705, 2026.arxiv.org/abs/2605.17705
- [42]Lars van der Laan and Ahmed Alaa. Generalized Venn and Venn–Abers calibration with applications in conformal prediction. In International Conference on Machine Learning, volume 267 of PMLR, pages 60748–60763, 2025.arxiv.org/abs/2502.05676
- [43]Vladimir Vovk. Conditional validity of inductive conformal predictors. In Asian Conference on Machine Learning, volume 25 of PMLR, pages 475–490, 2012.arxiv.org/abs/1209.2673
- [44]Vladimir Vovk and Ivan Petej. Venn–Abers predictors. In Uncertainty in Artificial Intelligence, pages 829–838, 2014.
- [45]Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
- [46]Vladimir Vovk, Ivan Petej, and Valentina Fedorova. Large-scale probabilistic predictors with and without guarantees of validity. In Advances in Neural Information Processing Systems, volume 28, 2015.arxiv.org/abs/1511.00213
- [47]Vladimir Vovk, Jieli Shen, Valery Manokhin, and Min-ge Xie. Nonparametric predictive distributions based on conformal prediction. Machine Learning, 108:445–474, 2019.
- [48]Vladimir Vovk, Ivan Petej, Ilia Nouretdinov, Valery Manokhin, and Alexander Gammerman. Computationally efficient versions of conformal predictive distributions. Neurocomputing, 397:292–308, 2020.arxiv.org/abs/1911.00941
- [49]Xiaoqian Wang and Rob J. Hyndman. Online conformal inference for multi-step time series forecasting. arXiv:2410.13115, 2024.arxiv.org/abs/2410.13115
- [50]Chen Xu and Yao Xie. Conformal prediction interval for dynamic time-series. In International Conference on Machine Learning, 2021.
- [51]Chen Xu and Yao Xie. Sequential predictive conformal inference for time series. In International Conference on Machine Learning, 2023.arxiv.org/abs/2212.03463
- [52]Qingdi Yu, Zhiwei Cao, Ruihang Wang, Zhen Yang, Lijun Deng, Min Hu, Yong Luo, and Xin Zhou. Dual-splitting conformal prediction for multi-step time series forecasting. Applied Soft Computing, 184:113825, 2025.DOI
- [53]Margaux Zaffran, Olivier Féron, Yannig Goude, Julie Josse, and Aymeric Dieuleveut. Adaptive conformal predictions for time series. In International Conference on Machine Learning, 2022.arxiv.org/abs/2202.07282