The startSession()
function does not check whether the provided cutOffScore
is a valid value (i.e., greater than 0). If the cutOffScore
is set to 0, it would mean that all students, even those who perform poorly (e.g., scoring 60 marks), would automatically pass
1) If cutOffScore
is set to 0, every student will pass, regardless of their actual score
1) Vs code
2) Manual review
Add validation to ensure that the cutOffScore
is greater than 0 before starting the 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.