Student review count is not updated after a teacher submits a review of a student. Even though there is a require statement that would not allow for more than 5 reviews for any individual student, the 'reviewCount' mapping is never updated, leaving the number of reviews for all students to remain at 0 regardless of reviews submitted by the teacher.
Within the 'giveReview' function, 'reviewCount[_student]' is never updated, making the corresponding require statement useless:
Due to there being no revert or requirement preventing a review to be given after the session ends as well as an inability for the 'inSession' variable to turn back false, it gives additional time past the 'sessionEnd' date for teachers to submit reviews and alter student scores either positively or negatively that can impact whether they are able to graduate (as long as the principal has not called the 'graduateAndUpgrade' function yet).
Manual review and Foundry
Include a counter increment when a review is completed within 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.