Page MenuHomePhabricator

Newcomer tasks: Discrepancy in article counter on "Select your interests"
Open, Needs TriagePublicBUG REPORT

Description

There two type of cases

  1. another filter(s) count is ignored in the total count.
  2. the total count is off by one

(1) On cswiki betalabs Homepage Suggested module select the second option in the Easy filter - Přidání odkazů mezi články.

  • Click on select topic and select "Ekonomie" - the article count will be 10.
  • Select "Podnikání" - the count still 10.
  • De-select "Ekonomie" - the count will be 4.

(2) On cswiki betalabs Homepage Suggested module select the second option in the Easy filter - Přidání odkazů mezi články.

Selected topicsCount when selected separatelyCount when selected together
Podnikání 4
Politika4
Podnikání + Politika = 7
Selected topicsCount when selected separatelyCount when selected together
Zdraví1
Společenské4
Zdraví + Společenské = 7

Note: It could be that two cases are, in fact, one case - the article might be counted twice if they belong to different topics.
I looked what articles were selected in the (2) issue -"Milton Friedman" article was fetched when Zdraví was selected and when Společenské selected (separately).

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptTue, Jan 14, 11:32 PM

This issue is not a blocker for the release of V1.1.0, but we should address it afterward.

kostajh changed the subtype of this task from "Task" to "Bug Report".Wed, Jan 15, 1:16 PM
kostajh edited projects, added Growth-Team (Current Sprint); removed Growth-Team.

Change 565459 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Use queue length, not total result count for initation dialog result counter

https://gerrit.wikimedia.org/r/565459

Tgr claimed this task.Fri, Jan 17, 4:45 AM
Tgr added a comment.Fri, Jan 17, 7:50 AM

Can't reproduce the weird part - selecting Zdraví + Společenské vědy gives me 4 hits. Other than that, this is just due to (not) double-counting as you say. Which is currently somewhat incorrect as the tasks do get duplicated (the patch makes sure that we always report the number of task cards, not the number of matching articles, when the two differ), but once T243036: Newcomer tasks: rules for duplicate results is fixed this will be the correct behavior.

Change 565459 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Use queue length, not total result count for initation dialog result counter

https://gerrit.wikimedia.org/r/565459