[samigo-team] Loss of precision when instructor exports the assessment's results
RAUL SANCHEZ VEGAS
raulsv at um.es
Mon Oct 14 01:15:20 PDT 2013
Hi Neal
Yes, it looks like the issue related to Jira SAM-1562 but it doesn't
work in all use cases.
You can check it by following the steps from the use case described below.
I've tested this use case in 2.9.x <http://qa1-nl.sakaiproject.org/portal/>.
Regards,
Raúl
El 07/10/2013 15:16, Neal Caidin escribió:
> 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 <mailto:neal.caidin at apereo.org>
> Skype: nealkdin
> Twitter: ncaidin
>
>
>
>
>
>
>
>
>
> On Oct 7, 2013, at 2:50 AM, RAUL SANCHEZ VEGAS <raulsv at um.es
> <mailto: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
>> <mailto: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/samigo-team/attachments/20131014/995e6d2c/attachment.html
More information about the samigo-team
mailing list