Open-source forecasting for Predico, INESC TEC's collaborative forecasting market, and an open benchmark built from it.
Why: Predico pays forecasters for day-ahead quantile forecasts of grid quantities. This repo is one team's entry, built in the open: data pipelines, features, models, backtests and results are public, and anyone can improve them.
First target: Spanish mFRR balancing (EDP program): spain_mfrr_energy (net activated energy, MWh, signed) and spain_mfrr_price (EUR/MWh), 15-min, day-ahead, gate 17:00 CET on D-1. Truth comes from ESIOS (Red Eléctrica).
Status: early, working end to end. The design and every decision so far live in PLAN.md.
ESIOS ─► configs/groups.toml ─► feature frame (15-min UTC) ─► model ─► q10/q50/q90
(one line per column, │
future vs past availability) backtest ◄───────┤
live submit ◄────┘ (daily, Modal)
- Data: feature groups are declared in
configs/groups.toml; one runner builds any group. Each column says whether it is known for the target day before the gate (future, e.g. day-ahead price) or only up to the forecast time (past, e.g. mFRR actuals). The backtest enforces this, so no lookahead. - Models: simple baselines and time-series foundation models (TSFMs), always with covariates.
- Evaluation: rolling origin over one test year (Nov 2025 – Oct 2026), forecast made at 14:00 Madrid on D-1, scored exactly like Predico: RMSE on q50, Winkler (α = 0.2) on q10/q90.
- Live: one maintainer account submits a continuous forecast daily; forecasts become public only after the gate closes.
Leaderboard, per-month scores, paired comparisons and a day viewer for every backtest config are on the dashboard. Daily scores are in results/.
git clone https://github.com/arnaud-vs/open-predico && cd open-predico
uv sync # add --extra timestral for the Timestral TSFM
uv run pytestBuilding data needs a free ESIOS token in ESIOS_TOKEN.
Most of this repo was built with Claude Code and agents, and we expect contributors to work the same way. AGENTS.md is the briefing your agent should read first (Claude Code picks it up through CLAUDE.md): repo map, commands, and the rules that matter here (no lookahead, API rate limits, never print secrets or forecast values). Point your agent at PLAN.md for the why.
Any improvement is welcome: data, features, models, docs, tests, or the repo structure itself. See CONTRIBUTING.md and the Code of Conduct.
Independent project. Not affiliated with INESC TEC, Red Eléctrica, EDP, Elia or 50Hertz.
Code: Apache-2.0. Data sources keep their own licenses, see DATA_SOURCES.md.