Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Possible issue with extension download counts #8402

Closed
dangoor opened this issue Jul 15, 2014 · 12 comments
Closed

Possible issue with extension download counts #8402

dangoor opened this issue Jul 15, 2014 · 12 comments

Comments

@dangoor
Copy link
Contributor

dangoor commented Jul 15, 2014

The data for brackets-git seems suspect:

{"version":"0.13.22","published":"2014-07-02T04:11:57.483Z","brackets":">=0.40.0","downloads":2802},{"version":"0.13.23","published":"2014-07-11T14:01:20.724Z","brackets":">=0.40.0","downloads":1457}

There were 9 days between these two versions during which time, 0.13.22 accumulated 2802 downloads. That's an average of 311 per day. 0.13.23 was 3 or 4 days old when I looked at registry.json and had more than 350 downloads per day during that time.

The recent counts look like this:

{"20140709":4,"20140710":5,"20140711":3,"20140712":3,"20140713":5,"20140714":8,"20140715":2}

7 days, 30 downloads.

So, it would seem that either the recent counts are wrong or the totals are wrong.

cc @ingorichter

@dangoor
Copy link
Contributor Author

dangoor commented Jul 21, 2014

Reviewed medium priority (Extension Registry feature area) to @ingorichter

@dnbard
Copy link

dnbard commented Aug 5, 2014

It's happening again:

5131 downloads yesterday with 1667 overall users. Looks like downloads counter in registry is wrong.

@dangoor
Copy link
Contributor Author

dangoor commented Aug 5, 2014

@dnbard I don't see anything that says 5131 downloads yesterday. The registry "recent downloads" data is wrong, but it's wrong on the low side:

        }, {
            "version": "0.4.3",
            "published": "2014-07-28T09:58:25.361Z",
            "brackets": ">=0.32.0",
            "downloads": 6635
        }],
        "totalDownloads": 9754,
        "recent": {
            "20140730": 4,
            "20140731": 1,
            "20140801": 2,
            "20140802": 1,
            "20140803": 1,
            "20140804": 2,
            "20140805": 1
        }

@dnbard
Copy link

dnbard commented Aug 5, 2014

"totalDownloads": 9754 is wrong.

5131 is a number that is difference of yesterday and today values of totalDownloads.
Also this extension got only 1667 users that used it at least once and that is far lower than totalDownloads: 9754.

Please see other extensions. Every extension are getting a lot more downloads today (and maybe yesterday).

@dangoor
Copy link
Contributor Author

dangoor commented Aug 5, 2014

Hmm... maybe you're right. Looking at the download totals for previous versions, the average was between 100-200 downloads per day. For the latest version, the count suddenly jumped up to ~800 per day.

It's possible that there was a download spike because of Brackets 0.42 coming out this past Friday and maybe people were opening up Brackets on Monday and getting update notifications.

Looking at another extension that is both popular and updated frequently (brackets-git): yeah, something is up with the counts. brackets-git averaged a low 42 downloads per day for the previous release (compared with 416 for the release before that). The latest release has an average of more than 2,700 per day.

Unless release 0.42 has caused a massive spike in attention, these download numbers make no sense.

@ingorichter
Copy link
Contributor

There is definitely something wrong with the data. I'm going to check the log files and the code that processes them.

@marcelgerber
Copy link
Contributor

I just had a look at MiguelCastillo's Brackets-Themes extension, and the Extension Rating extension says it was downloaded 14,000 times yesterday, with a total downloads of the latest version (released more than a month ago) of 24,000. That doesn't make any sense.

@dangoor
Copy link
Contributor Author

dangoor commented Aug 5, 2014

I will add the context here that Brackets itself has had a spike in downloads since the release of 0.42 on Friday. Yesterday (Monday) had the most downloads of any day over the past couple of months. It is possible that the addition of all of those theme extensions to the registry has caused a spike in extension downloads.

That said, I'm not sure the numbers add up.

@dnbard
Copy link

dnbard commented Aug 7, 2014

It is possible that the addition of all of those theme extensions to the registry has caused a spike in extension downloads.

example

Sorry, but this is not possible to increase user base by 125000 by one day. Something is wrong with the download counter.

@peterflynn
Copy link
Member

Yes, it is incorrect. @ingorichter is investigating

@ingorichter
Copy link
Contributor

I've found the issue and fixed it. Preparing a PR for it.

@ingorichter
Copy link
Contributor

This will fix this issue adobe/brackets-registry#58

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

No branches or pull requests

5 participants