ndunand / moodle-qtype_matrix

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

no partial points when some items not answered #64

Open a-kempka opened 1 year ago

a-kempka commented 1 year ago

Thank you for your indispensible plugin! Plugin-Version: 3.7 for Moodle 3.9-4.1 (Build: 2023010300) 2023010300 Moodle-Version: Moodle 3.11.16 (Build: 20230814)

After grading a quiz I noticed that the grading behaves not as expected. No partial points are awarded if at leas one item has not been answered.

To reproduce the issue:

  1. Create a quiz with a specified end time.
  2. Create a kprime-Question with 4 items
  3. Choose "subpoints" as the scoring method
  4. Set default mark to 4
  5. (optionally) use "shuffle answer statements"
  6. Have a student take the quiz, but only answer n-1 items correctly and omit 1 item
  7. Wait until the time for the quiz is over OR submit the answer on time
  8. Review the attempt of the quiz as a teacher
  9. (optional) re-grade the quiz

Expected result: The student is awarded n-1 (here: 3) points. Actual result: