A series of data projects
Moroccoin Data
Questions about my country, answered with open data, Python and interactive charts, and every claim tested before it's published.
How Did Morocco Reach the Semi-Final?
How Morocco reached the 2022 World Cup semi-final: shot quality, finishing and defending, tested against all 32 teams.
2.3×better chances per shot than Spain in the round of 16
Explore the site ↗Football · xG · 64 matches
Chapter 02
Is Morocco Running Out of Rain?
34 rainy seasons across a 62-point grid covering all of Morocco. The rain hasn't clearly fallen, but the heat has risen.
+31 mmmore evaporation demand per decade (p = 0.001)
Explore the site ↗Climate · rainfall · harvests
Experiment 01
Stork Flight
I built a game environment, trained an AI to fly a stork through it from rewards alone, and put its real training snapshots into a game you can race.
47.9minarets on Hard after more practice, vs 26.9 for my one-line rule
Play the game ↗Reinforcement learning · Python · JavaScript
How I work
- Ask a real questionAbout Morocco, with open data that anyone can check.
- Test it fairlyCompare against fair baselines, and report p-values, even when they say "could be chance".
- Correct the storyWhen the full data disagrees with a first result, the first result goes.
- Show the methodEvery number comes from code that's public on GitHub.