Statistics::variance() will always revert due to assuming that `data[i] - mean` will always return positive number
The function looks like this:
It is meant to get the average of all of the numbers in the provided array. The problem here is that at least 1 number from the data array will be less than the mean variable, leading it to revert everytime it is called
It leads to DoS for LLMOracleCoordinator::finalizeValidation(), which leads to DoS for the task validation mechanism
Manual review
change the diffvariable from uint256 to int256, like this:
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.