WeeeHung / pe

0 stars 0 forks source link

The Total Score did not round up as reflected by students score #4

Open WeeeHung opened 10 months ago

WeeeHung commented 10 months ago

I entered values like 31.9955 for the student 1's score and it got rounded up to 32.00/32.00.

Hence the expected total score for student 1 should now be 100% as i thought the scores have already been rounded up, but the score used to tabulate totalScore for students used the prev values key-ed in which would then contradict the one shown for studentScores, which now shows 99.98%.

This discrepancy will only occur when there is a minute difference in score. But this difference can sum up to something significant if i have like 10 components with similar issue.

image.png

[Note student 1's total score and studentScore with index 1]

nus-se-bot commented 10 months ago

Your response not required for this bug as the team has accepted the bug as it is.