theeugenechong / pe

0 stars 0 forks source link

Median wrongly shown for assessment with no students marked #7

Open theeugenechong opened 2 years ago

theeugenechong commented 2 years ago

Here's a list of students and their marks

image.png

The median calculated is as such. Although the error message is there, I don't think it should be -1

image.png

soc-se-bot commented 2 years ago

Team's Response

median mark outputs -1 instead of 0 if all are unmarked students. It would not affect the use of the command so it will be classified as a functionality bug due to incorrect output as the median does not work as expected.

Items for the Tester to Verify

:question: Issue type

Team chose [type.FunctionalityBug] Originally [type.FeatureFlaw]

Reason for disagreement: [replace this with your explanation]