reviewCount Is Never IncrementedThe reviewCount mapping is intended to limit the number of reviews a student can receive, but it is never incremented, making the check ineffective.
The function reviewStudent() includes this check:
However, no code ever increments reviewCount[_student], so this condition will always pass.
Any teacher can provide unlimited reviews to a student, possibly inflating their record or bypassing intended constraints.
Manual review
After the review is added, increment the count:
`reviewCount` for students is not updated after each review session
`reviewCount` for students is not updated after each review session
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.