Skip to content

Add contest-wide ScoreReveal defaults#762

Draft
otargowski wants to merge 2 commits into
sio2project:masterfrom
otargowski:scorereveal-defaults
Draft

Add contest-wide ScoreReveal defaults#762
otargowski wants to merge 2 commits into
sio2project:masterfrom
otargowski:scorereveal-defaults

Conversation

@otargowski

Copy link
Copy Markdown
Contributor

Closes #729.
A default ScoreRevealConfig can now be set in contest settings.
The ProblemInstance admin interface informs the user whether they are overriding a contest-wide default:

image image

The section header was chosen as the place to communicate this because it doesn't require modifying the already complex admin templates.

This is a draft due to lack of tests.

To allow for properly disabling reveals per-problem, a reveal limit of 0
or less will now mean that the reveals should be fully disabled and not
show up in submission reports.
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting a default score revealing configuration for contests

1 participant