One bit of Mastodon internals I don't understand: how does the software determine the "favourite" and "boost" counts for remote statuses? Are the values in `status_stats` ever refreshed from the remote?
@annika the instance you are in counts boosts and favorites based on the part of network it knows about. It does not fetch values from the server hosting the post but calculates it itself from known users. For a single user instance those numbers are always too low. Zero most of the time since the server only knows a about a fraction of the network. On the originating instance this number is said to be accurate because all interactions end up there.
@b_cavello After some chats, I think the counts are based on observable local and federated behaviour rather than asking the remote server for canonical counts, which explains why different servers show different numbers
@annika from what I understand is that it just gets the counts wrong. That’s been my experience comparing the same post accessed from two accounts I have on different servers.
@annika I use #fedilab, a client with a button for fetching all replies to a post from the remote instance. Pressing this also fetches the number of boosts/likes.
For instance, at the moment I see your post has 1 boost/0 likes. Pressing the button I get 7/15. How does that match what you see?
It only gives the updated numbers for the original post, not for all the replies.