Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1.1, 2.2
-
Fix Version/s: 2.1.2
-
Component/s: Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
At the moment, it is using the same calculation for single-response and multiple-response questions which is definitely wrong.
Unfortunately, I don't think there is any feasible way to calculate it for multiple-response questions, other than enumerating all possibilities, and even that depends on whether the question text says "Select all of the choices that ..." or "Select the N choices that ...". Moodle's scoring rules are just too flexible.
(By comparison, https://github.com/timhunt/moodle-qtype_oumultiresponse has a fairly simple random guess score calculation.)
I think the only solution is to not attempt to calculate the RGS in this situation. (This is an acceptable thing to do in the question type API.)