Skip to content

Commit

Permalink
divide the team score by the number of Verdicts they've received
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Masrna committed Apr 7, 2024
1 parent 5154ff6 commit 0b16a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/getters/dashboard/judging/getJudgingResults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const processOneGroup = (
id: team.teamId,
name: team.teamName,
tableCode: team.tableCode,
score: teamScores[team.teamId] || 0,
score: (teamScores[team.teamId] || 0) / team.judgingVerdicts.length,
}));
};

Expand Down

0 comments on commit 0b16a5b

Please sign in to comment.