In the giveReview() function, there is a check to ensure that students don't receive more than 4 reviews (one per week), but the counter that tracks the number of reviews is never incremented:
According to the documentation, there are strict requirements about reviews:
> Students can only be reviewed once per week
> Students must have gotten all reviews before system upgrade. System upgrade should not occur if any student has not gotten 4 reviews (one for each week)
Teachers can give unlimited reviews to students as long as they wait one week between reviews (until the Principal calls graduateAndUpgrade()), potentially reducing student scores to zero through repeated bad reviews.
The system cannot properly enforce the requirement that all students must have exactly 4 reviews before upgrading.
Add the missing increment to the `giveReview()` function
`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.