Skip to content

feat(predicciones): Bayesian model of the place probabilities - #17

Merged
apiad merged 1 commit into
mainfrom
modelo-bayesiano
Oct 31, 2026
Merged

apiad merged 1 commit into
mainfrom
modelo-bayesiano

Conversation

@apiad

@apiad apiad commented Oct 31, 2026

Copy link
Copy Markdown
Member

Closes #16.

  • scripts/forecast.py: a Gaussian belief per university, updated by each final, plus the roster's Codeforces team rating, under a Plackett-Luce ranking. The next final is simulated 60,000 times.
  • The field is the community list of 98 teams, 2 teams confirmed by their universities, and presumed seats for the rest, each with its chance of attending. Asia East and part of Europe are presumed, and the page says so.
  • The build scores the finals of 2021-2024, each with settings chosen from the others: 23% average probability on the real champion, against 7% from finals only and 0.8% by chance; medal Brier 0.045 against 0.060 and 0.083.
  • scripts/refresh_ratings.py refreshes ratings before each deploy and weekly; a Codeforces failure keeps the committed snapshot.
  • The analog code stays only to pick similar trajectories for the profile charts.

make test passes. Checked in a browser at desktop width and at 390 px through a same-origin iframe, including the search box.

Replace the analog-window projection with a dynamic Plackett-Luce model
over past finals and Codeforces team ratings. Publish the probability of
each place per team, country and region, with its backtest. Rewrite the
page with a podium, regional winners and a search by country or
university. Refresh ratings before each deploy and weekly.

Closes #16
@apiad
apiad merged commit 872cce8 into main Oct 31, 2026
2 checks passed
@apiad
apiad deleted the modelo-bayesiano branch October 31, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Predicciones: Bayesian model of the place probabilities

1 participant