The giveReview() function decreases the score without a lower bound, allowing scores to go negative. This could lead to unexpected behavior or errors.
Impact: Medium - Could cause unintended student penalties or system errors.
Likelihood: Low - Depends on review distribution but possible over time.
Manual review
Add a check to prevent scores from dropping below zero.
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.