Because of the new HF20 I have notices some huge discrepancies in between SteemWorld and Steemd.com stats. Just wanted to let you know about it, so you may find the way to fix it.
Both screenshots are taken approximately at the same time (few seconds difference), after (hard) refresh of both pages and without any action being performed on the account in the meantime.
I needed to change my logic a few times in the last days. At some point it was working for all accounts, but then there came a new update to the public nodes and the values changed again. I'm now calculating it by myself instead of using the voting-power field from the node's request result and it finally works as it should ;)
OMG - I don't envy you at all and wouldn't like to walk in your shoes these days.
However, thank you for the reply and above all for doing all these and providing us with SteemWorld! 😊