The function does not validate whether the provided cutOffScore
is greater than zero. This oversight may allow invalid or meaningless configurations, reducing the reliability of the contract's session logic and fairness for students.
There is no check to ensure that _cutOffScore > 0
, which may allow the principal
to initiate a session with an invalid or meaningless threshold, effectively graduating all students unconditionally, or introducing logical errors in future validation logic.
Setting a cutOffScore
of 0 would automatically qualify every student, regardless of performance.
Logical inconsistency: Future functions that rely on a valid cutOffScore
may misbehave.
Mannual Review
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.