In the giveReview
function, teachers can submit weekly reviews for students. If a review is negative (false), the student's score decreases by 10 points. However, positive reviews (true) do not affect the student's score. This asymmetry means that student scores can only decrease over time, regardless of positive feedback.
Issue: The function reduces student scores on negative reviews but doesn't increase them on positive ones.
Implication: Students cannot improve their scores through positive behavior, leading to a gradual decline in scores over time.
The inability to recover lost points may discourage students from improving their performance.
The design inherently favors score reduction, which could introduce bias against students.
Perceived unfairness in the review system could damage the institution's reputation and stakeholder trust.
Manual code review
Implement Positive Score Adjustments: Modify the giveReview function to increase the student's score on positive reviews, ensuring a balanced evaluation system.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.