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

Precision errors in Statistics

    Details

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

      To reproduce the issue (test in https://trunk-oracle.nightly.sakaiproject.org/ )

      1. Enter as instructor
      2. Import the assessment attached
      3. Publish it
      4. Enter as student
      5. Score like this

      Question 1 of 7: 1.2 points
      Question 2 of 7: 1.8 points
      Question 3 of 7: 0.0 points
      Question 4 of 7: 0.0 points
      Question 5 of 7: 1.2 points
      Question 6 of 7: 0.8 points
      Question 7 of 7: 2.0 points

      6. Submit the assessment
      7. Enter as instructor, go to Scores->Statistics
      8. You´ll see a 6.99 instead of a 7 in the interval (see photo)

      Show
      To reproduce the issue (test in https://trunk-oracle.nightly.sakaiproject.org/ ) 1. Enter as instructor 2. Import the assessment attached 3. Publish it 4. Enter as student 5. Score like this Question 1 of 7: 1.2 points Question 2 of 7: 1.8 points Question 3 of 7: 0.0 points Question 4 of 7: 0.0 points Question 5 of 7: 1.2 points Question 6 of 7: 0.8 points Question 7 of 7: 2.0 points 6. Submit the assessment 7. Enter as instructor, go to Scores->Statistics 8. You´ll see a 6.99 instead of a 7 in the interval (see photo)

      Description

      Samigo is using "double" for the scores so you can get a 6.9999 from the Database if you have a 7. This can lead to numerous problems in statistics.

        Gliffy Diagrams

          Attachments

          1. SAM-3127.xml
            43 kB
          2. Stats.png
            Stats.png
            54 kB

            Issue Links

              Activity

                People

                • Assignee:
                  alexgj Alejandro González Jiménez
                  Reporter:
                  alexgj Alejandro González Jiménez
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code