Hmmm yes 485 and 90 are too wide apart.
I believe just found the bug (though the statement about discrepancy I mentioned above is still true) –
In the previous implementation, the solution count in John’s summary is counted by the number of times anyone marked the John’s post as solution
def solved_count
UserAction.where(user: @user).where(action_type: UserAction::SOLVED).count
end
In the new implementation, the solution count in John’s user summary is the number of times John marked a post as solution
def solved_count
DiscourseSolved::SolvedTopic.where(accepter: @user).count
end
This explains the large difference. “solved count” changed definitions from ‘how many times you answered’ to ‘how many times you accepted’.
Will fix the bug, thanks again for the report!
I’ll also update the different counting methods used in profile popup and user summary.