The giveReview function is intended to limit the number of reviews a student can receive to five, using the condition require(reviewCount[_student] < 5, "Student review count exceeded!!!");. However, the contract does not increment the reviewCount[_student] after each review is given. As a result, the condition is always true, and a student can receive an unlimited number of reviews, bypassing the intended review limit.
This logic flaw allows students to receive unlimited reviews, which can lead to inflated or manipulated scores. The lack of control over the number of reviews undermines the fairness and integrity of the scoring system. If student rewards or progression depend on these scores, this opens the door to abuse or favoritism.
Manual reviews
Consoder replacing the if statement within the giveReview() function with the below code:
`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.