Page MenuHomePhabricator

Unique devices is wrong
Closed, ResolvedPublic

Description

Unique devices just shows sum of the individual values.
For example for 2017 for Ukrainian wikipedia it shows 89.241.167, but it is exactly the sum of 12 monthly individual values https://docs.google.com/spreadsheets/d/1RJMj6FAR7Iza5VIq2yYD8CFc9SNbln8FUmpWdAkbepg/edit#gid=0

<s>The correct number from https://stats.wikimedia.org/v2/#/uk.wikipedia.org/reading/unique-devices is 9.374.002, about 10 times less</s>
Actually https://stats.wikimedia.org/v2/#/uk.wikipedia.org/reading/unique-devices does not show a correct total too, as total cannot decrease but it does

Event Timeline

Restricted Application added a project: Community-Tech. · View Herald TranscriptJan 14 2018, 11:39 AM
Restricted Application added subscribers: Base, Aklapper. · View Herald Transcript

I can confirm the bug with Pageviews Analysis. You should open a new task for VPS-project-Wikistats, however. Thanks.

MusikAnimal closed this task as Resolved.Jan 15 2018, 3:03 AM
MusikAnimal claimed this task.
MusikAnimal moved this task from Backlog to Done on the Tool-Pageviews board.

There's no way to get total unique devices across an arbitrary date range, so I've just removed the totals altogether and am only showing averages: https://tools.wmflabs.org/siteviews/?platform=all-sites&source=unique-devices&range=latest-20&sites=fr.wikipedia.org|de.wikipedia.org

This will have to do, I suppose. Thanks for the report.