When checking for outliers, we check that there values lies in the range if mean -/+ standard deviation
.
In Statistics, This equation (mean -/+ standard deviation) is incomplete, as not all data behavs the same, and this boundry for outliers can be infair. The complete Formula is: mean -/+ factory * standard_deviation
, where the Factory is used to extend or norrow the correct region.
In our Code, we are initializing validationDeviationFactor
by 2
, and generationDeviationFactor
by 1
.
The problem is that we are not using validationDeviationFactor
when making the Outliers check (lower and upper) for validators, which will make it behave as if the factory is 1
, which is totally incorrect as it should be two. But the Check is implemented Correctly when checking generators outliers.
llm/LLMOracleCoordinator.sol#L343 | llm/LLMOracleCoordinator.sol#L368
This will make Outliers detection goes incorrectly, by narrowing the range of errors for validations, making the process unfair for Validators.
So the non-outliers will be 68%
only instead of 95%
of validators who joined the validation for this task according to the empirical rule for normal distribution.
Add the validationDeviationFactor
to the calculations.
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.