Description:
The cutOffScore
variable is intended to act as a minimum score threshold for students to be eligible for graduation. While it is correctly set when the session starts, it is never referenced or enforced during the upgrade logic in graduateAndUpgrade
.
As a result, students with scores below the required threshold (e.g., due to poor reviews) can still graduate and be upgraded, violating the intended academic grading policy and making the performance tracking via studentScore meaningless.
Unqualified Students Graduate: Students with scores below cutOffScore can graduate and be upgraded.
Bypass of Academic Policy: Defeats the purpose of the review and scoring system meant to enforce academic performance.
Broken Trust and Logic: Undermines the integrity of the grading and upgrade system.
Assume cutOffScore is 60 and one student has a score of 40 (after reviews).
Add a check in graduateAndUpgrade to ensure only students with scores >= cutOffScore are allowed to proceed.
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.