You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This solution still does not provide an exact check. 9.2 and 9.3 would still be see as 9. But I believe it would be a little more accurate.
The text was updated successfully, but these errors were encountered:
SAHellauer
changed the title
Not sending grades because the last-grade equals the current grade
Not sending correct grade because the last-grade is seen as the current-grade
Sep 11, 2017
Hi, yes, you are right. This is something that has been there since the beginning and I totally forget about it.
I suppose this happened because I was considering that Moodle only returns grades from 0 to 100 so I created the lastgrade field as int, but that's not true so this needs addressing in someway (ideally changing the field type and checks)
Please review the following line:
moodle-local_ltiprovider/lib.php
Line 360 in e70e4b9
Should the above code be an exact check and then we store the exact grade being sent in the db?
Use Case
Or at the very least could we round the grade and check that way?
And then store the rounded grade instead.
This solution still does not provide an exact check. 9.2 and 9.3 would still be see as 9. But I believe it would be a little more accurate.
The text was updated successfully, but these errors were encountered: