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

Double precision sum trouble leads to wrong score intervals

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2880
    • Test Plan:
      Hide

      1. Import the attached "Assessment.zip": The assessment has 4 questions that are worth 1.4, 1.6, 1.8 and 5.2 (they sum 10 points).

      2. Publish the assessment.

      3. As the same student, submit the assessment 20 times:

      • One of the submissions should get an score lower than 10 points.
      • All other submissions should get an score of 10 points.

      4. As instructor, go to the assessment statistics page and click the "View: All submissions" option.

      Expected behaviour: the last interval should be "9-10" instead of "10-10.00".

      Show
      1. Import the attached "Assessment.zip": The assessment has 4 questions that are worth 1.4, 1.6, 1.8 and 5.2 (they sum 10 points). 2. Publish the assessment. 3. As the same student, submit the assessment 20 times: One of the submissions should get an score lower than 10 points. All other submissions should get an score of 10 points. 4. As instructor, go to the assessment statistics page and click the "View: All submissions" option. Expected behaviour: the last interval should be "9-10" instead of "10-10.00".

      Description

      Steps to reproduce the issue:

      1. Import the attached "Assessment.zip": The assessment has 4 questions that are worth 1.4, 1.6, 1.8 and 5.2 (they sum 10 points).

      2. Publish the assessment.

      3. Submit the assessment several times as diferent students:

      • One of the submissions should get an score lower than 10 points.
      • All other submissions should get an score of 10 points.

      After several submissions, some students will get an score of 10.000001 instead of 10 points. This leads to an extra interval as you can see in this image.

      This extra interval appears because some students have got 10.00001 instead of 10 points. The maximum points allowed are 10 points.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  mkelsey Molly Kelsey (Inactive)
                  Reporter:
                  raulsv Raúl Sánchez Vegas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration