Support questions where answers are neither right nor wrong (choice interaction)#5
Support questions where answers are neither right nor wrong (choice interaction)#5otacke wants to merge 3 commits intoh5p:masterfrom
Conversation
The xAPI specification allows questions where answers are neither right nor wrong. In that case, the correct responses pattern is omitted, cmp. https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#correct-responses-pattern Currently, this is interpreted wrong. With these changes, if the xAPI statement does not contain a correct responses pattern for an xAPI choice interaction, it will use a blue checkmark for indicating that the answer was given, relabel the "Answers" column to "Chosen" and suppress the "Correct Answers" column. The behavior for xAPI choice interactions that provide a correct responses pattern is not changed, so existing content types such as the multiple choice quiz are not affected.
|
I use https://h5p.org/node/625627 to argue that this pull request or adding this feature makes sense :-) |
|
Is this needed for any content types ? |
|
@thomasmars Not yet, but it would make sense to support this in simple-multi-choice-set (in H5P.Questionnaire), I have been asked to add that in multiple choice and I also have a request for creating a form-like content type with no right/wrong answers as a choice type. |
|
Yes, I'll create an issue for supporting reporting for Questionnaire, it should be handled with that one. |
|
@thomasmars Hei! Four years later, and I have the same issue: A content type that's a |
The xAPI specification allows questions where answers are neither right nor wrong. In that case, the correct responses pattern is omitted, cmp. https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#correct-responses-pattern Currently, this is interpreted wrong.
With these changes, if the xAPI statement does not contain a correct responses pattern for an xAPI choice interaction, it will use a blue checkmark for indicating that the answer was given, relabel the "Answers" column to "Chosen" and suppress the "Correct Answers" column.
The behavior for xAPI choice interactions that provide a correct responses pattern is not changed, so existing content types such as the multiple choice quiz are not affected.