Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36921

Multiple Choice All or Nothing score slightly off

    Details

    • 10 status:
      Resolved
    • Previous Issue Keys:
      SAM-2418

      Description

      We've been having some reports of multiple choice all or nothing where the grading comes back as slightly off. This appears to happen only when you have a total possible selection that can't be accurately represented as a fixed decimal (1/3, 1/6, 1/7, etc). It looks to be related to the increased precision fix in SAM-2087 where because of the improved precision, some of these values are adding up and still not quite equaling 1.0. (.99 in the UI)

      In the database, it appears as if the AUTOSCORE is stored as
      '0.333333333333333' where before it was '0.33333334' which could explain it but a little more research is needed. My suggestion is for this specific question, if all the answers are correct just to set the value to be as expected. (Similarly to how it sets it to 0 if it's incorrect)

      It seems like this is working correctly with Oracle.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code