Skip to content

Commit

Permalink
Set the default penalty to 0 temporarily
Browse files Browse the repository at this point in the history
Until penalty handling with regrades is fixed. See #229.
  • Loading branch information
Willem3141 committed Oct 7, 2021
1 parent e0d1d17 commit 1c71e19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion edit_graphchecker_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,10 @@ protected function add_student_interaction_field($mform) {
$mform->addElement('select', 'penalty',
get_string('penaltyforeachincorrecttry', 'question'), $penaltyoptions);
$mform->addHelpButton('penalty', 'penaltyforeachincorrecttry', 'question');
$mform->setDefault('penalty', 0.3333333);
//$mform->setDefault('penalty', 0.3333333);
// TODO temporarily set penalty default to 0 because penalties are
// broken with regrades (#229)
$mform->setDefault('penalty', 0);
}


Expand Down

0 comments on commit 1c71e19

Please sign in to comment.