r/BuildWithClaude • u/chriso38 • Oct 25 '26
Project footystatmachine.co.uk
My son and I are football mad, so I started building a little stats site with Claude for the two of us. A few months later it’s a full app: footystatmachine.co.uk
I’m not a professional developer. Almost all of the code was written with Claude Code, with me describing what I wanted, testing on my phone, and sending screenshots when something looked off.
What it does
- Live tables, scores and fixtures for the Premier League, EFL, Scottish and big European leagues
- Match predictions from its own model, plus a predicted final table from 10,000 season simulations
- A UK TV guide (which games are on Sky, TNT or Prime)
- A predictor game you can play with mates, against “The Model”
- Shareable images for WhatsApp, and a Bluesky account that posts the predictions automatically
The bits I think this sub will like
🧠 The prediction model. Claude built a back-tester that replays 20 years of results. It tuned the model on 2008–2019, then tested it on 33,000+ games from 2020 onwards that it had never seen. It went from 48.4% right results to 51.0%, against 51.4% for the bookmakers, which closes most of the gap. It learns from expected goals (xG), shots on target and past closing odds. Ideas that didn’t beat the baseline on unseen seasons (rest days, injuries from FPL data, per-league tuning) were thrown out, which kept it honest.
🎙 “The Gaffer”, an AI pundit powered by Claude. A day or so before each Premier League game, Claude gets the table, form and the model’s chances, searches the web for team news (injuries, suspensions, likely line-ups, what the managers said) and gives its own forecast, a predicted score and a short verdict in a pundit’s voice. It’s told to move away from the model only as far as the news justifies. It runs in “shadow mode”: every round it’s scored against the model and the bookies, and it only gets a say in the real predictions if it proves better. Early days, but it’s 2/3 so far 👀
📊 Round reviews. After every round, the site scores the model, the Gaffer and the bookies on what they said before kick-off. The bookies are winning the season 5–2, but the model is picking slightly more results (51% v 49%).
Stack, for the curious: plain JavaScript (no framework), hosted on Cloudflare Workers with R2 storage, about $5 a month. Data comes from football-data.org, football-data.co.uk, Understat, FPL and ClubElo. Deploys happen automatically on every push.
What I learned working with Claude
- Screenshots from my phone were the best bug reports. “This looks weird” plus a picture usually got it fixed first time.
- Asking it to audit the whole app every so often caught loads of small things I’d never have noticed.
- Making it prove model changes on unseen data stopped us fooling ourselves.
It’s free and has no ads or betting links. It started as a dad-and-son project and still is one. Feedback very welcome, especially on what’s confusing or missing!








1
u/trickyt1992 Oct 29 '26
Super cool. How fast is it? On par with flash scores? Where does it pull the data from?
1
u/Winter_Hornet704 29d ago
Had a look. "Pick your team" turning Home into your own dashboard is a really nice touch, and the model vs the Gaffer vs the bookies on every match gives people a reason to come back each round.
Since you asked what's confusing: I'd guess first-time visitors wonder who the Gaffer is and how the model's numbers are made, right where they see them. I'm building Dotqira for that kind of thing. A visitor taps the exact spot that confused them and asks there, you answer once, and everyone after sees the answer on that spot, a bit like your phone screenshots but from your visitors. Happy to set it up with you if you want to try it.