ndunand / moodle-qtype_matrix

Source code of https://moodle.org/plugins/qtype_matrix
2 stars 10 forks source link

wrong grading for kprim with multiple answers #16

Closed isacsonk closed 9 years ago

isacsonk commented 10 years ago

how to reproduce: 1) go to the question bank in the course Testkurs KI 2) choose category Matrix 3) click on the preview-Symbol next to the question "Kprim mehrere Antworten" 4) select all options (answer statements) as correct (richtig) --> you receive full points although option "b beide" was not responded to correctly. The correct answer of "b beide" is when both responses "richtig" and "falsch" are selected. (This doesn't really make sense of course, but if you had other response labels it could make sense).

requirement: in the above mentioned case you should only get full points, when all the rows are answered correctly. kprimmultipleanswerwrong kprimmultipleanswer

laurentopprecht commented 9 years ago

The kprime (any grading) works as intended:

At least one correct answer, no invalid answers

For a pure kprime the user can use kprime (0/1).

Arguably the wording is a bit misleading and we could replace "kprime" by "kprime any correct" or whatever is seen as better.

laurentopprecht commented 9 years ago

Having a look at the translation files the meanings do not match. I changed the English wording to correct that.