{"sources":[{"id":"s1","url":"https://arxiv.org/html/2411.11824v5","title":"Theoretical Foundations of Conformal Prediction","publisher":"arXiv; Anastasios N. Angelopoulos, Rina Foygel Barber and Stephen Bates","published_at":"2026-03-06","accessed_at":"2026-11-29","version":"arXiv:2411.11824v5","document_id":"","revision_id":"","limitations":"Author-written theoretical reference, not an empirical validation of this notebook. Algorithm 1.1 and Theorem 1.2 inspected in current v5; earlier v1 was also opened during discovery."},{"id":"s2","url":"https://arxiv.org/html/2107.07511v6","title":"A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification","publisher":"arXiv; Anastasios N. Angelopoulos and Stephen Bates","published_at":"2022-12-07","accessed_at":"2026-11-29","version":"arXiv:2107.07511v6","document_id":"","revision_id":"","limitations":"Shares authors with s1. Version history gives 2022-12-07, while rendered HTML body displays August 24, 2026; use version history for bibliographic date. Sections 1, 3.1 and 3.2 support interpretation, not the invented measurements."}],"claims":[{"id":"C1","text":"With a separately fitted predictor and i.i.d. calibration/test data, split conformal absolute-residual intervals use rank ceil((n+1)(1-alpha)) and provide marginal coverage at least 1-alpha; exchangeability is the more general foundation.","location":"coverage; construction","evidence":[{"source_id":"s1","passage":"compute the absolute residual","location":"Section 1.2, Algorithm 1.1, step 2; steps 3–4 give rank and interval"},{"source_id":"s1","passage":"Then the marginal coverage property","location":"Section 1.2, Theorem 1.2; following paragraph discusses exchangeability"}],"limitations":"n in this notebook counts calibration points only. The source's introductory algorithm uses n/2 calibration points. No assertion that the synthetic data meet sampling assumptions.","kind":"source","basis":"Algorithm 1.1, Theorem 1.2 and the immediately following explanation read in v5."},{"id":"C2","text":"Marginal coverage averages over calibration and test randomness and does not imply per-input or subgroup coverage; realized calibration samples can give different coverage.","location":"coverage; interpretation; questions Q4","evidence":[{"source_id":"s2","passage":"averaged","location":"Section 1, paragraph following equation (1), explaining marginal probability"},{"source_id":"s2","passage":"This is a stronger property than the marginal coverage property","location":"Section 3.1, Conditional coverage"},{"source_id":"s2","passage":"those two numbers will not be equal","location":"Section 3.2, repeated calibration and infinite validation sets"}],"limitations":"The lesson does not claim a conditional guarantee, a fixed-calibration guarantee, or a guarantee for every finite evaluation sample.","kind":"source","basis":"Opened full-text tutorial, sections 1, 3.1 and 3.2."},{"id":"C3","text":"The original illustrative Python implements sorted-rank selection using rational alpha, validates residual inputs, returns infinity for an unavailable rank and tests only supplied arithmetic cases.","location":"construction; python-lab; questions Q3 and Q5; assets/lab.py","evidence":[],"limitations":"Unexecuted illustrative code. Infinity is a conservative explicit fallback covering all finite real outcomes. The helper does not validate statistical assumptions.","kind":"original_example","basis":"Inspect lab.py: threshold, interval, demo, Fraction arithmetic, input checks and six assertions. Imports are fractions and math; operations use supplied lists and print only."},{"id":"C4","text":"The nine synthetic residuals are 1 through 9 mm; alpha values 0.20, 0.10 and 0.05 select ranks 8, 9 and 10. Radius 8 around 120 gives [112,128], width 16, and calibration inclusion 8/9.","location":"construction; worked-example including both tables; python-lab; questions Q1–Q3","evidence":[],"limitations":"Original stipulated data, not measurements. Requested levels are inputs, not observed guarantees.","kind":"original_example","basis":"Apply the rank premise in C1 to n=9: ceil(10*0.8)=8, ceil(10*0.9)=9, ceil(10*0.95)=10. Absolute differences from 100 are 1..9; 120±8=(112,128), 150±8=(142,158), 120±9=(111,129); 8/9=0.888... ."},{"id":"C5","text":"Changing the last synthetic observation from 109 to 190 preserves rank-eight residual 8 but changes rank-nine residual to 90, yielding [30,210] around 120 at alpha=0.10.","location":"python-lab exercise","evidence":[],"limitations":"A single constructed perturbation, not a robustness guarantee.","kind":"original_example","basis":"Edited absolute residual list is [1,2,3,4,5,6,7,8,90]. Eighth value=8; ninth=90; 120-90=30 and 120+90=210."},{"id":"C6","text":"The independently invented subgroup counts give 80% aggregate coverage, 90% in A and 40% in B, a 50-percentage-point gap.","location":"interpretation; questions Q4","evidence":[],"limitations":"These counts are not outputs of lab.py or observations from a real population.","kind":"original_example","basis":"Stipulated A:72/80=0.9; B:8/20=0.4; combined 80/100=0.8; 90-40=50 percentage points."},{"id":"C7","text":"Public library discovery and live full-text reading informed the lesson; the saved application abstract was not used as substantive evidence, and no execution or independent expert verification is claimed.","location":"source-checks; sources metadata","evidence":[],"limitations":"This describes author-stage source handling only, not publication acceptance or independent review.","kind":"process","basis":"Tool records: search_knowledge queries conformal prediction, conformal foundations, split conformal; read_document 670cdc036bae3c3c229a1a38a0af0b88 revision badf7011cac77b0830f52f8ca224303d; web opens of both cited HTML versions and their arXiv abstracts. Saved abstract is excluded from cited sources. Current v5 history dated 2026-03-06; tutorial v6 history dated 2022-12-07."},{"id":"C8","text":"The notebook's scope, synthetic-example separation, table choice and suggested reporting discipline are editorial choices; arithmetic checks do not establish sampling assumptions.","location":"coverage scope paragraph; interpretation; questions Q5","evidence":[],"limitations":"Suggested educational workflow rather than a formal certification or empirical study.","kind":"process","basis":"Inspectable notebook structure: two arithmetic tables, one pure calculation lab, independent invented subgroup counts, explicit scope paragraph and no execution report. Suggested report fields expose the inputs and assumptions used by C1–C6."}]}