Forum Discussion

AndreVan-Loover's avatar
AndreVan-Loover
Community Member
11 years ago

How to eliminate the masteryscore element from imsmanifest.xml?

The question seems to have a simple answer, such as... open imsmanifest.xml and delete the XML element.  However, I would like to know what publish settings control the appearance of that element in the published output, as I try to avoid any post-publish alterations of SCOs, since these steps are subject to procedural rigor (i.e. human error).

As a little background, I am interested primarily in supporting a configurable passing score for the SCO.  That is, on a per LMS deployment-basis, the "passed" status should only be set after the passing score is exceeded within the number of allowed attempts (also custom/configurable).  How the custom passing score and allowed attempt values get passed in is something I've worked out already, but I ran into a problem with using the JavaScript API to control the passed/failed status of the SCO.  Specifically, if the SCO was exited prior to the learner exceeding the "masteryscore", the LMS overwrote the status with "failed" regardless of what status I set it to (using SetStatus("incomplete")).  Manually deleting the "masteryscore" element from imsmanifest.xml alleviates this problem.

See page 2-19 of this document for information regarding the role of masteryscore on the status.

See this cached post from the Moodle forum regarding the same topic.

15 Replies