Grade for attempt showing up % instead of grades

Re: Grade for attempt showing up % instead of grades

by Chetan Madaan -
Number of replies: 0
Hi Dan,

Yes, The scorm is being generated with iSprings and I do have access to the source file. I don't however think that changing it in scorm might be a viable fix as we have a lot of scorms packages and would like to see if the fix can be applied on moodle end.

The scorm has 50 questions, each giving 10 points/number for a correct answer, hence resulting in 460 for 46 correct questions.

The max grade is already set but still showing 460%.

I'd try setting that value in the database and see how it works.

I saw the these two lines are actually what display the grade (https://github.com/moodle/moodle/blob/master/mod/scorm/locallib.php#L1314-L1315) on the first screenshot that I provided and just adding a condition here should be fix it. However, I don't want make any modifications to the core, unless that's the only option I have left.

Thanks,
Chetan