SCORM with score of -10

damien.raemy
Forums
Hello, I have some modules with a unique SCORM (external package) activity. At the end of the activity, when I clicked on "Next", I got a crash. I searched and found that the score returned by my activity was -10 and did a crash because it was not between 0 and 10 ($this=>min and $this=>max in opigno-lms/vendor/rusticisoftware/tincan/src/Score.php I added, at the line 121, these lines and now it does not crash: if($value< 0){ $value *= -1; } But it's an ugly quick win, I don't understand really what I did and Opigno now shows me scores of -10 of 10 at the end of a module. Is there a problem in my SCORM or is it another thing? I needed, I can upload the SCORM files somewhere.
axel

Hi Damien,

Hi Damien,

Basically Opigno is not designed to handle negative scores for modules and trainings.

It can have some activities with some questions inside, some of them giving negative credits, other ones giving positive credits, but the overall score for the activity should be positive.

I don't know if this would be compliant with your use case, but what could be done on Opigno side would be to check the activity score, and if it's negative then to replace it with 0.

Best regards,

damien.raemy

Hi Axel,

Hi Axel, Thanks for your answer. My SCORM does not contain any score. It has been generated by Adobe Captivate and has been set to be completed when I click on a specific button. I think it may be the source of the problem. When there is no score, it set the score to -max.
damien.raemy

Hi Axel,

Hi Axel, This SCORM was created by Adobe Captivate. To export in SCORM, we can choose a follow-up that will tell if the module is passed or not. We can either use a quizz (this works), a number of slide seen (it does not work with a score of -10) or we can use a button to mark the module as terminated (this does not work either). Do you have any experience or feedback of how Opigno should work with such manners to compete / rate SCORM activities?
Profile picture for user James Aparicio
James Aparicio

Hi damien.raemy,

Hi damien.raemy,

 

What version of scorm are you using? 1.2 or 2004? 

And what Opigno version are you using?

Best regards

damien.raemy

Hi James Aparicio,

Hi James Aparicio, I'm using SCORM 1.2 and Opigno 1.3.0 (the technical version, with Drupal 8). Best regards
axel

Hi Damien,

Hi Damien,

This will be fixed in the next release.