[[:Special:ContributionScores]] does not dsiplay accurate figures

From Support
Jump to navigation Jump to search

Special:ContributionScores does not dsiplay accurate figures

Hello,

during the last few dates I noticed that on the page Special:ContributionScores for my User for Last 7 days (Top 50) the number of contributions is marked as following:

Rank Score Pages Changes Username

49 9 9 9 Robby

while on [1] you may see that I made at least 50 edits on 31 August till 2nd September.

So there seems to be something broken on this.

Robby (talk)22:33, 1 September 2019

49 or 50 edits, this is not a huge difference, and the statistics are not counted immediately; your last few edits were probably made after the statistic batch was run (so it counted only 49). Look at the statistics after 24 hours, you should see evolve it (but the count may still be off by the edits you made in the last few hours after the batch ran). Verdy p (talk) 23:35, 1 September 2019 (UTC)

Verdy p (talk)23:35, 1 September 2019

I've the same problem since the last days of August. I'm on 27th overall ranking but my changes are stopped on 38201 (and the scores is stopped too). May be there's a bug?

Joe Taras (talk)16:56, 2 September 2019
 

You are mistakken 49 is the rank not the number of changes or pages these were 9 and there is quite some difference between 9 and over 50.

Robby (talk)21:27, 2 September 2019

OK, but your actual statistics is not 50 but over 70,000. Still my comment remains valid: the statistics are not computed all the time continuously but with batches running periodically, so it's normal that it can ignore your most recent edits over the last shortest period. As well, the results depend on the activity of the job queue (which is very active on this wiki even if there's few edits, as the longest jobs are those created for SemanticWiki, some of them running for hours may lock temporarily not just some pages but also the updates of related statistics (which will be deferred). These statistics are not intended to be actualized in real time, they are just estimates. Computing them has a huge cost on the server, so they cannot be refreshed instantly, even if this is based on a live SQL request (which is already costly and quite long to reply for this page, because it has to lookup all existing users to sort them and then extract about 50 of them in each "top list"; the statistics however are quite accurate for least frequent users, but must frequent users are only roughly sorted, especially for the shortest period of 7 days). Note also that the computed statistics do not show the actual period of dates on which they were computed: the period may be off by more time than what you expect, and the "last 7 days" may be 7 days before the last run of statistics offline jobs which may have occured up to 7 days ago (possibly more of the database had long job lists, with some jobs taking several days to complete and deferring other pending Statistics jobs to run that, most probably, have lower priority than Semantic jobs and regular jobs built in MediaWiki).

This statistics page is not certainly the one to consult if you want to get your own personal edit statistics, that you can get using the live Mediawiki API:
"https://translatewiki.net/w/api.php?action=query&list=users&usprop=editcount&ususers=MYUSERNAME"
For example: https://translatewiki.net/w/api.php?action=query&list=users&usprop=editcount&ususers=Robby
The same for Joe Taras: https://translatewiki.net/w/api.php?action=query&list=users&usprop=editcount&ususers=Joetaras (note: you must use the actual username, like in your user page, not the displayed username in your signature, and URL-encode it if needed in the URL) This gives a total on all periods. Computing this over a period is much more complex as it requires scanning your history, so this cannot be done directly with the live API. Doing that on all existing users (just to get the Top 50 lists) is even more complicate and costly.

Verdy p (talk)21:13, 3 September 2019

Ok for me. Usually I've checked my stats and I've seen updated. Maybe there's a lot of traffic. No problem. Thank you for your reply

Joe Taras (talk)21:53, 3 September 2019