The function variance will revert due to subtraction underflow.
In the function variance , the mean value will be calculated based on the data first, and then the average variance will be calculated. However, when a value is less than the mean value, the function will revert.
Core logic such as validate and finalizeValidation will be broken.
VSCode
Using int256 instead uint256:
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.