packagecontrol.io icon indicating copy to clipboard operation
packagecontrol.io copied to clipboard

Installation count discrepancy

Open deathaxe opened this issue 8 years ago • 6 comments

The screenshot shows a package which was recently added to Package Control.

The allover install count in the header does not match the one of the graphics. The reason is a difference of the Windows installations.

screenshot

Which value is valid?

deathaxe avatar Sep 26 '17 22:09 deathaxe

If I recall correctly, the cumulative total counts unique platform/ip combos, whereas the graph shows raw numbers.

wbond avatar Sep 27 '17 01:09 wbond

Means the 7 guys on linux and 30 on OSX installed the package once with luck but one third of the windows guys had to reinstall it one or more times? Seems a bit strange. I wouldn't expect that. It somehow looks like a bug in one of the graphics on a first glance.

deathaxe avatar Sep 27 '17 09:09 deathaxe

Unfortunately I don't have time to dig into this now, but the whole site is open source, so if someone does have the time, here are the places to look:

SQL queries: https://github.com/wbond/packagecontrol.io/blob/master/app/models/package/find.py#L463-L509

Database structure: https://github.com/wbond/packagecontrol.io/blob/master/setup/sql/up.sql#L9-L47

Where installs are recorded: https://github.com/wbond/packagecontrol.io/blob/master/app/models/package/usage.py

wbond avatar Sep 27 '17 11:09 wbond

Another strange example

A package added to repo 5 days ago with only about 8 installs a day gets 6k overall installs.

grafik

deathaxe avatar Jul 28 '21 17:07 deathaxe

What is the name? If people had a folder with that name previously, those would be reported as package installs in the past.

wbond avatar Jul 28 '21 19:07 wbond

https://packagecontrol.io/packages/Theme%20-%20Brackets

deathaxe avatar Jul 28 '21 19:07 deathaxe