Page MenuHomePhabricator

Impact module: Top viewed articles counts is using unexpected count logic
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Every time I log in, the numbers are impossibly changing, for example, the views are decreasing even though the views should be cumulative for the first 60 days. Other times, my contributions, like to Tortoiseshell cat https://en.wikipedia.org/wiki/Tortoiseshell_cat seemingly have completely disappeared. The views don't even display as 0, it's simply gone, even though it was my top article at 5,000+ views with no other article having overtaken that spot, so I'm not sure why it disappeared.

What should have happened instead?:
Per comment in T313176#8418521 – Each article's page view count is from after the person's last edit to that particular article, *not* for last edit edit in general (which is the current logic).

The views actually accumulate, and my top articles don't suddenly disappear off the list.

Software version (skip for WMF-hosted wikis like Wikipedia):
I'm using a Chromebook and it says that I'm on Version 102.0.5005.75 (Official Build) (64-bit)

Other information (browser name/version, screenshots, etc.):

  • I have NOT been editing for 60 days, so articles shouldn't be disappearing because the views are set to "Views since you edited (last 60 days)" In fact, I made my Wikipedia account on 11 July 2022, so it hasn't even been a month yet.
  • Please view the below screenshots for proof of the number of views being weird. The names of the files should say the exact time and day that I took the screenshot so that you can confirm for yourself that the numbers are decreasing.
  • Finally, I am in Japan, so that may affect some of the times or something (I'm not really sure if this is helpful, because I'm not a developer or anything, but you never know)

Screenshot 2022-07-16 5.14.57 PM.png (768×1 px, 158 KB)

Screenshot 2022-07-16 5.43.33 PM.png (768×1 px, 158 KB)

Screenshot 2022-07-16 6.05.13 PM.png (768×1 px, 152 KB)

Event Timeline

I also want to add that these screenshots are completely unedited so that you can see exactly what I am seeing on my side of the screen.

Also notice how the views on "Chaebol" and "Majida El Roumi" decrease in the first two screenshots, and then everything goes to 0 for some reason, even though that screenshot was taken after the first two.

Thank you @InfiniteSword for reporting!

I re-checked the pageview statistics logic ( "Views since you edited (last 60 days)" to verify the issues that you reported - please review the following and let me know if I miss anything.

(1) "Views since you edited (last 60 days)" means that the count of page views starts from a user's last edit on an article.
For example,

  • A user makes several edits, all within the 60-day interval of the current date,

e.g. https://en.wikipedia.org/w/index.php?title=Chaebol&action=history . User:InfinitySword edited the article on 07/11/2022, 07/14/2022 and 07/16/2022.

  • the stats on the Impact module would refer to 07/16/2022-current date

If the Impact module was viewed, for example on 07/13/2022 (after the edit was done on 07/11/2022) the stats for Chaebol article would show: 3,989 pageviews.
But viewing the Impact module, for example, on 07/15/2022 (shortly after the second edit was done on 07/14/2022) would display the pageview count or Chaebol article as 2,531, since the count of pageviews resets with each new edit.

(2) The question on the stats for Tortoiseshell cat - yes, the article has the higher count of pageviews than other articles displayed in the Impact module. However, the Impact module displays the articles where the most recent edits were done, not the articles with the highest pageview count.

(3) The case when the Impact module displays all zeros - most likely it was an outage in the pageview stats service. Did you try to click on the zero numbers? If you see the Impact module with zeros, it'd be great if you notice the time and after clicking on the zero, please copy the url.

Tgr subscribed.

The list shows the page views since your last edit, for the last five articles you have edited. Looking at your edit history, the list of articles is accurate; and since the pageviews are only counted after your last edit (not your last edit to that article, your last edit in general), the numbers do go down sometimes. I agree this is not great UX.

The list shows the page views since your last edit, for the last five articles you have edited. Looking at your edit history, the list of articles is accurate; and since the pageviews are only counted after your last edit (not your last edit to that article, your last edit in general), the numbers do go down sometimes. I agree this is not great UX.

cc @KStoller-WMF @BKots-WMF @KieranMcCann to think about from product & design perspective.

I agree this in imperfect UX, but at least we are providing that "Views since you edited" disclaimer in the UI.

As we work on Impact Module improvements we should consider improvements here, but if this is a major technical lift (or might create performance issues if changed) then we should set it aside for Positive Reinforcement V2.

RHo subscribed.

The list shows the page views since your last edit, for the last five articles you have edited. Looking at your edit history, the list of articles is accurate; and since the pageviews are only counted after your last edit (not your last edit to that article, your last edit in general), the numbers do go down sometimes. I agree this is not great UX.

I am going to remove the Growth-Design tag as it seems like the fix for this task is the calculation to be as expected in the original proposed design – to make the pageviews are counted per article after the person's last edit to that particular article, *not* for last edit edit in general. @KStoller-WMF - can we discuss adding to the second or third iteration for impact module release?

RHo renamed this task from "Your Impact" numbers on Special:Homepage in Wikipedia to [BUG] Impact module: Top viewed articles counts is using unexpected count logic.Nov 23 2022, 9:04 PM
RHo updated the task description. (Show Details)

to make the pageviews are counted per article after the person's last edit to that particular article, *not* for last edit edit in general.

That is done already in the new impact module. If it is not behaving that way, then we should fix it.

to make the pageviews are counted per article after the person's last edit to that particular article, *not* for last edit edit in general.

That is done already in the new impact module. If it is not behaving that way, then we should fix it.

Oh that's great to hear! Should I put this in QA then for testing with the new impact module?

to make the pageviews are counted per article after the person's last edit to that particular article, *not* for last edit edit in general.

That is done already in the new impact module. If it is not behaving that way, then we should fix it.

Oh that's great to hear! Should I put this in QA then for testing with the new impact module?

I put it in QA, but maybe this could be closed as a duplicate of T323253: NewImpact module: Page view data should be limited to when user made their first edit.

kostajh renamed this task from [BUG] Impact module: Top viewed articles counts is using unexpected count logic to Impact module: Top viewed articles counts is using unexpected count logic.Nov 24 2022, 9:08 AM
kostajh claimed this task.