In the validation logic (function validate), the mean and variance will be calculated. When the score is within the range of the mean +- variance, the validator will receive a reward.  However, The current validation logic will always favor low scores due to division rounding down.
For example, when the number of validators is 2, one validator has a score of 100 and the other has a score of 101. Under normal verification logic, both validators should receive rewards. The mean is 100.5 and the variance is greater than 0.5. However, due to rounding, the mean will be 100 and the ariance will be 0. This will result in validators with high scores being unable to obtain rewards, which is an unreasonable verification algorithm.
Please note that when the number of validators is 2, as long as the sum of the scores of two validators is an odd number, only the validator with the lower score will receive rewards.
The current validation logic is no proper, since it always favor low scores due to division rounding down.
VSCode
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.