Case Study · Our Own Build

We predicted the World Cup. The math and the AI kept score of each other.

Our prediction engine ran footballmatchmaster.com through all 104 matches of World Cup 2026: a classical math model and an AI co-predictor working side by side, publishing every forecast in public and updating itself every 10 minutes without a human in the loop. Spain, our #1 pick at 21.9% across 20,000 simulated tournaments, lifted the trophy on 19 July.

By Adi Huric, founder of Most AI Labs·July 2026·8 min read

Most AI case studies show a chatbot. This one shows a forecast, published in public before the event, graded in public after it. For 39 straight days our engine played the World Cup in the open: every probability on the record before kickoff, every miss left on the page. Here is what it got right, what it got wrong, and how the system was built.

#1

Our top champion pick (Spain, 21.9%) won the tournament, and our top two, Spain and Argentina, met in the Final.

4/4

The four semi-finalists were exactly our simulation's four most likely, named a week before kickoff.

81%

Knockout ties won by our model's favourite (26 of 32): perfect through the quarter-finals, semi-finals and the Final.

61%

Group games called correctly across win/draw/win (44 of 72). Random guessing gets 33%.

Simulation outputs, not betting odds. All figures are final and verified against the tournament record.

The challenge

A World Cup is a brutal forecasting problem: 48 teams, 104 matches, a new expanded format nobody had data for, group tiebreakers decided across twelve tables at once, and knockout ties that can swing on a penalty shootout. We wanted more than a prediction widget. We wanted a fully autonomous system that would ingest every result, re-learn, re-forecast, explain itself in plain language, and publish, for 39 straight days, unattended.

The math engine

The quantitative core is deliberately classical, and tuned:

  • ·Elo ratings built to the eloratings.net standard, re-learned from every tournament result with K=60, a fast learning rate we validated on historical World Cups before trusting it live. It beat frozen ratings in every backtest.
  • ·A draw-aware match model producing calibrated win/draw/win probabilities for all 72 group games.
  • ·20,000 Monte-Carlo tournament simulations frozen a week before kickoff: every group table, the official FIFA Annex C bracket allocation for third-placed teams, and the full knockout tree, producing champion odds for all 48 teams.
  • ·A deterministic advancement engine that re-computed the bracket after every result: penalty-aware, validated by a 22-check unit suite covering the full R32-to-Final chain.

The in-tournament learning earned its keep in a measurable way: against a frozen pre-tournament Elo on the same 32 knockout ties, the K=60 re-rating changed the pick exactly twice (Mexico and Belgium), and won both. Its single narrowest call of the whole bracket was the Final itself: Spain 51%, Argentina 49%. Spain won 1-0.

The AI layer

The AI never computes a probability. That was rule one. Around the math we built a guard-railed language layer with real editorial discipline:

  • ·Grounded match narration: previews and post-match stories for every knockout tie (64 in total), generated from the model’s own numbers, the match data (xG, ratings, timelines) and sourced national press files researched per team, per round, with named outlets, dates and verbatim quotes capped at 20 words.
  • ·A validation gate that rejects any AI output containing an ungrounded number, an invented percentage, internal jargon, or an unsourced claim. Invalid output is simply never published.
  • ·The AI co-predictor: from the round of 16, the AI published its own pick beside the model’s number: pick, confidence in words, likely scoreline and its reasoning. It was free to disagree with the math, but every disagreement had to be argued from the supplied data.

Where the two met

That co-predictor design is the heart of the story. The math sees ratings and results; the AI reads what the ratings can’t: a keeper’s form, a squad’s shootout nerve, a nation’s momentum. Over the 16 ties they both called: math 13, AI 12. They disagreed three times; the math won two.

But the AI’s one solo win was the call of the tournament: Norway over Brazil. The model had Brazil at 61%. The AI weighed Haaland’s scoring streak, Norway’s never-lost-to-Brazil history and a key injury, picked Norway “a narrow lean, likely 2-1”, and Norway won exactly 2-1. It was the model’s only open-play miss before the final weekend.

The math had Brazil at 61%. The AI read the story, said Norway 2-1, and Norway won 2-1.

Running itself

The whole system ran as an autonomous pipeline: results ingested and verified, ratings re-learned, brackets re-simulated, narration generated, validated and published, every 10 minutes, end to end.

  • ·104/104 matches captured with verified result, final xG, player ratings and full event timelines.
  • ·156 automatic site publishes from kickoff to the Final, with self-healing retries and fail-hard gates so bad data could never overwrite good. 4 incidents over 39 days, all self-healed or fixed with zero data loss.
  • ·64 AI stories (32 previews, 32 post-match), every one passed through the validation gate before publishing.
  • ·Mid-tournament, the pipeline shipped live penalty-shootout scores, per-round press-file refreshes and the co-predictor UI, without a break in publishing.

The honest scorecard

Credibility comes from publishing the misses too:

  • ·The group-stage model was underconfident: matches priced around 45% for the favourite were won by the favourite 68% of the time. A sharper prior is the first upgrade for 2030.
  • ·Four of the six knockout “upsets” were penalty shootouts: ties the model had correctly priced as even, decided by a coin flip. In open play, the favourite lost twice in 32 ties.
  • ·The AI leaned Argentina in the Final; the math said Spain by a hair. The math was right.
Key takeaway

The full pre-tournament forecast, frozen 4 June: Spain 21.9% (#1), Argentina 19.9% (#2), France 17.9%, England 6.7%. Group winners predicted: 9/12. Predicted top-two teams: 18/24 (20/24 advanced). Group-stage Brier score 0.613 against a uniform baseline of 0.667; log-loss 1.041 against 1.099; 20 draws. Knockout record by round: 13/16, 6/8, 4/4, 2/2, 0/1 in the third-place match, and 1/1 in the Final, called at 51-49. Knockout winner-probability Brier 0.150. Spain beat Argentina 1-0 on 19 July 2026; England finished 3rd, France 4th; Mbappé took the Golden Boot with 10 goals.

How it compares

Every serious public model made Spain the favourite; the separation was in the shape of the forecast. Our simulation was one of the few whose top four was exactly the real final four (Opta’s supercomputer and KU Leuven’s model also achieved this; Goldman Sachs had England fifth), and ours had the two finalists as its top two. That puts it in the top tier of the public field. The human panels did worse: the BBC’s pundit majority picked France, and a mid-tournament panel of nine LLMs picked France and Argentina. The models beat the humans this cycle, and the disciplined ones beat the casual AI.

The stack

Postgres and Supabase for data; a TypeScript model and simulation suite; Gemini for narration and the co-predictor, behind a custom validation gate; a Vite, React and Tailwind front end; GitHub Actions and a Cloudflare Worker cron running the autonomous loop; Netlify and CDN delivery.

Why this matters for your business

This is the same discipline we bring to client systems: the math computes, the AI explains, a validation gate stands between generation and publication, and the scorecard is public. If your business runs on forecasts, follow-ups, or content that has to be right, this architecture is what “AI done properly” looks like in production.

Explore the full model report at footballmatchmaster.com, or talk to us about applied AI and forecasting for your own operation. It starts with the free 7-day audit.

If any of this is your week

Start with the 7-day audit.

7 business days. A real document. Yours to keep — whether you hire us or not.