5

This question is inspired by Edit counts toward Strunk & White badge do not always add up to 80, where I remembered that I wrote a Global Edit Summary, which is (on some sites) off by one or more posts.

As an example, consider my Travel Meta profile. The SEDE query says 5 posts edited, but the profile and the badge tracker say 10:

enter image description here

There are 13 revisions listed; for the ones on December 13th I only changed the tags, so they don't count. The six revisions in February were on three different posts, and the four oldest revisions were on the same post.

All in all, only these five posts should count towards the badge:

and my query correctly lists them as such. I have no idea where the other five are coming from ... Edits to deleted posts don't count, so in theory everything should be visible on the profile, right? Or am I missing something here?

Most of the times, the query produces the same results as the counter on my profile (not counting edits made after last Sunday morning) but there are a few other sites where the counter and/or the query are off (e.g. Bitcoin where the query reports 54 and the profile 55).

  • Unlike the Strunk & White badge itself, which only counts each post once, the posts edited count in your impact box does count posts more than once. The query actually counts distinct RevisionGUIDs rather than distinct PostIds, which means multiple revisions to the same post are counted separately. I'm almost certain that's not intended, because that would make little sense labeled as "posts edited" which implies a count of posts, not a count of revisions. It even contradicts the very name of the method: GetDistinctPostsEdited – animuson Apr 9 at 15:05
  • Hmm ... the Strunk & White badge tracker also says 10 posts edited (same root cause maybe). Well, then it's probably a real [bug]. – Glorfindel Apr 9 at 15:41
  • Just checked, it does. Doesn't use the same method, weirdly, and there are other small tweaks to the query which make it do the same thing, but it is definitely counting RevisionGUIDs instead of PostIds. – animuson Apr 9 at 15:47

You must log in to answer this question.

Browse other questions tagged .