-
Notifications
You must be signed in to change notification settings - Fork 174
Ground Control Configuration Panel
Ground Control Configuration is a new, user-friendly panel that allows the teaching admin to more easily control their contests/assessments. It enables administrators to toggle token counters, export contest leaderboards, assign entries for voting and customise team assessments when necessary. Future developers working on assessments will benefit from a readily available panel for assessment-related controls and features.
Rationale: Enable administrators to enable token counters which are displayed upon running code. This allows students to easily check their token counts during contests without having to wrap their submissions in the count_tokens function.
Pull Requests
Changelog
- Added
hasTokenCountertoAssessmentConfigurationtype in frontend - Added
hasTokenCountertoassessment_configin backend - Added
hasTokenCounter,tokenCount, andcustomNotificationto workspace properties - Added new
ENABLE_TOKEN_COUNTERandDISABLE_TOKEN_COUNTERaction in WorkspaceSaga - Imported Acorn package to count tokens in the frontend
- Added Repl output type named
NOTIFICATION_OUTPUTwith bright style to differentiate it from normal output - Added boolean cell in assessment configuration panel to toggle token counter
- Added
max_team_sizetoAssessmenttype
Outstanding issues
-
customNotificationcan be used to createNOTIFICATION_OUTPUTwith custom strings, but is currently unused.
Rationale: Enable students to view both score and popular vote leaderboards.
Pull Requests
- FE: Rename to Score Leaderboard, Popular Vote Leaderboard
- BE: Rename to Score Leaderboard, Popular Vote Leaderboard
Changelog
- Added
popularVoteLeaderboardattribute toIContestVotingQuestiontype in frontend - Added new tab for leaderboard, which conditionally renders data depending on
SideContentType - Added
popular_score fieldto answers in backend - Added methods which mirrors calculation for
relative_scoretopopular_score - Added
popularVoteLeaderboardoutput for voting questions in backend