Skip to content
← All projectsNo. 03 / 06

futpred

A soccer prediction engine that is honest about its own limits.

Year
2026
Role
Personal project — end to end
Status
Personal research

Technical plate drawn from the project's real data.

The problem

Can you estimate match probabilities better than the market? Almost every “model” out there only shows its hits. I wanted to build one with the rigor of a study: leak-free validation, proper metrics, and reporting the results when the model does not work too.

What I built

  • Installable Python package with a CLI: ingest → normalize → model → evaluate, reproducible end to end.
  • Ingestion of 5+ sources (results, xG, odds) normalized into SQLite, with immutable snapshots and canonical team names.
  • Dixon-Coles model + ratings + a logistic-regression meta-model.
  • Monte Carlo tournament simulator (2026 World Cup, Copa América) with per-round probabilities.
  • Reports with calibration plots and a results write-up for every phase.

By the numbers

accuracy on 79 matches of the 2026 World Cup
65%
model RPS, versus 0.164 for the Elo baseline
0.152
calibration error (ECE)
0.007
matches in walk-forward validation
23,000+
automated tests
137

Technical decisions

  • Walk-forward validation with no data leakage: the model only sees the past of each match it predicts.
  • Probabilistic metrics (RPS, Brier, log-loss, ECE) instead of just “hit rate”.
  • Benchmarked against Pinnacle’s closing line: the model does not beat the market (CLV −3 to −4%) and that is documented.
  • Every improvement is tested for statistical significance: adding xG was the first robust one (p < 0.001, 6 of 6 seasons).

Stack

  • Python
  • pandas
  • NumPy
  • SciPy
  • scikit-learn
  • SQLite
  • matplotlib
  • Pytest

What I learned

The most valuable result was a negative one: the model does not beat Pinnacle’s closing line. Documenting that honestly taught me more than any hit did, and forced me to separate “estimating well” from “making money”.