Fill in the Blanks

Get overall maximum score of complete exercise (multiple questions)

In our Moodle LMS we have exercises that consist of multiple questions. To proceed to the next exercise, a student has to have correctly solved 50% of the questions of one exercise. So we need to check, if 50% in total is reached. Could someone tell me, how we can do this by the xAPI? I know I get the max score of ONE question by event.result.score.max(), but how can I get the overall max score of multiple questions? Or is this much more a moodle question instead of a H5P question?

Fill in the Blanks - Problem with multiple alternative answers

5okrates's picture

Tested under Opigno 2.5 (Drupal 8).

Affected: Fill in the blanks 1.11

Replication: Create exercise with 5-7 blanks, each with 3 alternative answers. When student is done with this exercise and clicks "next" his answers cannot be saved to the database due to "data too long for column".

From what I understand H5P tries to save to the database an array of sets of correct answers which grows 2x with each alternative answer. This behaviour is irrelevant whether you put all your blanks into one text block or into separate text blocks.

Pages