player analysis update

This commit is contained in:
2025-11-12 16:22:56 +01:00
parent 6442194802
commit 64254454a4
9 changed files with 1277 additions and 874 deletions
+29 -10
View File
@@ -165,17 +165,26 @@ class Scoring:
for participant_id, participant in league_data['participants'].items(): for participant_id, participant in league_data['participants'].items():
tournament_scores = [] tournament_scores = []
# Get all tournament scores where player participated # Get all tournament scores where player participated with tournament number
for result in participant['tournament_results']: for result in participant['tournament_results']:
if result['participated']: if result['participated']:
tournament_scores.append(result['score']) tournament_scores.append({
'tournament_number': result.get('tournament', result.get('league_tournament_number', 0)),
'score': result['score']
})
# Sort scores descending and take best 4 # Sort scores descending and take best 4
tournament_scores.sort(reverse=True) tournament_scores.sort(key=lambda x: x['score'], reverse=True)
best_scores = tournament_scores[:4] if len(tournament_scores) > 4 else tournament_scores best_scores = tournament_scores[:4] if len(tournament_scores) > 4 else tournament_scores
participant['final_score'] = sum(best_scores) # Track which tournament was excluded (if any)
excluded_tournament = None
if len(tournament_scores) > 4:
excluded_tournament = tournament_scores[4]['tournament_number']
participant['final_score'] = sum(item['score'] for item in best_scores)
participant['tournaments_participated'] = len(tournament_scores) participant['tournaments_participated'] = len(tournament_scores)
participant['excluded_tournament'] = excluded_tournament
@staticmethod @staticmethod
def get_league_final_rankings(league_data): def get_league_final_rankings(league_data):
@@ -196,7 +205,8 @@ class Scoring:
'tournaments_participated': data['tournaments_participated'], 'tournaments_participated': data['tournaments_participated'],
'joker_used': data['joker_used'], 'joker_used': data['joker_used'],
'tournament_results': data['tournament_results'], 'tournament_results': data['tournament_results'],
'total_tens': total_tens 'total_tens': total_tens,
'excluded_tournament': data.get('excluded_tournament', None)
}) })
# Sort by final score (best 4 tournaments) descending, then by total 10s # Sort by final score (best 4 tournaments) descending, then by total 10s
@@ -219,16 +229,24 @@ class Scoring:
for result in data['tournament_results']: for result in data['tournament_results']:
if result['participated']: if result['participated']:
tournament_scores.append(result['score']) tournament_scores.append({
'tournament_number': result.get('tournament', result.get('league_tournament_number', 0)),
'score': result['score']
})
completed_tournaments += 1 completed_tournaments += 1
total_tens += result.get('tens_count', 0) total_tens += result.get('tens_count', 0)
# Current score is sum of all completed tournaments # Current score is sum of all completed tournaments
current_total = sum(tournament_scores) current_total = sum(item['score'] for item in tournament_scores)
# For display, show what the final score would be if we took best 4 now # For display, show what the final score would be if we took best 4 now
tournament_scores.sort(reverse=True) tournament_scores_sorted = sorted(tournament_scores, key=lambda x: x['score'], reverse=True)
projected_final = sum(tournament_scores[:4]) if len(tournament_scores) >= 4 else sum(tournament_scores) projected_final = sum(item['score'] for item in tournament_scores_sorted[:4]) if len(tournament_scores_sorted) >= 4 else sum(item['score'] for item in tournament_scores_sorted)
# Track which tournament would be excluded (if we have more than 4)
excluded_tournament = None
if len(tournament_scores_sorted) > 4:
excluded_tournament = tournament_scores_sorted[4]['tournament_number']
participants.append({ participants.append({
'id': player_id, 'id': player_id,
@@ -238,7 +256,8 @@ class Scoring:
'tournaments_completed': completed_tournaments, 'tournaments_completed': completed_tournaments,
'joker_used': data['joker_used'], 'joker_used': data['joker_used'],
'tournament_results': data['tournament_results'], 'tournament_results': data['tournament_results'],
'total_tens': total_tens 'total_tens': total_tens,
'excluded_tournament': excluded_tournament
}) })
# Sort by current total score (descending), then by total 10s # Sort by current total score (descending), then by total 10s
@@ -44,7 +44,8 @@
], ],
"total_score": 433, "total_score": 433,
"final_score": 433, "final_score": 433,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"2": { "2": {
"name": "Nik Pleterski", "name": "Nik Pleterski",
@@ -84,7 +85,8 @@
], ],
"total_score": 379, "total_score": 379,
"final_score": 379, "final_score": 379,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"3": { "3": {
"name": "Ivan Tandler", "name": "Ivan Tandler",
@@ -124,7 +126,8 @@
], ],
"total_score": 405, "total_score": 405,
"final_score": 405, "final_score": 405,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"4": { "4": {
"name": "Mateja Pleterski", "name": "Mateja Pleterski",
@@ -164,7 +167,8 @@
], ],
"total_score": 374, "total_score": 374,
"final_score": 374, "final_score": 374,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"5": { "5": {
"name": "Jo\u017ee Verhnjak", "name": "Jo\u017ee Verhnjak",
@@ -203,7 +207,8 @@
], ],
"total_score": 480, "total_score": 480,
"final_score": 398, "final_score": 398,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"6": { "6": {
"name": "Mateja Senica", "name": "Mateja Senica",
@@ -242,7 +247,8 @@
], ],
"total_score": 529, "total_score": 529,
"final_score": 438, "final_score": 438,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"7": { "7": {
"name": "Branko Poker\u017enik", "name": "Branko Poker\u017enik",
@@ -281,7 +287,8 @@
], ],
"total_score": 478, "total_score": 478,
"final_score": 409, "final_score": 409,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"8": { "8": {
"name": "Franc \u017digart", "name": "Franc \u017digart",
@@ -320,7 +327,8 @@
], ],
"total_score": 509, "total_score": 509,
"final_score": 423, "final_score": 423,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"9": { "9": {
"name": "Janez Bo\u017ei\u010d", "name": "Janez Bo\u017ei\u010d",
@@ -360,7 +368,8 @@
], ],
"total_score": 410, "total_score": 410,
"final_score": 410, "final_score": 410,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"10": { "10": {
"name": "Mitja \u010ceh", "name": "Mitja \u010ceh",
@@ -400,7 +409,8 @@
], ],
"total_score": 387, "total_score": 387,
"final_score": 387, "final_score": 387,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"11": { "11": {
"name": "Rado Kefer", "name": "Rado Kefer",
@@ -440,7 +450,8 @@
], ],
"total_score": 362, "total_score": 362,
"final_score": 362, "final_score": 362,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"12": { "12": {
"name": "Matej Kvasnik", "name": "Matej Kvasnik",
@@ -480,7 +491,8 @@
], ],
"total_score": 425, "total_score": 425,
"final_score": 425, "final_score": 425,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"13": { "13": {
"name": "Angelca Mrak", "name": "Angelca Mrak",
@@ -520,7 +532,8 @@
], ],
"total_score": 393, "total_score": 393,
"final_score": 393, "final_score": 393,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"14": { "14": {
"name": "Karli Proje", "name": "Karli Proje",
@@ -560,7 +573,8 @@
], ],
"total_score": 438, "total_score": 438,
"final_score": 438, "final_score": 438,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"15": { "15": {
"name": "Jan Pleterski", "name": "Jan Pleterski",
@@ -600,7 +614,8 @@
], ],
"total_score": 365, "total_score": 365,
"final_score": 365, "final_score": 365,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"16": { "16": {
"name": "Silvo Poro\u010dnik", "name": "Silvo Poro\u010dnik",
@@ -640,7 +655,8 @@
], ],
"total_score": 399, "total_score": 399,
"final_score": 399, "final_score": 399,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"17": { "17": {
"name": "Du\u0161an Onuk", "name": "Du\u0161an Onuk",
@@ -680,7 +696,8 @@
], ],
"total_score": 371, "total_score": 371,
"final_score": 371, "final_score": 371,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"18": { "18": {
"name": "Matja\u017e Pleterski", "name": "Matja\u017e Pleterski",
@@ -720,7 +737,8 @@
], ],
"total_score": 401, "total_score": 401,
"final_score": 401, "final_score": 401,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"19": { "19": {
"name": "Franc Rizmal", "name": "Franc Rizmal",
@@ -760,7 +778,8 @@
], ],
"total_score": 411, "total_score": 411,
"final_score": 411, "final_score": 411,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"20": { "20": {
"name": "Jo\u017ee Preglav", "name": "Jo\u017ee Preglav",
@@ -800,7 +819,8 @@
], ],
"total_score": 441, "total_score": 441,
"final_score": 441, "final_score": 441,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"21": { "21": {
"name": "Marko Blimen", "name": "Marko Blimen",
@@ -840,7 +860,8 @@
], ],
"total_score": 437, "total_score": 437,
"final_score": 437, "final_score": 437,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"22": { "22": {
"name": "Doris Fesel", "name": "Doris Fesel",
@@ -880,7 +901,8 @@
], ],
"total_score": 400, "total_score": 400,
"final_score": 400, "final_score": 400,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"23": { "23": {
"name": "Robi Krautberger", "name": "Robi Krautberger",
@@ -920,7 +942,8 @@
], ],
"total_score": 410, "total_score": 410,
"final_score": 410, "final_score": 410,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"24": { "24": {
"name": "Jo\u017ee Verdinek", "name": "Jo\u017ee Verdinek",
@@ -960,7 +983,8 @@
], ],
"total_score": 388, "total_score": 388,
"final_score": 388, "final_score": 388,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"25": { "25": {
"name": "Andrej Herman", "name": "Andrej Herman",
@@ -1000,7 +1024,8 @@
], ],
"total_score": 380, "total_score": 380,
"final_score": 380, "final_score": 380,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"26": { "26": {
"name": "Jakob Herman", "name": "Jakob Herman",
@@ -1040,7 +1065,8 @@
], ],
"total_score": 402, "total_score": 402,
"final_score": 402, "final_score": 402,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"27": { "27": {
"name": "Janez Mrak", "name": "Janez Mrak",
@@ -1080,7 +1106,8 @@
], ],
"total_score": 399, "total_score": 399,
"final_score": 399, "final_score": 399,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"28": { "28": {
"name": "An\u017ee Kolar", "name": "An\u017ee Kolar",
@@ -1120,7 +1147,8 @@
], ],
"total_score": 477, "total_score": 477,
"final_score": 477, "final_score": 477,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"30": { "30": {
"name": "Maja Hirtl", "name": "Maja Hirtl",
@@ -1159,7 +1187,8 @@
], ],
"total_score": 474, "total_score": 474,
"final_score": 394, "final_score": 394,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"31": { "31": {
"name": "Dejan Ku\u010dnik", "name": "Dejan Ku\u010dnik",
@@ -1198,7 +1227,8 @@
], ],
"total_score": 478, "total_score": 478,
"final_score": 397, "final_score": 397,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"32": { "32": {
"name": "David Strni\u0161a", "name": "David Strni\u0161a",
@@ -1237,7 +1267,8 @@
], ],
"total_score": 566, "total_score": 566,
"final_score": 462, "final_score": 462,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"33": { "33": {
"name": "Namir Uzunovi\u0107", "name": "Namir Uzunovi\u0107",
@@ -1276,7 +1307,8 @@
], ],
"total_score": 476, "total_score": 476,
"final_score": 402, "final_score": 402,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"34": { "34": {
"name": "Jo\u017ee Planin\u0161ec", "name": "Jo\u017ee Planin\u0161ec",
@@ -1315,7 +1347,8 @@
], ],
"total_score": 504, "total_score": 504,
"final_score": 422, "final_score": 422,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"35": { "35": {
"name": "Vanja Kolar", "name": "Vanja Kolar",
@@ -1354,7 +1387,8 @@
], ],
"total_score": 505, "total_score": 505,
"final_score": 433, "final_score": 433,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"36": { "36": {
"name": "Klara Wankmuller", "name": "Klara Wankmuller",
@@ -1393,7 +1427,8 @@
], ],
"total_score": 523, "total_score": 523,
"final_score": 430, "final_score": 430,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"37": { "37": {
"name": "Milan Stramec", "name": "Milan Stramec",
@@ -1432,7 +1467,8 @@
], ],
"total_score": 479, "total_score": 479,
"final_score": 404, "final_score": 404,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"38": { "38": {
"name": "Bojan Sudar", "name": "Bojan Sudar",
@@ -1472,7 +1508,8 @@
], ],
"total_score": 392, "total_score": 392,
"final_score": 392, "final_score": 392,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"39": { "39": {
"name": "Tia Sudar", "name": "Tia Sudar",
@@ -1512,7 +1549,8 @@
], ],
"total_score": 364, "total_score": 364,
"final_score": 364, "final_score": 364,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"40": { "40": {
"name": "Jaka Cvar", "name": "Jaka Cvar",
@@ -1552,7 +1590,8 @@
], ],
"total_score": 395, "total_score": 395,
"final_score": 395, "final_score": 395,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"41": { "41": {
"name": "Tadej \u0160truc", "name": "Tadej \u0160truc",
@@ -1592,7 +1631,8 @@
], ],
"total_score": 390, "total_score": 390,
"final_score": 390, "final_score": 390,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"42": { "42": {
"name": "Jure Glaser", "name": "Jure Glaser",
@@ -1632,7 +1672,8 @@
], ],
"total_score": 399, "total_score": 399,
"final_score": 399, "final_score": 399,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"43": { "43": {
"name": "Marko Pokr\u017enik", "name": "Marko Pokr\u017enik",
@@ -1672,7 +1713,8 @@
], ],
"total_score": 399, "total_score": 399,
"final_score": 399, "final_score": 399,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"44": { "44": {
"name": "Anka Ka\u010dnik", "name": "Anka Ka\u010dnik",
@@ -1712,7 +1754,8 @@
], ],
"total_score": 381, "total_score": 381,
"final_score": 381, "final_score": 381,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"45": { "45": {
"name": "Lidija Blimen", "name": "Lidija Blimen",
@@ -1752,7 +1795,8 @@
], ],
"total_score": 386, "total_score": 386,
"final_score": 386, "final_score": 386,
"tournaments_participated": 4 "tournaments_participated": 4,
"excluded_tournament": null
}, },
"46": { "46": {
"name": "Tijana \u0160tumpfl", "name": "Tijana \u0160tumpfl",
@@ -1791,7 +1835,8 @@
], ],
"total_score": 523, "total_score": 523,
"final_score": 433, "final_score": 433,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"47": { "47": {
"name": "Ljuba Mr\u0161ak", "name": "Ljuba Mr\u0161ak",
@@ -1830,7 +1875,8 @@
], ],
"total_score": 434, "total_score": 434,
"final_score": 358, "final_score": 358,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"48": { "48": {
"name": "Janja Salcman", "name": "Janja Salcman",
@@ -1869,7 +1915,8 @@
], ],
"total_score": 494, "total_score": 494,
"final_score": 401, "final_score": 401,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"49": { "49": {
"name": "Jolanda Verhnjak", "name": "Jolanda Verhnjak",
@@ -1908,7 +1955,8 @@
], ],
"total_score": 516, "total_score": 516,
"final_score": 423, "final_score": 423,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
} }
}, },
"completed_tournaments": [ "completed_tournaments": [
@@ -12,7 +12,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"4": { "4": {
"name": "Mateja Pleterski", "name": "Mateja Pleterski",
@@ -20,15 +21,17 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"5": { "5": {
"name": "Jože Verhnjak", "name": "Jo\u017ee Verhnjak",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"6": { "6": {
"name": "Mateja Senica", "name": "Mateja Senica",
@@ -36,15 +39,17 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"10": { "10": {
"name": "Mitja Čeh", "name": "Mitja \u010ceh",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"11": { "11": {
"name": "Rado Kefer", "name": "Rado Kefer",
@@ -52,7 +57,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"12": { "12": {
"name": "Matej Kvasnik", "name": "Matej Kvasnik",
@@ -60,7 +66,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"14": { "14": {
"name": "Karli Proje", "name": "Karli Proje",
@@ -68,31 +75,35 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"16": { "16": {
"name": "Silvo Poročnik", "name": "Silvo Poro\u010dnik",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"18": { "18": {
"name": "Matjaž Pleterski", "name": "Matja\u017e Pleterski",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"20": { "20": {
"name": "Jože Preglav", "name": "Jo\u017ee Preglav",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"21": { "21": {
"name": "Marko Blimen", "name": "Marko Blimen",
@@ -100,7 +111,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"23": { "23": {
"name": "Robi Krautberger", "name": "Robi Krautberger",
@@ -108,15 +120,17 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"24": { "24": {
"name": "Jože Verdinek", "name": "Jo\u017ee Verdinek",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"30": { "30": {
"name": "Maja Hirtl", "name": "Maja Hirtl",
@@ -124,23 +138,26 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"33": { "33": {
"name": "Namir Uzunović", "name": "Namir Uzunovi\u0107",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"34": { "34": {
"name": "Jože Planinšec", "name": "Jo\u017ee Planin\u0161ec",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"35": { "35": {
"name": "Vanja Kolar", "name": "Vanja Kolar",
@@ -148,7 +165,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"36": { "36": {
"name": "Klara Wankmuller", "name": "Klara Wankmuller",
@@ -156,7 +174,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"37": { "37": {
"name": "Milan Stramec", "name": "Milan Stramec",
@@ -164,7 +183,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"39": { "39": {
"name": "Tia Sudar", "name": "Tia Sudar",
@@ -172,15 +192,17 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"41": { "41": {
"name": "Tadej Štruc", "name": "Tadej \u0160truc",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"42": { "42": {
"name": "Jure Glaser", "name": "Jure Glaser",
@@ -188,15 +210,17 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"43": { "43": {
"name": "Marko Pokržnik", "name": "Marko Pokr\u017enik",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"45": { "45": {
"name": "Lidija Blimen", "name": "Lidija Blimen",
@@ -204,23 +228,26 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"46": { "46": {
"name": "Tijana Štumpfl", "name": "Tijana \u0160tumpfl",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"47": { "47": {
"name": "Ljuba Mršak", "name": "Ljuba Mr\u0161ak",
"joker_used": false, "joker_used": false,
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"48": { "48": {
"name": "Janja Salcman", "name": "Janja Salcman",
@@ -228,7 +255,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
}, },
"49": { "49": {
"name": "Jolanda Verhnjak", "name": "Jolanda Verhnjak",
@@ -236,7 +264,8 @@
"tournament_results": [], "tournament_results": [],
"total_score": 0, "total_score": 0,
"final_score": 0, "final_score": 0,
"tournaments_participated": 0 "tournaments_participated": 0,
"excluded_tournament": null
} }
}, },
"completed_tournaments": [], "completed_tournaments": [],
+118 -69
View File
@@ -43,7 +43,8 @@
], ],
"total_score": 428, "total_score": 428,
"final_score": 361, "final_score": 361,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"2": { "2": {
"name": "Nik Pleterski", "name": "Nik Pleterski",
@@ -82,7 +83,8 @@
], ],
"total_score": 490, "total_score": 490,
"final_score": 407, "final_score": 407,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"3": { "3": {
"name": "Ivan Tandler", "name": "Ivan Tandler",
@@ -121,7 +123,8 @@
], ],
"total_score": 544, "total_score": 544,
"final_score": 457, "final_score": 457,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"4": { "4": {
"name": "Mateja Pleterski", "name": "Mateja Pleterski",
@@ -160,10 +163,11 @@
], ],
"total_score": 439, "total_score": 439,
"final_score": 369, "final_score": 369,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"5": { "5": {
"name": "Jože Verhnjak", "name": "Jo\u017ee Verhnjak",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -199,7 +203,8 @@
], ],
"total_score": 506, "total_score": 506,
"final_score": 413, "final_score": 413,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"6": { "6": {
"name": "Mateja Senica", "name": "Mateja Senica",
@@ -238,10 +243,11 @@
], ],
"total_score": 465, "total_score": 465,
"final_score": 377, "final_score": 377,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"7": { "7": {
"name": "Branko Pokeržnik", "name": "Branko Poker\u017enik",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -277,10 +283,11 @@
], ],
"total_score": 470, "total_score": 470,
"final_score": 383, "final_score": 383,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"8": { "8": {
"name": "Franc Žigart", "name": "Franc \u017digart",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -316,10 +323,11 @@
], ],
"total_score": 496, "total_score": 496,
"final_score": 405, "final_score": 405,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"9": { "9": {
"name": "Janez Božič", "name": "Janez Bo\u017ei\u010d",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -355,10 +363,11 @@
], ],
"total_score": 490, "total_score": 490,
"final_score": 419, "final_score": 419,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"10": { "10": {
"name": "Mitja Čeh", "name": "Mitja \u010ceh",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -394,7 +403,8 @@
], ],
"total_score": 536, "total_score": 536,
"final_score": 452, "final_score": 452,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"11": { "11": {
"name": "Rado Kefer", "name": "Rado Kefer",
@@ -433,7 +443,8 @@
], ],
"total_score": 487, "total_score": 487,
"final_score": 413, "final_score": 413,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"12": { "12": {
"name": "Matej Kvasnik", "name": "Matej Kvasnik",
@@ -472,7 +483,8 @@
], ],
"total_score": 487, "total_score": 487,
"final_score": 434, "final_score": 434,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"13": { "13": {
"name": "Angelca Mrak", "name": "Angelca Mrak",
@@ -511,7 +523,8 @@
], ],
"total_score": 449, "total_score": 449,
"final_score": 376, "final_score": 376,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"14": { "14": {
"name": "Karli Proje", "name": "Karli Proje",
@@ -550,7 +563,8 @@
], ],
"total_score": 444, "total_score": 444,
"final_score": 372, "final_score": 372,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"15": { "15": {
"name": "Jan Pleterski", "name": "Jan Pleterski",
@@ -589,10 +603,11 @@
], ],
"total_score": 573, "total_score": 573,
"final_score": 471, "final_score": 471,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"16": { "16": {
"name": "Silvo Poročnik", "name": "Silvo Poro\u010dnik",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -628,10 +643,11 @@
], ],
"total_score": 528, "total_score": 528,
"final_score": 438, "final_score": 438,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"17": { "17": {
"name": "Dušan Onuk", "name": "Du\u0161an Onuk",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -667,10 +683,11 @@
], ],
"total_score": 460, "total_score": 460,
"final_score": 381, "final_score": 381,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"18": { "18": {
"name": "Matjaž Pleterski", "name": "Matja\u017e Pleterski",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -706,7 +723,8 @@
], ],
"total_score": 499, "total_score": 499,
"final_score": 418, "final_score": 418,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"19": { "19": {
"name": "Franc Rizmal", "name": "Franc Rizmal",
@@ -745,10 +763,11 @@
], ],
"total_score": 505, "total_score": 505,
"final_score": 424, "final_score": 424,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"20": { "20": {
"name": "Jože Preglav", "name": "Jo\u017ee Preglav",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -784,7 +803,8 @@
], ],
"total_score": 464, "total_score": 464,
"final_score": 378, "final_score": 378,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"21": { "21": {
"name": "Marko Blimen", "name": "Marko Blimen",
@@ -823,7 +843,8 @@
], ],
"total_score": 497, "total_score": 497,
"final_score": 417, "final_score": 417,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"22": { "22": {
"name": "Doris Fesel", "name": "Doris Fesel",
@@ -862,7 +883,8 @@
], ],
"total_score": 496, "total_score": 496,
"final_score": 417, "final_score": 417,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"23": { "23": {
"name": "Robi Krautberger", "name": "Robi Krautberger",
@@ -901,10 +923,11 @@
], ],
"total_score": 503, "total_score": 503,
"final_score": 419, "final_score": 419,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"24": { "24": {
"name": "Jože Verdinek", "name": "Jo\u017ee Verdinek",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -940,7 +963,8 @@
], ],
"total_score": 456, "total_score": 456,
"final_score": 379, "final_score": 379,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"25": { "25": {
"name": "Andrej Herman", "name": "Andrej Herman",
@@ -979,7 +1003,8 @@
], ],
"total_score": 519, "total_score": 519,
"final_score": 442, "final_score": 442,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"26": { "26": {
"name": "Jakob Herman", "name": "Jakob Herman",
@@ -1018,7 +1043,8 @@
], ],
"total_score": 527, "total_score": 527,
"final_score": 451, "final_score": 451,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"27": { "27": {
"name": "Janez Mrak", "name": "Janez Mrak",
@@ -1057,10 +1083,11 @@
], ],
"total_score": 492, "total_score": 492,
"final_score": 405, "final_score": 405,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"28": { "28": {
"name": "Anže Kolar", "name": "An\u017ee Kolar",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1096,7 +1123,8 @@
], ],
"total_score": 516, "total_score": 516,
"final_score": 435, "final_score": 435,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"29": { "29": {
"name": "Alen Kolar", "name": "Alen Kolar",
@@ -1135,7 +1163,8 @@
], ],
"total_score": 512, "total_score": 512,
"final_score": 426, "final_score": 426,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"30": { "30": {
"name": "Maja Hirtl", "name": "Maja Hirtl",
@@ -1174,10 +1203,11 @@
], ],
"total_score": 528, "total_score": 528,
"final_score": 437, "final_score": 437,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"31": { "31": {
"name": "Dejan Kučnik", "name": "Dejan Ku\u010dnik",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1213,10 +1243,11 @@
], ],
"total_score": 438, "total_score": 438,
"final_score": 369, "final_score": 369,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"32": { "32": {
"name": "David Strniša", "name": "David Strni\u0161a",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1252,10 +1283,11 @@
], ],
"total_score": 510, "total_score": 510,
"final_score": 418, "final_score": 418,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"33": { "33": {
"name": "Namir Uzunović", "name": "Namir Uzunovi\u0107",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1291,10 +1323,11 @@
], ],
"total_score": 548, "total_score": 548,
"final_score": 454, "final_score": 454,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"34": { "34": {
"name": "Jože Planinšec", "name": "Jo\u017ee Planin\u0161ec",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1330,7 +1363,8 @@
], ],
"total_score": 467, "total_score": 467,
"final_score": 392, "final_score": 392,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"35": { "35": {
"name": "Vanja Kolar", "name": "Vanja Kolar",
@@ -1369,7 +1403,8 @@
], ],
"total_score": 466, "total_score": 466,
"final_score": 387, "final_score": 387,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"36": { "36": {
"name": "Klara Wankmuller", "name": "Klara Wankmuller",
@@ -1408,7 +1443,8 @@
], ],
"total_score": 497, "total_score": 497,
"final_score": 408, "final_score": 408,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"37": { "37": {
"name": "Milan Stramec", "name": "Milan Stramec",
@@ -1447,7 +1483,8 @@
], ],
"total_score": 508, "total_score": 508,
"final_score": 418, "final_score": 418,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"38": { "38": {
"name": "Bojan Sudar", "name": "Bojan Sudar",
@@ -1486,7 +1523,8 @@
], ],
"total_score": 470, "total_score": 470,
"final_score": 395, "final_score": 395,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"39": { "39": {
"name": "Tia Sudar", "name": "Tia Sudar",
@@ -1525,7 +1563,8 @@
], ],
"total_score": 535, "total_score": 535,
"final_score": 446, "final_score": 446,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
}, },
"40": { "40": {
"name": "Jaka Cvar", "name": "Jaka Cvar",
@@ -1564,10 +1603,11 @@
], ],
"total_score": 487, "total_score": 487,
"final_score": 407, "final_score": 407,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"41": { "41": {
"name": "Tadej Štruc", "name": "Tadej \u0160truc",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1603,7 +1643,8 @@
], ],
"total_score": 478, "total_score": 478,
"final_score": 399, "final_score": 399,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"42": { "42": {
"name": "Jure Glaser", "name": "Jure Glaser",
@@ -1642,10 +1683,11 @@
], ],
"total_score": 523, "total_score": 523,
"final_score": 441, "final_score": 441,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"43": { "43": {
"name": "Marko Pokržnik", "name": "Marko Pokr\u017enik",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1681,10 +1723,11 @@
], ],
"total_score": 511, "total_score": 511,
"final_score": 423, "final_score": 423,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 3
}, },
"44": { "44": {
"name": "Anka Kačnik", "name": "Anka Ka\u010dnik",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1720,7 +1763,8 @@
], ],
"total_score": 474, "total_score": 474,
"final_score": 387, "final_score": 387,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"45": { "45": {
"name": "Lidija Blimen", "name": "Lidija Blimen",
@@ -1759,10 +1803,11 @@
], ],
"total_score": 490, "total_score": 490,
"final_score": 411, "final_score": 411,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 1
}, },
"46": { "46": {
"name": "Tijana Štumpfl", "name": "Tijana \u0160tumpfl",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1798,10 +1843,11 @@
], ],
"total_score": 513, "total_score": 513,
"final_score": 419, "final_score": 419,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"47": { "47": {
"name": "Ljuba Mršak", "name": "Ljuba Mr\u0161ak",
"joker_used": false, "joker_used": false,
"tournament_results": [ "tournament_results": [
{ {
@@ -1837,7 +1883,8 @@
], ],
"total_score": 524, "total_score": 524,
"final_score": 446, "final_score": 446,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 4
}, },
"48": { "48": {
"name": "Janja Salcman", "name": "Janja Salcman",
@@ -1876,7 +1923,8 @@
], ],
"total_score": 446, "total_score": 446,
"final_score": 369, "final_score": 369,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 2
}, },
"49": { "49": {
"name": "Jolanda Verhnjak", "name": "Jolanda Verhnjak",
@@ -1915,7 +1963,8 @@
], ],
"total_score": 495, "total_score": 495,
"final_score": 419, "final_score": 419,
"tournaments_participated": 5 "tournaments_participated": 5,
"excluded_tournament": 5
} }
}, },
"completed_tournaments": [ "completed_tournaments": [
@@ -1,406 +0,0 @@
{
"league": {
"league_id": "league_20251110_150623",
"created_at": "2025-11-10T15:06:23.384785",
"tournament_type": "4_targets",
"total_tournaments": 5,
"current_tournament": 0,
"participants": {
"1": {
"name": "Domen Pleterski",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"2": {
"name": "Nik Pleterski",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"3": {
"name": "Ivan Tandler",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"4": {
"name": "Mateja Pleterski",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"5": {
"name": "Jože Verhnjak",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"6": {
"name": "Mateja Senica",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"7": {
"name": "Branko Pokeržnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"8": {
"name": "Franc Žigart",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"9": {
"name": "Janez Božič",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"10": {
"name": "Mitja Čeh",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"11": {
"name": "Rado Kefer",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"12": {
"name": "Matej Kvasnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"13": {
"name": "Angelca Mrak",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"14": {
"name": "Karli Proje",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"15": {
"name": "Jan Pleterski",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"16": {
"name": "Silvo Poročnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"17": {
"name": "Dušan Onuk",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"18": {
"name": "Matjaž Pleterski",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"19": {
"name": "Franc Rizmal",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"20": {
"name": "Jože Preglav",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"21": {
"name": "Marko Blimen",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"22": {
"name": "Doris Fesel",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"23": {
"name": "Robi Krautberger",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"24": {
"name": "Jože Verdinek",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"25": {
"name": "Andrej Herman",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"26": {
"name": "Jakob Herman",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"27": {
"name": "Janez Mrak",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"28": {
"name": "Anže Kolar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"29": {
"name": "Alen Kolar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"30": {
"name": "Maja Hirtl",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"31": {
"name": "Dejan Kučnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"32": {
"name": "David Strniša",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"33": {
"name": "Namir Uzunović",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"34": {
"name": "Jože Planinšec",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"35": {
"name": "Vanja Kolar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"36": {
"name": "Klara Wankmuller",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"37": {
"name": "Milan Stramec",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"38": {
"name": "Bojan Sudar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"39": {
"name": "Tia Sudar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"40": {
"name": "Jaka Cvar",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"41": {
"name": "Tadej Štruc",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"42": {
"name": "Jure Glaser",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"43": {
"name": "Marko Pokržnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"44": {
"name": "Anka Kačnik",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"45": {
"name": "Lidija Blimen",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"46": {
"name": "Tijana Štumpfl",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"47": {
"name": "Ljuba Mršak",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"48": {
"name": "Janja Salcman",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
},
"49": {
"name": "Jolanda Verhnjak",
"joker_used": false,
"tournament_results": [],
"total_score": 0,
"final_score": 0,
"tournaments_participated": 0
}
},
"completed_tournaments": [],
"league_finished": false
},
"archived_at": "2025-11-10T15:07:25.014724"
}
+3 -1
View File
@@ -30,7 +30,8 @@
"type": "Type", "type": "Type",
"action": "Action", "action": "Action",
"newest_first": "Newest First", "newest_first": "Newest First",
"oldest_first": "Oldest First" "oldest_first": "Oldest First",
"history": "History"
}, },
"navigation": { "navigation": {
"dashboard": "Dashboard", "dashboard": "Dashboard",
@@ -213,6 +214,7 @@
"comparison": "Comparison", "comparison": "Comparison",
"trends": "Trends", "trends": "Trends",
"shot_accuracy": "Shot Accuracy", "shot_accuracy": "Shot Accuracy",
"player_history": "Player History",
"tournament_history": "Tournament History", "tournament_history": "Tournament History",
"overall_stats": "Overall Stats", "overall_stats": "Overall Stats",
"tournament_leaders": "Tournament Leaders", "tournament_leaders": "Tournament Leaders",
+1
View File
@@ -220,6 +220,7 @@
"comparison": "Primerjava", "comparison": "Primerjava",
"trends": "Trendi", "trends": "Trendi",
"shot_accuracy": "Natančnost Strelov", "shot_accuracy": "Natančnost Strelov",
"player_history": "Zgodovina Igralca",
"tournament_history": "Zgodovina Turnirjev", "tournament_history": "Zgodovina Turnirjev",
"overall_stats": "Splošne Statistike", "overall_stats": "Splošne Statistike",
"tournament_leaders": "Vodilni v Turnirjih", "tournament_leaders": "Vodilni v Turnirjih",
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -312,7 +312,8 @@ def analyze_player_performance(player_id, archives_data):
'tournaments_participated': tournaments_participated, 'tournaments_participated': tournaments_participated,
'joker_used': participant.get('joker_used', False), 'joker_used': participant.get('joker_used', False),
'tournament_results': tournament_results, 'tournament_results': tournament_results,
'filename': archive.get('filename', '') 'filename': archive.get('filename', ''),
'excluded_tournament': participant.get('excluded_tournament', None)
}) })
except Exception as e: except Exception as e:
print(f"Error analyzing league archive: {e}") print(f"Error analyzing league archive: {e}")