Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation count discrepancy #98

Open
deathaxe opened this issue Sep 26, 2017 · 6 comments
Open

Installation count discrepancy #98

deathaxe opened this issue Sep 26, 2017 · 6 comments

Comments

@deathaxe
Copy link

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?

@wbond
Copy link
Owner

wbond commented Sep 27, 2017

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

@deathaxe
Copy link
Author

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.

@wbond
Copy link
Owner

wbond commented Sep 27, 2017

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

@deathaxe
Copy link
Author

Another strange example

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

grafik

@wbond
Copy link
Owner

wbond commented Jul 28, 2021

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

@deathaxe
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants