AI Implementation feature(910): Scoreboard: Ranking, Matrix, Event Log and Score Graph 1.00 (#53)

This commit was merged in pull request #53.
This commit is contained in:
2026-07-23 05:42:17 +00:00
parent 7c4843d5cc
commit 4273662211
14 changed files with 129 additions and 179 deletions
@@ -373,6 +373,8 @@ export class ChallengesService {
this.publishSolveEvent({
challengeId,
challengeName: challenge.name,
categoryAbbreviation: challenge.abbreviation ?? '',
userId: currentUserId,
username: solvers.find((s) => s.userId === currentUserId)?.username ?? '',
awardedPoints,
@@ -405,6 +407,8 @@ export class ChallengesService {
private publishSolveEvent(input: {
challengeId: string;
challengeName: string;
categoryAbbreviation: string;
userId: string;
username: string;
awardedPoints: number;
@@ -422,6 +426,8 @@ export class ChallengesService {
this.hub.emitScoreboard({
topic: 'solve',
challengeId: input.challengeId,
challengeName: input.challengeName,
categoryAbbreviation: input.categoryAbbreviation,
userId: input.userId,
playerId: input.userId,
playerName: input.username,