The standard deviation calculation in Statistics will almost always revert from underflow due to incorrect variance calculation.
Once all validations are complete in LLMOracleCoordinator for a given task, the validations are finalized in finalizeValidation and a standard deviation of all scores is calculated. There is an issue however with the way variance is calculated. The variance calculation only account for scores above the mean and not below the mean. Anytime a score is below the mean, the following line will revert due to underflow.
You can modify any test to include different score values and you will receive an error. Currently all tests use the same score for all scores in the array. This is the only instance this error wouldn't occur.
Critical- this is completely protocol breaking. All tests suites currently use the same value for all scores. That is the only instance this will not fail. It will almost always be the case there will be some variance in the scores
Manual Review
Account for both sides of variance
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.