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 /  totalUniqueAttestations

this 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 /  totalUniqueAttestations


To 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

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ—£οΈ Forum

Tags

API

Date

About 2 years ago

Author

trikunai

Subscribe to post

Get notified by email when there are changes.