Custom Content Type and Moodle Grading

Forums: 

Sorry if this is a dumb question, but how is grading handled between H5P and Moodle? Does Moodle listen for xAPI "Completed" verb with a score in it? Then uses the Moodle pass score to set pass or fail?

 

*I did try to search the forums, but the search box is broken.