admin: Can gain points for each question answered // partial exercice solved

This commit is contained in:
nemunaire 2025-03-28 13:33:09 +01:00
commit 8e196136c3
8 changed files with 30 additions and 5 deletions

View file

@ -46,6 +46,8 @@ type Settings struct {
GlobalScoreCoefficient float64 `json:"globalScoreCoefficient"`
// DiscountedFactor stores the percentage of the exercice's gain lost on each validation.
DiscountedFactor float64 `json:"discountedFactor,omitempty"`
// QuestionGainRatio is the ratio given to a partially solved exercice in the final scoreboard.
QuestionGainRatio float64 `json:"questionGainRatio,omitempty"`
// AllowRegistration permits unregistered Team to register themselves.
AllowRegistration bool `json:"allowRegistration,omitempty"`