Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

When querying the /users/{ids}/reputation API route, the total amount of reputation I get back from all reputation changes is much lower than my reputation reported on Stack Overflow. Here's my reputation from all seven categories reported by the API:

  • My answer was accepted: 5790
  • I accepted an answer: 0 (incorrect and already reported)
  • Questions: 12171
  • Answers: 106487
  • Bounties: 325 (incorrect and also already reported)
  • Spam: 0
  • Suggested Edits: 0

That's a total of 124,773, but my reputation on Stack Overflow is 136,858 as of this writing. That's a difference of just over 12k reputation.

When I parse the results of the on-site reputation report, I get the following results:

  • My answer was accepted: 6075
  • I accepted an answer: 124
  • Reputation from questions asked: 12405
  • Reputation from answers: 118167
  • Net reputation from bounties: 175
  • Reputation lost due to spam flags: 0
  • Reputation from suggested edits: 0
  • Reputation lost by downvoting: -189
  • Uncategorized reputation changes: 0

As you can see, all categories are close, except for reputation from answers, which is 11,680 points higher on the on-site reputation report, which accounts for nearly all of the total discrepancy. Is reputation gained from answers being misreported by the API?

share|improve this question
    
The subset of reputation events returned is probably exclusive of deleted items, which I think the on-site report faithfully includes where applicable. That might be the source of the discrepancy but I'd have to science it to see if that's a valid explanation. –  Tim Stone Mar 6 at 3:14
    
@TimStone You might be on to something. I know I have a ton of answers on old deleted questions that probably were upvoted enough and stuck around long enough that the reputation was grandfathered. –  Bill the Lizard Mar 6 at 3:28
    
Deleted Q rep is sometimes grandfathered?! I missed that meta post, looking... Anyway, your offered bounties were ignored. Maybe the API is also computing rep cap too aggressively? –  Brock Adams Mar 6 at 3:32
1  
@BrockAdams Yes, if a post stays on the site for 60 days or more and has a score of 3 or higher when it's deleted, you get to keep the reputation. meta.stackoverflow.com/a/124805/1288 –  Bill the Lizard Mar 6 at 3:48

You must log in to answer this question.

Browse other questions tagged .