whatisgithub

What is simulaciones_mundial?

jytsss/simulaciones_mundial — explained in plain English

Analysis updated 2026-05-18

21Jupyter NotebookAudience · researcherComplexity · 3/5Setup · moderate

In one sentence

A Spanish-language data science project that scrapes football statistics and runs 10,000 Monte Carlo simulations to predict outcomes of the 2026 FIFA World Cup.

Mindmap

mindmap
  root((Simulaciones Mundial))
    What it does
      Scrapes match data
      Trains XGBoost models
      Runs Monte Carlo sims
    Tech stack
      Python
      Jupyter Notebook
      XGBoost
    Use cases
      Predict tournament winner
      See match scoreline odds
      View daily prediction site
    Audience
      PMs/Founders
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See simulated championship probabilities for every country in the 2026 World Cup.

USE CASE 2

Study how rolling averages and XGBoost models are used to predict football match outcomes.

USE CASE 3

Run the included scraper and models yourself, or reuse the pre-scraped historical match data.

What is it built with?

PythonJupyter NotebookXGBoost

How does it compare?

jytsss/simulaciones_mundialothersideai/tinygptkaopanboonyuen/saie2026
Stars212122
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Last pushed2022-04-26
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/53/53/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

README and code are in Spanish, pre-scraped data is included so the scraper is optional.

No license information is given in the explanation.

So what is it?

This project uses data and statistical modeling to predict the results of the 2026 FIFA World Cup. It is written primarily in Spanish, and it walks through the full pipeline from collecting match data all the way to simulating the entire tournament 10,000 times to estimate each team's chances of winning. The first step is scraping historical match statistics for national teams from a sports data site called FlashScore. The scraper collects results, possession figures, shots on target, corners, fouls, goalkeeper saves, and passing numbers, plus each country's FIFA ranking. Pre-scraped data is also included in the repository if you do not want to run the scraper yourself. Next, the data is cleaned and combined into a single table with one row per match. From there, the project builds rolling averages (covering the last five matches and the full historical record) and computes differences between the two teams in each statistical category. These processed numbers are what the models actually see when making predictions. Two separate models are trained using a library called XGBoost. The first model predicts how many goals each team is likely to score, using a statistical distribution suited to football scores. The second model uses the first model's goal predictions as inputs and estimates the probability of a home win, draw, or away win, with an extra calibration step to make those probabilities more accurate. The project also includes time-aware validation to prevent the models from training on data that comes after the matches being predicted. The Monte Carlo simulation runs 10,000 complete tournaments, covering all 104 matches from the group stage through the final. Because football has a lot of randomness, running many simulations is more informative than running just one: a team with a 51 percent chance of advancing will do so in roughly 5,100 of the 10,000 simulations, while a stronger team with a 99 percent chance advances in nearly all of them. The results, including the most likely scoreline for each match and estimated champion probabilities for every country, are saved as a readable report and as CSV files. A static web page built for GitHub Pages displays daily predictions and updates automatically.

Copy-paste prompts

Prompt 1
Walk me through how the two XGBoost models in this project predict match scores and win probabilities.
Prompt 2
Explain why the project runs 10,000 Monte Carlo simulations instead of just one prediction.
Prompt 3
Show me how to use the pre-scraped data instead of running the FlashScore scraper myself.
Prompt 4
Help me understand the time-aware validation used to prevent the models from seeing future data.

Frequently asked questions

What is simulaciones_mundial?

A Spanish-language data science project that scrapes football statistics and runs 10,000 Monte Carlo simulations to predict outcomes of the 2026 FIFA World Cup.

What language is simulaciones_mundial written in?

Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook, XGBoost.

What license does simulaciones_mundial use?

No license information is given in the explanation.

How hard is simulaciones_mundial to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is simulaciones_mundial for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.