Crossword puzzle completion status
Submitted by platinumlifelnd on Wed, 06/28/2023 - 13:55
Forums:
Hi there,
We use the LearnDash LMS with H5P content. We currently use the GrassBlade xAPI Content to extract results from the H5P games, but they have notified me that the H5P crossword game only provides the answers' data and not the completion status as with the other games.
We would really like to be able to see the completion status of the crossword games in our xAPI reports, together with the other games' results.
Would you be able to make this available please?
Kind regards,
otacke
Wed, 06/28/2023 - 22:46
Permalink
Hi!Hmm, H5P Crossword seems
Hi!
Hmm, H5P Crossword seems to set the "completed" flag whenever someone checks the answer (cmp. https://github.com/otacke/h5p-crossword/blob/master/src/scripts/h5p-crossword.js#L420-L421). It will be part of the regular "answered" statement.
Best,
Oliver
platinumlifelnd
Thu, 06/29/2023 - 11:48
Permalink
Hi Oliver,Thank you for your
Hi Oliver,
Thank you for your reply.
I asked the xAPI consultant about this, as I don't know JavaScript.
His reply was the following:
"We do not run completion on answered verb statements. Because as per xAPI Standard, there should be a separate passed/failed/completed verb statement for the completion."
Does this help?
otacke
Thu, 06/29/2023 - 18:49
Permalink
Hi!I don't think there is an
Hi!
I don't think there is an "xAPI standard" that tells you when what should happen exactly - that is because xAPI is as much a technical standard as it is a framework that needs to be adjusted to an application's needs. You can rely on statements to follow a fixed scheme that also carries meta information (e.g. what a verb exactly means by attaching a URI to it - there could be multiple different versions of a verb that bears the label "completed" but may have different meanings or connotations.
Anyway ...
Any xAPI statement with any verb can potentially carry information about the success/completion status. These are part of the "result" object than any xAPI statement can have (regardless of the verb that is used, although it wouldn't make sense for all of them for sure), see https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#result.
The information about the completion state within the result object is commonly transferred when H5P content types either use the verb "answered" (typically a quit like content type) or "completed" (usually when there's no score involved or when it is a compound content type such as Column).
You would need to check them both for the completion state (or potentielly not even look at the verb but the results object only.).
Best,
Oliver