Using Moodle 2.7 and Storyline for SCORM 1.2 content.
We have found that one of our SCORM activities is occasionally being marked as complete, even though the student has not completed the activity.
The SCORM activity consists of a SCORM-based quiz which must be passed successfully in either 1 or 2 tries. If they fail the first time, they can take it a second time. If they fail a second time, they cannot take it again, and instead must take a different course.
What we have found is that if the user fails the first time, and then exits during the second attempt, the activity is sometimes being marked as completed, even though the student has not passed the course. Again, this doesn't happen every time. In my testing, I've had it happen about 20% of the time.
To give examples of what I'm talking about, here is the course page after the user exits the course. Note the blue checkmark indicating that the activity is complete.

Here are sreen shots of the Activity Completion Report showing a Failed status for the activity for the user:

Clicking the Attempt link shows the following:

Here is the first part of the SCORM interaction detail:

Here are the completion settings for the activity:

Can anyone provide any insight as to why this activity is being marked as complete, even though the user hasn't successfully completed it?
Thanks!