GithubHelp home page GithubHelp logo

Javascript data accurate? about githut HOT 6 CLOSED

madnight avatar madnight commented on May 17, 2024
Javascript data accurate?

from githut.

Comments (6)

madnight avatar madnight commented on May 17, 2024

I think there are two reasons. One is the rise of typescript, which mostly gets it's user base from javascript. And the second thing is that I started filtering events like Pull Request from bot accounts like dependabot. There's a massive amounts of bot events in the JS world.

from githut.

derwaldgeist avatar derwaldgeist commented on May 17, 2024

It would be nice if one could see the numbers of JavaScript and TypeScript combined in the graphics somehow, as it is basically the same ecosystem.

from githut.

jamesmurdza avatar jamesmurdza commented on May 17, 2024

@madnight That makes sense. My hunch is that the change in counting method is the main difference. By other metrics, JavaScript activity is not declining that suddenly.

I guess there is no way to retroactively get trend data?

from githut.

madnight avatar madnight commented on May 17, 2024

The Problem is that I haven't yet removed all bot accounts for the whole history, because that requires quite a bit of BigQuery query volume. I think as soon as I apply it to the whole history the trend data should be correct again.

from githut.

madnight avatar madnight commented on May 17, 2024

We also have a problem with pushes regarding Python.

The following filter:

WHERE NOT LOWER(actor.login) LIKE "%bot%")

is not good enough, because there are scripted actors that generate huge amount of pushes without "bot" in their name. I updated the query again and try a new approach. Any individual actor.login (github user) can only generate 1000 pushes per quarter per language, otherwise it will not be counted for the this statistic, since we are interested in language popularity among the 99.9% user base and not in the popularity of pushes of bots and scripts.

But for this month I've used all my quota:

Error while querying the BigQuery Google API Error: Quota exceeded: Your project exceeded quota for free query bytes scanned. For more information, see https://cloud.google.com/bigquery/docs/troubleshoot-quotas

from githut.

madnight avatar madnight commented on May 17, 2024

Okay, I hade enough quota this time and was able to fix the issue.

Before:
image

After:
image

The data is now much more accurate in terms of reflecting popularity, since it does not take bots into account. As we can see JS Pull Requests have been inflated for quite some times, due to bots like dependabot.

from githut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.