-
Notifications
You must be signed in to change notification settings - Fork 171
Ground Control Configuration Panel
Ground Control configuration is a user-friendly panel that allows the teaching admin easily manage their contests/assessments. Administrators can use the panel to toggle token counters, export contest leaderboards, assign entries for voting and customise assessments team sizes. 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
hasTokenCounter
toAssessmentConfiguration
type in frontend - Added
hasTokenCounter
toassessment_config
in backend - Added
hasTokenCounter
,tokenCount
, andcustomNotification
to workspace properties - Added new
ENABLE_TOKEN_COUNTER
andDISABLE_TOKEN_COUNTER
action in WorkspaceSaga - Imported Acorn package to count tokens in the frontend
- Added Repl output type named
NOTIFICATION_OUTPUT
with bright style to differentiate it from normal output - Added boolean cell in assessment configuration panel to toggle token counter
- Added
max_team_size
toAssessment
type
Outstanding issues
-
customNotification
can be used to createNOTIFICATION_OUTPUT
with 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
popularVoteLeaderboard
attribute toIContestVotingQuestion
type in frontend - Added new tab for leaderboard, which conditionally renders data depending on
SideContentType
- Added
popular_score field
to answers in backend - Added methods which mirrors calculation for
relative_score
topopular_score
- Added
popularVoteLeaderboard
output for voting questions in backend
Rationale: Create a compact interface for assessment/contest management on an individual basis instead of on an assessment type basis for more flexibility.
Pull Requests
Changelog
- Added
ConfigureCell
withDialogBox
and switches for controlling token counter, voting features, and team assessments - Added Gear icon button in Ground Control to access configuration panel
- Added
handleConfigureAssessment
action to update assessment properties - Added
Has Voting Features
boolean cell to assessment configurations - Added
hasTokenCounter
andhasVotingFeatures
to assessments in backend - Added
_groundcontrol.scss
module for style
Notes
- Changing assessment configurations in the admin panel will add relevant attributes to an assessment once they are created by default. However, any changes made in the ground control configure panel will override them.
(Documentation work in progress)
(Documentation work in progress)