third place fix

This commit is contained in:
2026-06-27 07:58:38 -05:00
parent 6bb6f9be7a
commit bf931e70c0
2 changed files with 38 additions and 14 deletions

View File

@@ -86,9 +86,16 @@ function resolveR32Slot(
// 2. Der Slot ist in allen noch möglichen Konstellationen stabil
// (Enumeration aller Annex-C-Kombinationen)
// 3. Das konkrete Team ist bekannt (Gruppe fertig)
const fix = annexResolved
&& thirdSlotIsSecure(winnerGroup, matches, teams)
&& row?.qualifies === true;
const secure = thirdSlotIsSecure(winnerGroup, matches, teams);
console.log("[FIX-3RD]", "winnerGroup:", winnerGroup,
"| assignedThird:", assignment?.[winnerGroup],
"| annexResolved:", annexResolved,
"| thirdSlotIsSecure:", secure,
"| row.group:", row?.group,
"| row.qualifies:", row?.qualifies,
"| row.teamId:", row?.teamId,
"| team:", row?.teamId ? teams.find(t => t.id === row.teamId)?.name : "null");
const fix = annexResolved && secure && row?.qualifies === true;
const provisional = !fix;
const prefix = provisional ? "aktuell " : "";
return {