frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: For 10 World Cups, my model's 2 favorites had the champion every time

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7013338
30•fabioricardo7•3h ago

Comments

dwedge•2h ago
!remindme tomorrow
mcphage•2h ago
How does this paper not even mention the word "overfitting"?
dmurray•2h ago
The abstract does say

> limitations, principally the small number of tournaments available for validation and the risk of in-sample weight selection

But I agree this model is no more valuable than Paul the Octopus.

mcphage•1h ago
That almost makes it worse—like they're vaguely aware that training too heavily on too small a data set makes badly trained models, but are unaware that it has a name and is an actual identified problem.
notahacker•42m ago
They've even described how they overfitted it! For five world cups, a simple model based on ranking and goal difference in the group stages[1] predicted it four times, so they invented a somewhat subjective variable on defensive strength to cover the teams that didn't score much...

[1]yes, both of those are endogenous variables...

dwedge•2h ago
A good AI would calculate refereeing decisions and put Argentina at 100% unless England can pull off a miracle against FIFA today.
fau•1h ago
No good AI would cherry-pick data to this extent. Only people are capable of that
killingtime74•2h ago
"They've done studies, you know. 60% of the time, it works every time." - Brian Fantana, Anchorman
anamax•32m ago
One of the founders of Renaissance Technologies, which runs some of the most successful quant funds of all time, said ""We’re right 50.75% of the time... but we’re 100% right 50.75% of the time."
walthamstow•2h ago
It's worth noting that there has only been 24 world cups
immighelper•2h ago
Probably the human pseudonym of Paul the Octopus (https://en.wikipedia.org/wiki/Paul_the_Octopus).
mikelward•2h ago
> the model identifies Argentina (28.0%) and Spain (21.1%) as the leading championship candidates
derdi•2h ago
> Applied prospectively to the in-progress 2026 World Cup from the Round of 32, the model identifies Argentina (28.0%) and Spain (21.1%) as the leading championship candidates.

Seems weird to wait to run the "prospective" simulation until the World Cup is already in progress. Although it seems that the model also needs to use "the actual bracket and group-stage performance". So it's not prospective?

swiftcoder•2h ago
It predicts likely winners based on the round of 32 performance (plus prior data). That's still "prospective" with respect to the finals
derdi•1h ago
Yes. I don't like phrasing this as being prospective for the World Cup as a whole. It's for the knockout stage. (Which the abstract says! But the title doesn't.)
glimshe•1h ago
Which is very reasonable. You estimate odds after seeing teams playing with the actual squad selection at that period in time. Otherwise I'd dismiss the predictions as lucky guesses in a row.
kunxue•1h ago
The baseline matters here: favorites win World Cups all the time. How often would "always pick the two pre-tournament favorites" have gotten the champion in these same 10 tournaments? Without that comparison, 10/10 tells us basically nothing.
decimalenough
malthaus•1h ago
now back your claim with money and bet accordingly on betting sites to see if you uncovered some actual alpha here
yardie•1h ago
Does the model account for the blatant favouritism in the refs? We used to laugh about it before but as the cameras have gotten better it has become a lot more visible. And in this case, is turning the tournament into a bit of a joke.

-- Egypt was robbed.

bflesch•1h ago
It's quite unlikely football is one of the few sports without a doping problem and with only very few cases where the referee was paid off.

Since ancient times in Rome where they said "bread and games" are needed to keep the commoners happy, many generations of rulers had time to optimize large-scale sports events.

My personal theory is that these kind of extremely unfair decisions in football are a net benefit to stability of society, and there's no incentive for the leadership to aim for full fairness in sports.

Hear me out: When a team loses in unfair manner due to bad decisions of the referee, large masses of people feel the psychological pain of being robbed of a win. This feeling of "unfairness" makes the masses more resilient to experiencing "unfairness" in their day-to-day life, for example when a billionaire is not prosecuted in the same way than a common person.

If we turn the logic around and assume that football would always be perfectly fair, then the masses would demand the same kind of fairness also in their day-to-day lives. Obviously this demand for fairness is not aligned with an establishment class that wants to extract the maximum value possible from their citizens, and push as far as they can without risking stability of the country.

From an establishment perspective, it makes a lot of sense to condition the masses for "unfairness", and sports is the perfect way to do it. I'm not saying that the individual referees are paid off to let a certain country win, just that the establishment who runs each country (and thereby also run international sports organizations like FIFA) have no incentive to actually create total fairness.

This might also explain issues like the IOC re-instating russia for olympic games, even though they have not retreated from Ukrainian territory yet. It triggers people who strongly feel about morals and ethics, and it brings the point home that the world is unfair and it makes no sense to push for fairness in the greater context.

The benefit is psychological conditioning for people to accept unfairness.

edit: replaced "soccer" with "football"

xiaodai•1h ago
how statistic significant is it.
xiaodai•1h ago
but does the model predict the right match up along way? if not it's just wrong wrong make a right
jonwinstanley•33m ago
Also, being able to predict football with complete accuracy is impossible
pestatije•1h ago
and how many models did you model?
glenpierce•1h ago
Survivor bias
amazingamazing•1h ago
Why is the world cup so infrequent anyway? I assume to match olympics?

Good models need a lot of data. Can you really be accurate with what, 30 data points, in which the team composition is basically reset each time?

hn937758•1h ago
Clubs want their star players focused on club championships, and the star players make their real money playing on their club teams.
sigbottle•54m ago
do world cup athletes get a big bonus for world cup participation from their govts and/or FIFA?
toyg•43m ago
FIFA pays federations on a result basis. It's then up to the individual federations to redistribute that money as you see fit. As you can imagine, a lot of that does not end up in the athletes' pockets... I believe clubs get some (low) compensation for injuries, but it's also common knowledge that players who play deep into summer will end up performing poorly the following season.
otherme123•35m ago
It is up to their respective Football Federation (Spain: RFEF, England: FA, Germany: DFB, etc.), but FIFA pays each Federation a bonus: https://intereconomia.com/wp-content/uploads/2026/07/image-2...

In the average country players agree the bonus conditions with their Federation.

bArray•1h ago
I've been messing with the magic value weights, and it doesn't take too much to push them in any given direction. The TEAMS_2026 should really be taken with a pinch of salt.
daft_pink•1h ago
Isn't that essentially how AI works?
bArray•48m ago
I've updated the magic weights, and I too can get the result I want:

    WEIGHTS = {
      'w_xg': 0.09,
      'w_goals': -0.07,
      'w_star': 0.018,
      'w_value': 0.18,
      'w_rank': 0.4,
      'w_def': -0.12,
      'xga_share': 0.85,
      'w_gk': 0.0042
    }

    $ python3 worldcup_model.py --sims 100000

    2026 FIFA World Cup -- championship probabilities (100,000 simulations, from Round of 32)

     1. England                 11.7% *
     2. France                  10.0% *
     3. Spain                    9.3% *
     4. Argentina                8.4%
     5. Germany                  8.1%
It's coming home!
artur_makly•47m ago
There is no MODEL for pure Argentine magic. vamos carajos! vamooooooooo con todo!!! Our time has come again.
pessimizer•30m ago
Make sure your email is on file with every horrible news outlet in the world so they can write over 9000 stories about you before the next World Cup.

Get a few nice glamorshots and make sure you have something else in the queue before then to plug during the interviews.

•
1h ago
France was far and away the pre-tournament favorite for 2026, if anything it's somewhat impressive that OP's model correctly predicted that they wouldn't make it.

Here's hoping they were right for England as well, but we'll find out soon enough.

csvm•30m ago
I don't know why you are calling it 'soccer'.

It's FIFA World Cup - Fédération Internationale de Football Association. Football, not soccer.

bflesch•14m ago
Valid point, I've been brainwashed in school to use the American term even though I live tens of thousands of kilometers away from the US.
jacknews•1h ago
The FIFA-planned game schedule is also surprising. Argentina have not had to face a single 'big' contender through the tournament, until now.
notahacker•32m ago
It's not at all surprising: the seeded the winners and the three highest ranked teams to make it impossible for them to meet until this stage if they won their group in the group stage, with the group stage having its own seeding system to make it very winnable for them.

They also missed a potentially tricky first knockout round tie against local rivals Uruguay because Uruguay underperformed and Cape Verde unexpectedly overperformed.

jonwinstanley•29m ago
The top 4 countries got seeded so they avoid each other.
toyg•47m ago
World Cups have to alternate with continental competitions (Copa America, Asian Cup, European Cup, Africa Cup of Nations) which are on similar cycles. They could technically be held every two years (and current FIFA leadership is pushing towards that), but federations and clubs are resistant (because every summer tournament places even more stress on an already-long club season, and it would likely devalue other competitions).
jonwinstanley•32m ago
Every 4 years is good. Makes it a special event

Show HN: Grepathy – Claude made a decision nobody approved

https://github.com/evansjp/grepathy
10•evansjp•1h ago•12 comments

Show HN: I built a smart proxy so your coding agent can run loose

https://trollbridge.dev/
8•dandriscoll•23h ago•5 comments

Show HN: An AI agent fixed 98% of vulnerable deps in one run, 14% in the next

https://bomly.dev/blog/coding-agents-with-and-without-bomly-mcp
2•ahmed3lmallah•25m ago•0 comments

Show HN: I spent a month turning LinkedIn into software

https://www.bulaev.net/p/i-spent-a-month-turning-linkedin
2•sbulaev•27m ago•0 comments

Show HN: LogoTeddy – Animate logos with AI (no templates)

https://logoteddy.com/
2•humphrey_liu•28m ago•0 comments

Show HN: I Am Hosting Amalia – The First Portuguese LLM

https://iaamalia.com/
2•wbemaker•28m ago•0 comments

Show HN: An MCP to create and call Playwright scripts as tools on your extension

https://reduck.ai/
2•DanyWin•34m ago•0 comments

Show HN: StyleSeed – a design-rules engine so AI agents stop building generic UI

https://github.com/bitjaru/styleseed
2•bitjaru0402•38m ago•0 comments

Show HN: InferAll – One API for OpenAI, Anthropic, Google, Nvidia Nim

https://inferall.ai/?src=hn
2•TaylorM492•41m ago•0 comments

Show HN: 18KB ls alternative in no_std rust and Libc

https://crates.io/crates/fli-tool
3•tracyspacy•44m ago•0 comments

Show HN: OpenMarkdown – A Markdown editor you and your agent co-edit

https://openmarkdown.dev/
2•XUEYANZ•45m ago•0 comments

Show HN: Ranking 19 LLMs on Flutter code by compile pass & hidden-test pass-at-1

https://nativevibe.dev/flutter-benchmark
2•GeorgiKadrev•46m ago•0 comments

Show HN: Production-grade LangGraph template

https://github.com/brescou/langgraph-agent-stack
2•Brescou•50m ago•0 comments

Show HN: Fast NF4 dequantization Triton kernel (1.41x faster than bitsandbytes)

https://github.com/Griffith-7/nf4-triton-kernel
2•Griffith-7•51m ago•0 comments

Show HN: Aict – Unix coreutils that output XML/JSON, built for AI agents

https://github.com/synseqack/aict
2•ronak_parmar•53m ago•0 comments

Show HN: Goku – WASM (wllama)-powered LLM inference and model manager

https://userfrom1995.github.io/goku/
2•userfrom1995•57m ago•0 comments

Show HN: Running server scripts from smartphone via SSH

https://c100k.eu/p/rebootx/updates/20260714-remote-runbooks
2•pmdfgy•1h ago•0 comments

Show HN: Nable – Local-first cost intelligence tool for cloud and AI

https://github.com/getnable/finopsmcp
3•chaandannn•1h ago•0 comments

Show HN: Minvoice – invoicing app that runs on Cloudflare Workers and D1

https://github.com/ddyy/minvoice
2•ddyy•1h ago•1 comments

Show HN: An AUI for Nix-Darwin

https://github.com/dz0ny/nixmc
2•dz0ny•1h ago•0 comments

Show HN: A TypeScript repo where AI agents can't break the architecture

https://github.com/lucasgodt/open-agent-ready-typescript
2•lucasgodt•1h ago•1 comments

Show HN: Web App Uses RTL-SDR to Align HDTV Antenna

https://tunerscope.com/
19•robotastic•2d ago•3 comments

Show HN: Backscroll – search your ChatGPT/Claude/Gemini history

https://backscroll.xyz
2•petesarney•1h ago•0 comments

Show HN: Earth-clock – live WebGL planet with eclipses, weather, earthquakes

https://earth-clock.onemonkey.org/
4•czzprr•1h ago•0 comments

Show HN: PortalJS – AI-native, open-source framework for data portals

https://github.com/datopian/portaljs
5•anuveyatsu•1h ago•0 comments

Show HN: An uptime monitor with an MCP server, create monitors by asking Claude

https://uptimemonitoring.com/
3•luciandan•2h ago•0 comments

Show HN: Worldreleasenotes.com/Countries

https://worldreleasenotes.com/countries
2•sbcom•2h ago•0 comments

Show HN: Mozdmp – Firefox profile decryption tool and master password cracker

https://github.com/asaix/mozdmp
3•asaix•2h ago•0 comments

Show HN: Leet Robotics: Learn robotics and ROS2 with hands-on courses

https://www.leetrobotics.com
4•deepresearch•2h ago•0 comments

Show HN: AI skills appear in 0.3% of entry-level data jobs, 3.6% of senior

https://www.datamatastudios.com/datasets/ai-requirements-index
3•datamatastudios•2h ago•0 comments