-
- Downloads
Improve scoring calculations.
1. If the PRT weights do not sum to 1, we re-scale in initialise_question_instance 2. We fill in any blank node penalties with the default question penalty in initialise_question_instance. 3. We validate that PRT weights are positive in the editing form. 4. Unit test for initialise_question_instance, which found some minor subtle bugs, which have been fixed.
Showing
- edit_stack_form.php 3 additions, 0 deletionsedit_stack_form.php
- lang/en/qtype_stack.php 1 addition, 0 deletionslang/en/qtype_stack.php
- questiontype.php 33 additions, 6 deletionsquestiontype.php
- tests/helper.php 62 additions, 47 deletionstests/helper.php
- tests/questiontype_test.php 14 additions, 5 deletionstests/questiontype_test.php
Loading
Please register or sign in to comment