You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace single scoring policy with per-task scoring policies
ExerciseConfig now carries a per_task_scoring_policies JSON column keyed
by submission-test task name instead of a single scoring_policy dict.
Task names are AST-discovered from each exercise's submission_tests
file, so the config editor shows exactly the tasks registered by the
test script. Submissions are scored with score_submission(), which
applies each task's policy independently and returns (total, per-task
breakdown); the scoreboard API exposes the breakdown to the SPA.
The public scoreboard drops the user-selectable ranking strategy: the
SCOREBOARD_RANKING_MODE setting and RANKING_STRATEGIES registry are
removed, and the SPA is hardwired to the best-sum strategy. The chart
samples the timeline at real event timestamps only, so every plotted
point corresponds to an actual submission or window edge.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,4 +184,4 @@ The following features are disabled by default and can be enabled from the admin
184
184
Allows students to be organized into named groups with a configurable maximum size. Students pick a group during registration, and admins can manage the available groups and reassign students afterwards. Enable via the `GROUPS_ENABLED` setting and configure the per-group capacity via `GROUP_SIZE`.
185
185
186
186
#### Scoreboard
187
-
A public leaderboard at `/v2/scoreboard` that ranks students based on their exercise submissions. Exercises can be grouped into assignments and the ranking strategy is selected via `SCOREBOARD_RANKING_MODE`. Enable via `SCOREBOARD_ENABLED`; optionally set `LANDING_PAGE` to `scoreboard` to use it as the default landing page.
187
+
A public leaderboard at `/v2/scoreboard` that ranks students based on their exercise submissions using a Formula 1 style, time-weighted strategy. Exercises can be grouped into assignments. Enable via `SCOREBOARD_ENABLED`; optionally set `LANDING_PAGE` to `scoreboard` to use it as the default landing page.
0 commit comments