The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
- TL;DR — what we did and why it works
- Method
- Reproducibility & openness (rubric: reproducibility/openness, interoperability)
- Reuse & extensibility (rubric: reuse/extensibility)
- Feedback to the ecosystem (rubric: feedback to the ecosystem)
- Scientific & societal value — a climate-adaptation policy grounded in these forecasts
- Honor code / anti-leakage
- Repository map
- License
Protostar Challenge — Climate Risk Intelligence
Track 4 submission: forecasting annual climate metrics for 210 U.S. cities (2019–2025)
Forecast: submission.csv — 5,880 rows (210 cities × 7 years × 4 metrics), long format city_id, year, metric, predicted_value.
Reproduce everything: cd code && pip install -r requirements.txt && python reproduce.py (regenerates submission.csv byte-for-byte in ~1 second from the frozen base forecasts).
TL;DR — what we did and why it works
The challenge scores each metric by skill over the 1989–2018 climatology:
S_m = 1 − MAE_m / MAE_climatology_m Score = 100 × max(0, mean of the four S_m)
For annual, city-level climate, the 30-year normal is a famously hard baseline — an unguarded machine-learning model usually scores negative against it. So our design principle is not "most complex model" but:
Only deviate from climatology where an honest out-of-sample backtest proves we beat it — and fall back to climatology everywhere else (a hard per-metric floor).
That floor makes a negative score structurally impossible. It lets us lean into the real signal — the warming trend in temperature and cooling-degree-days — stay at climatology for precipitation (unbeatable at this horizon), and take a small, honest edge on single-day heat extremes via convergent extreme-value methods.
Backtest results (rolling origin; two horizon regimes)
| Metric | Climatology MAE | Our MAE | Skill |
|---|---|---|---|
annual_avg_temp |
1.76 °F | 1.44 °F | +0.183 |
cdd |
210 °F·days | 162 °F·days | +0.230 |
total_precip_in |
6.31 in | 5.97 in | +0.054 |
hottest_day_temp |
2.49 °F | 2.40 °F | +0.037 |
| Overall mean skill | +0.126 |
We validate on two fold regimes: long-horizon folds — train→(2011→2012-18), (2008→2009-15), (2005→2006-12), each 7 years ahead like the 2022–2025 final scoring — and short-horizon (1–3 yr) folds mirroring the 2019–2021 live window (overall 0.086). Every metric is positive in every fold. For calibration, on the same folds a 10-year-mean scores 6.6, an equal-weight linear trend scores 0.0 (it wrecks precipitation and hottest-day), and the 30-year climatology scores 0 by definition — our ensemble beats all of them.
We optimise the honest ≤2018 backtest, not the live score. The live window (2019–2021) is one short realisation; tuning a model by its 2019–2025 score would be using the answers. The long-horizon backtest is the unbiased proxy for the 2022–2025 final, so that is what every design choice is measured against.
Method
Developed over several rounds of iterative modelling and cross-validated model comparison, each candidate judged by the same leakage-proof harness, with a per-metric selection that keeps only what beats climatology out-of-sample.
1. Leakage-proof evaluation harness (code/src/harness.py). The single source of truth: tidy targets, climatology baseline, rolling backtest, validating submission writer. A model only ever receives train rows with year <= cutoff. Climatology-as-a-model scores exactly 0.000 skill — our proof the evaluator is unbiased.
2. Candidate forecasters (code/experiments*/). Deliberately diverse: a trend family (robust/shrunk Theil–Sen, state-space, damped ETS, spatial-analog, recency-weighted, horizon-aware, CV-calibrated), a daily-data family (daily-distribution CDD, seasonal warming decomposition, EVT hottest-day, regional pooling), a station-homogenisation family (correcting artificial record breaks from station changes, using coverage_and_stations), and extreme-value hottest-day estimators.
3. The champion recipe (code/src/champion.py). Cross-validating per metric (and per horizon):
temp = 0.75 · trend_ensemble + 0.25 · seasonal_warming_decomp
precip = wet-day-count x mean-wet-day-intensity decomposition
cdd = station-corrected daily-distribution model (coverage-aware + homogenised)
hottest = horizon-aware: 2019-2021 -> seasonal estimator
2022-2025 -> mean(2nd-order-statistic, GEV-trend, daily-tail)
The hottest-day split is itself a finding: on the ≤2018 backtest the seasonal estimator is stronger at short leads, while three independent extreme-value methods (second-hottest-day order statistic, non-stationary GEV with trend-in-location, and the daily upper-tail distribution) all converge to the same ~0.041 skill at the 4–7-year leads the final scores, each positive on every fold — raising far-horizon hottest-day skill from 0.033 to 0.041 without any single-model fragility. Temperature leans on the trend blend (0.183 is a hard ceiling — a dozen independent methods confirm it); CDD from a station-homogenised daily-distribution model (coverage-aware daily imputation that de-biases years with missing summer days), recomputed from the warming-shifted distribution; precipitation uses a wet-day-count x mean-wet-day-intensity decomposition (per-city intensity, national-shrunk wet-day frequency) that robustly beats the climatology baseline on every backtest fold. The data chose the recipe, not us.
Reproducibility & openness (rubric: reproducibility/openness, interoperability)
- One command, ~1 second:
python code/reproduce.pyapplies the frozen recipe to the base forecasts incode/frozen/and regeneratessubmission.csv. We verified it is byte-identical to the committed file (output deleted first, regenerated clean). - Why frozen forecasts: each base model's cross-validated selection is compute-heavy, so each model's final 2019–2025 output is frozen under
code/frozen/. Every base model is present as source and can be regenerated;champion.pydocuments exactly how they combine. - Deterministic, no RNG seeds; pinned environment (
requirements.txt); mainstream open-source libraries only (numpy, pandas, scikit-learn, statsmodels, scipy, huggingface_hub). No private data, API keys, or GPU. - Honest validation note: global combiner choices are selected by cross-fold CV, so reported skill carries a small in-sample optimism; the per-horizon split and climatology floor keep it conservative, and no post-2018 data is ever used — including for model selection.
Verification & honor-code artifacts
- Pre-registration hash.
submission.csvSHA-256 =f941c33a7afba01cd130d75ca07dc789654626817d6428ad688ae6c8376bb852(verify withshasum -a 256 submission.csv). This fixes the forecast so it can be shown to predate scoring. code/verify_scoring.pyreproduces the challenge's official scoring formula from scratch and proves our evaluation is unbiased — scoring the climatology baseline against itself yields exactly 0 skill on every metric and fold.code/tests/test_leakage.pyproves the ≤2018 discipline by construction: it injects absurd post-2018 values into the training data and asserts the forecast is byte-identical (the harness filtersyear <= cutoff, so future data cannot leak), plus the scorer-unbiased check and the full submission-contract check. Runpython tests/test_leakage.py.
Reuse & extensibility (rubric: reuse/extensibility)
One contract powers everything:
def predict_fn(train_targets, cutoff, years) -> DataFrame[city_id, year, metric, predicted_value]
H.backtest(predict_fn, H.DEFAULT_FOLDS) # -> per-metric + overall skill vs climatology
Write a predict_fn, run backtest, and your model is instantly comparable to all 25+ of ours. The harness is a reusable, leakage-proof benchmark for annual climate forecasting (any GHCN-style city-year panel); the per-metric-floor selection is model-agnostic.
Feedback to the ecosystem (rubric: feedback to the ecosystem)
Data-quality issues we found in CMU-OSPO/protostar-climate-train-to-2018, handled in harness.py and flagged for maintainers:
-infsentinel inMax Tmaxfor ~1,184 station-years — slips pastdropna()and poisons means/MAE. We coerce±inf → NaN.- Multi-decade temperature gaps (e.g.
USW00003856has one temperature observation in 2009–2018) that break a strict 30-yr window and make naive trends explode. We use a gap-safe climatology + a recent-history clamp. - Physically impossible hottest-day values (annual-max
tmaxof 10–55 °F) at a handful of station-years, which pollute per-city climatology — worth auditing upstream. - Station-change inhomogeneities — the
coverage_and_stationsflags are valuable but giving the magnitude of each move (not just a count) would let everyone homogenise more reliably; our station-correction step is a worked example.
Pretrained time-series models — investigated and rejected, on two grounds. (a) Honor code: every major time-series foundation model fails the pre-2019 training-cutoff rule — TimesFM 2.5's corpus includes U.S. daily weather through 2024 (confirmed via community audit and its model card's Wikimedia/Trends cutoffs); Chronos-Bolt's corpus is unpublished; Moirai/LOTSA, Lag-Llama, Time-MoE, Kronos, TimeGPT, IBM-TTM all contain post-2018 or undated data. The only provably pre-2019 option (M4-meta-learned) carries no climate prior. (b) Utility: even if allowed they would hurt — zero-shot forecasters under-predict the warming trend (~+0.15 °F vs ~+0.88 °F observed at 4–7 yr) because of a mean-reversion bias on short annual series. The binding constraint here is the warming-trend prior, which our aggressive-trend methods supply and foundation models remove.
Scientific & societal value — a climate-adaptation policy grounded in these forecasts
Our 2019–2025 forecasts describe where U.S. urban climate risk is heading, and cooling-degree-days (CDD) is the single most predictable risk signal we found (highest skill, +0.23). CDD maps almost one-to-one onto summer electricity demand and heat exposure.
What the forecasts say. Across 210 cities, all 210 are projected to see rising cooling demand (mean +231 CDD·days) and 209 to keep warming (mean +1.58 °F vs the 1989–2018 normal), unevenly:
- Fastest warming: the arid interior West — Elko NV (+2.6 °F), Reno NV (+2.6 °F), Bakersfield CA (+2.4 °F), Des Moines IA — heat compounding with water stress.
- Largest cooling-demand growth: the Gulf/Southeast coast and desert Southwest — Gulfport MS (+511 CDD), Escondido CA (+490), Tampa FL (+484), Needles CA (+450), West Palm Beach FL (+444).
Recommended adaptation strategy:
- Target hardening where demand grows fastest — grid upgrades, heat-pump/efficiency subsidies, cool-roof/canopy programs in the top-CDD-growth cities, not uniformly nationwide.
- Site public cooling infrastructure from the forecast — place/staff cooling centers and set heat-health thresholds by projected per-city CDD, weighting the humid Gulf/Southeast coast where heat-index risk outpaces raw temperature.
- Couple heat and water adaptation in the interior West — Reno/Elko-type cities need combined heat and drought planning; CDD-driven peak load should steer renewable + storage buildout.
- Fund proportional to projected change, revisit annually — the per-city skill numbers tell policymakers how much to trust each forecast: invest where skill is high (temperature, CDD), hedge where it is low (precipitation).
The honest flip side is itself a finding: annual precipitation is near-unpredictable at this horizon (skill ≈ 0.045), confirmed by the live leaderboard where no team beats climatology on it. Flood adaptation should rely on robustness and insurance, not point forecasts — a conclusion our climatology-floor design states openly.
Honor code / anti-leakage
Every forecast for year Y uses only observations through the cutoff (≤ 2018 for the real submission) — including every daily-data access (filtered to Date year ≤ cutoff), the station-metadata subsets, and model selection. No 2019–2025 data of any kind, from any source, and no pretrained model with a post-2018 or unknown training cutoff, enters the forecast or the choice of model. The harness enforces this by construction, and we re-audited every model.
Repository map
submission.csv the forecast (5,880 rows)
README.md this file
data/city_ids.txt the 210 official city ids
data/README.md data card (sources, versions, licenses, honor code)
code/
reproduce.py one-command reproduction (~1s, via frozen recipe)
verify_scoring.py reproduces the official scoring; proves the evaluator is unbiased
tests/test_leakage.py by-construction anti-leakage + scorer + submission-contract tests
requirements.txt pinned environment
frozen/ the base forecasts the champion combines
src/harness.py leakage-proof targets + climatology + rolling backtest + validator
src/champion.py champion: frozen per-metric + horizon-aware recipe (the submitted forecast)
src/ensemble_v9/v7/v5/v3/.py the CV searches that derived the recipe, kept for transparency
experiments*/*/model.py the candidate forecasters, by round (incl. experiments10 CDD sweep)
License
MIT.
- Downloads last month
- 598