Missing cutOffScore check allows failing students to persist post-upgrade.
The graduateAndUpgrade function in LevelOne.sol does not check studentScore against cutOffScore for each student, allowing students who fail to meet the cutOffScore to remain in the listOfStudents post-upgrade, violating the invariant that failing students should not be upgraded.
Incorrect student progression, potentially affecting future sessions.
Manual code review.
Add a loop in graduateAndUpgrade to check studentScore[student] >= cutOffScore and remove failing students from listOfStudents.ons
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.