sourceVoteAccuracy calculation from effectiveness not matching rated web data
Hi, i have a issue when calculating the sourceVoteAccuracy we are using the next formula for calculate it :
sourceVoteAccuracy = sumCorrectSource / totalUniqueAttestationsthis shows an slightly difference data from the data shown in rated web
whatsmore, we are doing the same formula for targetVoteAccuracy and headVoteAccuracy and those are showing the same exact data both in out calcs and rated web
targetVoteAccuracy = sumCorrectTarget / totalUniqueAttestations headVoteAccuracy = sumCorrectHead / totalUniqueAttestationsTo give more details, i am requesting effectiveness groupeb by timeWindow with day granurality in 7 days date range and then doing averages on day datas to get the weekly data.
But as mentioned before this is leading to a non matching value compared to the same validator set in rated website.
I also noticed that `sumCorrectSource` is still missing in effectivenes api reference... dont know if that could be the reason as this might be still be in beta mode.
Looking forward to your help
Log in to comment and vote
Comments6
Robert Tiong
Jan 29, 2024
Hi @trikunai ! Could we ask for more context here please? Particularly the example data you're looking at, the time period, and specific validator indices if any.