[Building Sakai] [samigo-team] Loss of precision when instructor exports the assessment's results

Neal Caidin neal.caidin at apereo.org
Mon Oct 7 06:16:00 PDT 2013


Hi Raúl,


Does this look like the issue?

https://jira.sakaiproject.org/browse/SAM-1562

Looks like it was fixed in 2.9.0 . Which version are you seeing this problem on?

Cheers,
Neal



Neal Caidin
Sakai CLE Community Coordinator
neal.caidin at apereo.org
Skype: nealkdin
Twitter: ncaidin









On Oct 7, 2013, at 2:50 AM, RAUL SANCHEZ VEGAS <raulsv at um.es> wrote:

> Hi all
> 
> We have found an issue related to the loss of precision in the final scores.
> 
> Steps to reproduce the issue:
> 
> 1. The instructor publishes the assessment called "Assessment"(attached to this mail).
> 2. The student answers all questions correctly:
> 
>     3 questions: Every question worth 2 points so the student gets 6 points as total score.
> 
> 3. The instructor exports the results to an excel file.(using button 'Export').
> 4. The total score is 5.999999 instead of 6 points in the excel file. The final score is displayed correctly: 6 points on the "Total Scores"  web page.
> 
> This loss of precision only happens sometimes.
> 
> It happens in Sakai 2.9.x too(http://qa1-nl.sakaiproject.org/portal/): Samigo uses float precision in 2.9.x instead of double precision as Samigo does in trunk.
> 
> At this example the final score is 6 on the "Total Scores" web page while the final score is 5.9999 in the Excel file. The reason is that the final score is rounded by the method
> [samigo-app]AgentResults.getRoundedFinalScore()  on "Total Scores" web page while the final score is not rounded in the Excel file.
> 
> Should it be opened a new Jira with this issue?
> 
> Regards
> <Assessment.zip>_______________________________________________
> samigo-team mailing list
> samigo-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/samigo-team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131007/61af7a8a/attachment.html 


More information about the sakai-dev mailing list