# Source map — accessed 2026-11-24 - Official [temperature_scale / set_temperature](https://github.com/gpleiss/temperature_scaling/blob/ce1154ec7d5235eee046f28875c3dd8421f11d45/temperature_scaling.py#L23), commit ce1154ec7d5235eee046f28875c3dd8421f11d45, MIT copyright2017 Geoff Pleiss. File opened2026-11-24; LICENSE checked in preceding source audit. metrics.py metric/fit independently implement logit division and validation NLL. CPU bounded inverse-temperature bisection replaces CUDA LBFGS; no author implementation copied. audit.py independently normalizes two logits. ECE10 uses [left,right), unlike author15 bins (left,right]. - Official [DistilBertForSequenceClassification.forward](https://github.com/huggingface/transformers/blob/a22a4378d97d06b7a1d9abad6e0086d30fdea199/src/transformers/models/distilbert/modeling_distilbert.py#L918), Transformers4.49.0 commit a22a4378d97d06b7a1d9abad6e0086d30fdea199, Apache-2.0. run.py invokes official model unchanged, eager float32. Historical source digest retained in source_verification.json with original verification date retained. No upstream model source copied. - [Guo et al. ICML2017](https://proceedings.mlr.press/v70/guo17a.html): calibration/NLL/temperature definition. analyze.py derivative and metric are independent teaching implementation, not a reproduction of paper benchmarks. - [Maas et al. ACL2011](https://aclanthology.org/P11-1015/): IMDb. v1 archive SHA c40f74a18d3b61f90feba1e17730e0d38e8b97c05fde7008942e91923d1658fe. Fixed download mirror in run.py. Raw texts not redistributed; no redistribution license assumed. - Model/tokenizer Apache-2.0 revision714eb0fa89d2f80546fda750413ed43d93601a13, exact files and hashes resources.lock.json. - run.py adapts our MIT [132 run.py](https://github.com/distance539/ai-research-lab/blob/cc52f59c5e59a01e4baf233a4ee8487d0e7a99e8/cycle07/132-imdb-calibration-transfer/run.py): uses exploration pool, prohibits re-registration. pools.json and exploration.json copied byte-identically from132 pools.json/formal.json. Model fetch and all self-authored helpers included. Only fetch/smoke/formal actions are exposed; use analyze.py for138 paired controls. - plot.py reads saved results.json only; no synthetic quantitative data or imagegen values. 139: analyze.py implements the registered128/1000 by global/group policy comparison; fallback is part of the treatment. metrics.py and frozen protocol/data retained from138 public commit d6ecc359f363538620987b848f35cb8349a911da, cycle07/138-equal-budget-controls. All required self-authored modules included. audit.py independently checks4000 predictions and loss contrasts; plot.py reads results.json. Today opened fixed official code, LICENSE, model tree and paper pages; historical installed-source digest retains its original date. 140 accessed2026-11-27: paper pages and fixed temperature_scale/set_temperature source reopened. freeze.py, reproduce.py and damage_tests.py are independent MIT teaching implementations of release integrity/controlled corruption, not upstream scientific algorithms. analyze.py/audit.py/metrics.py/run.py copied unchanged from our139 commit b6eb890e51f34877e572bd8daafa1e5a609ff0f3; all helpers included. final_config.json resolves the registered primary1000 comparison without choosing by development results. Historical source/license evidence retains original dates. 141 accessed2026-11-28: reopened Guo/ Maas paper pages, fixed Pleiss source and fixed model tree. run.py changes ONLY formal pool selection and adds overwrite/frozen-hash guards; first adapter smoke failed before inference and was repaired before formal. All inherited upstream versions/licenses above retained. analyze.evaluate and metrics.py copied byte-identically from140 public commit d8dccb42173346f6299f71b187f15d75301864a5. confirm.py invokes unchanged evaluate with frozen temperatures and registered paired bootstrap. audit141.py independently computes two-class softmax, loss, sorting and percentile interval. No temperature refitting. plot.py is independent matplotlib code; reads confirmation_results.json and confirmation_predictions.json. final_lock is historical140 release evidence; release141 records current pre-inference adapter hashes.