Jessiter's picture
Move the GitHub submission into the template: README, code, data card, outputs, docs, deck
cfa4e17 verified
|
Raw History Blame Contribute Delete
2.4 kB
# Code
Run every script from the dataset root (for example `python code/exp05b_daily_distribution.py`). The packages are pinned in `requirements.txt` (Python 3.14).
## The submitted forecast
- `exp05b_daily_distribution.py`: **the method (Experiment 5B).** It writes `outputs/exp05b/submission_exp05b.csv`, which is identical to `submission.csv`.
- `shared.py`: loads the challenge dataset at the pinned revision (`REVISION`), guards the 2018-12-31 cutoff (`assert_cutoff`) and applies the validity rules (`valid_flags`).
- `exp05_levels_slopes.py`, `exp03_shared_slope.py`, `exp02_line_forest.py`: the earlier experiments whose levels, shared slope and helpers Experiment 5B builds on.
- `check_submission.py` (from the template): `python code/check_submission.py submission.csv`.
## Experiments not chosen
- `exp02_*.py`: line + random-forest hybrid, with its charts and report.
- `exp03_charts.py`, `exp03_report.py`: charts and report for Experiment 3.
- `exp04_*.py`: city locations (regional slopes, gap fill).
- `exp05c_recent_slope.py`: recent warming rate.
- `exp06_fetch_neighbors.py`, `exp06_neighbors.py`: nearby GHCN-Daily stations (download capped at 2018-12-31).
- `exp07_median_pooled.py`: medians and partially pooled slopes.
- `exp09_daily_gapfill.py`: fill missing days from nearby stations.
- `exp10_blend.py`: weighted blend.
## Post-hoc scoring (analysis only; the model code never reads these files)
- `fetch_truth.py`, `truth.py`: build 2019–2025 truth values from NOAA GHCN-Daily.
- `starter_score.py`: scores a submission the way the leaderboard does.
- `score_all_submissions.py`: scores every candidate forecast (`outputs/score_all/all_scores.csv`).
## Policy idea (analysis only)
- `policy_grid_heat_days.py`, `policy_grid_demand.py`, `policy_grid_ercot.py`, `policy_grid_prices.py`, `policy_grid_prices_national.py`, `policy_grid_projection.py`, `policy_grid_projection_national.py`: the grid-strain and affordability analysis (`outputs/grid_*/`).
- `export_deck_data.py`: writes `presentation/data/deck_data.js` for the slide deck (`index.html`).
- `policy_check.py`, `policy_case_studies.py`, `census_acs.py`, `policy_extremes.py`, `policy_cooling_gap.py`: earlier versions of the idea (Pittsburgh, Seattle). `census_acs.py` needs a free Census key in `census_key.txt`, which is not uploaded.
`AGENTS.md`: the instructions and data rule our AI agent followed.