-
Bug
-
Resolution: Fixed
-
Trivial
-
2.1.1, 2.2
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_21_STABLE
-
Just one little but annoying issue that came up in MDL-28219 but affects the adaptivenopenalty behaviour as well. the unit test qbehaviour_adaptivenopenalty_walkthrough_test::test_multichoice() fails 50% of the time, in the last step (checking the grade after regrading). This is due to randomization in the order of answers, as far as I can see. An easy solution is to treat the two "wrong" answers with equal score.
Fail: question/behaviour/adaptivenopenalty/simpletest/testwalkthrough.php / ► qbehaviour_adaptivenopenalty_walkthrough_test / ► test_multichoice
Outside expectation because [Integer: 0] differs from [Float: 0.9999999] by 0.9999999 at [.../question/behaviour/adaptivenopenalty/simpletest/testwalkthrough.php line 143]
- will be (partly) resolved by
-
MDL-28219 Adaptive mode always gives a penalty for checking an answer
-
- Closed
-