add some parts of the app

This commit is contained in:
pauli 2026-05-19 23:27:34 +02:00
commit 84fc5b1b07
6 changed files with 1217 additions and 0 deletions

BIN
FWC26_regulations_EN.pdf Normal file

Binary file not shown.

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# WM 2026 KO-Simulator (Deutschland)
Kleine Streamlit-App zur Simulation der K.-o.-Runden der FIFA WM 2026, mit Fokus darauf, welche Gegner Deutschland in den einzelnen Runden treffen kann und wie die Zusammensetzung der KO-Runden zustande kommt.
Installation:
```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Starten:
```bash
streamlit run app.py
```
Beschreibung:
- Lade oder bearbeite die Gruppen (12 Gruppen à 4 Teams).
- Wähle die Anzahl der Simulationen.
- Die App simuliert Gruppenphase und K.-o.-Phase mehrfach und zeigt für Deutschland, welche Gegner in jeder KO-Runde möglich sind und mit welchen Häufigkeiten.
Hinweis: Die App verwendet ein Standard-Paarungsschema für die Runde der letzten 32: Gruppen werden paarweise verbunden (A↔B, C↔D, ...). Diese Zuordnung kann im Code angepasst werden.

Binary file not shown.

1141
app.py Normal file

File diff suppressed because it is too large Load Diff

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
streamlit
pandas
numpy

49
teams.csv Normal file
View File

@ -0,0 +1,49 @@
Team
Mexico
South Africa
South Korea
Czech Republic
Canada
Bosnia and Herzegovina
Qatar
Switzerland
Brazil
Morocco
Haiti
Scotland
United States
Paraguay
Australia
Turkey
Germany
Curacao
Ivory Coast
Ecuador
Netherlands
Japan
Sweden
Tunisia
Belgium
Egypt
Iran
New Zealand
Spain
Cape Verde
Saudi Arabia
Uruguay
France
Senegal
Iraq
Norway
Argentina
Algeria
Austria
Jordan
Portugal
DR Congo
Uzbekistan
Colombia
England
Croatia
Ghana
Panama
1 Team
2 Mexico
3 South Africa
4 South Korea
5 Czech Republic
6 Canada
7 Bosnia and Herzegovina
8 Qatar
9 Switzerland
10 Brazil
11 Morocco
12 Haiti
13 Scotland
14 United States
15 Paraguay
16 Australia
17 Turkey
18 Germany
19 Curacao
20 Ivory Coast
21 Ecuador
22 Netherlands
23 Japan
24 Sweden
25 Tunisia
26 Belgium
27 Egypt
28 Iran
29 New Zealand
30 Spain
31 Cape Verde
32 Saudi Arabia
33 Uruguay
34 France
35 Senegal
36 Iraq
37 Norway
38 Argentina
39 Algeria
40 Austria
41 Jordan
42 Portugal
43 DR Congo
44 Uzbekistan
45 Colombia
46 England
47 Croatia
48 Ghana
49 Panama