REST API - quiz_statistics - matching - multiple attempts

bgamrat
Community Explorer

I am using the REST API to get data

question_type: 'matching_question',
question_text: '<p>Match the hex values on the left with the binary values on the right</p>',
position: 2,
correct: 8,
partially_correct: 4,
incorrect: 0,
responses: 1,
answered: 1,

The quiz is set to allow multiple attempts and in this case, there were 12 students and 2 took the quiz twice.

For the statistics, I would like to see the unique statistics based on each student's latest attempt - or respect the grading approach

For example, if one student took the quiz twice, the statistics would include only the latest attempt for that student.

A work around is to sum the correct, partially_correct and incorrect values.

Labels (1)
0 Likes