football_simulate_bracket
Simulate the 2026 World Cup bracket using Monte Carlo methods. Returns per-team round and title probabilities based on thousands of tournament iterations.
Instructions
Monte Carlo the full World Cup 2026 — per-team round + title probabilities.
Simulates all 12 groups, advances the top 2 + 8 best third-placed teams to a
32-team knockout, and plays it to a champion, iterations times.
Args: iterations: Number of tournament simulations (clamped to 100..20000; ~10000 gives stable ±2% probabilities). seed: Optional RNG seed for reproducible output.
Returns: data.teams: {code: {reach_r32, reach_r16, reach_qf, reach_sf, reach_final, win}} sorted by win probability descending. data.champion: most likely winner. data.iterations: iterations run. meta.estimated: true. meta.conditioned_matches: completed matches locked in (played group results fixed, decided knockout ties locked).
Example: football_simulate_bracket() football_simulate_bracket(iterations=20000, seed=42)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional RNG seed for reproducible output. | |
| iterations | No | Number of tournament simulations (clamped to 100..20000; ~10000 gives stable ±2% probabilities). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| error | No |