New settings to only count bad submissions
This commit is contained in:
parent
b887288c78
commit
cd73622cae
9 changed files with 61 additions and 18 deletions
|
|
@ -62,6 +62,7 @@ func ApplySettings(config settings.FICSettings) {
|
|||
fic.WChoiceCoefficient = config.WChoiceCurCoefficient
|
||||
fic.SubmissionCostBase = config.SubmissionCostBase
|
||||
fic.SubmissionUniqueness = config.SubmissionUniqueness
|
||||
fic.CountOnlyNotGoodTries = config.CountOnlyNotGoodTries
|
||||
}
|
||||
|
||||
func ResetSettings() error {
|
||||
|
|
|
|||
|
|
@ -200,6 +200,13 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.countOnlyNotGoodTries">
|
||||
<span class="custom-control-label">Comptabiliser seulement les tentatives sans bonne réponse dans le score</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.eventKindness">
|
||||
|
|
|
|||
Reference in a new issue