3 ms·
While I dig the idea, it's important to note a few issues with the dataset. Take the presented data with a huge grain of salt. First, many repositories are not
by jvilk 12y ago
While I dig the idea, it's important to note a few issues with the dataset. Take the presented data with a huge grain of salt.
First, many repositories are not a single language. For example, this PHP framework is reported as a CSS project [0]. While it has more lines of CSS than PHP, it only has a single CSS file [1].
Second, GitHub has a problem with correctly identifying programming languages. For example, PrimeCoin [1] is identified as one of the most popular TypeScript repositories, but it has 0 lines of TypeScript code. Instead, it has... large localization files with the extension *.ts [2]. BitCoin used to have the same problem, but it looks like GitHub hack fixed it for that particular repository as less popular forks of BitCoin still have this issue.
It took me a few minutes to find these examples, just by examining trending repositories [4]. I'm sure there are many more. So do not be rash in drawing conclusions from this data! :)
[0] https://github.com/laravel/laravel https://github.com/laravel/laravel
[1] https://github.com/laravel/laravel/blob/master/public/css/app.css https://github.com/laravel/laravel/blob/master/public/css/ap...
[2] https://github.com/primecoin/primecoin https://github.com/primecoin/primecoin
[3] https://github.com/primecoin/primecoin/tree/master/src/qt/locale https://github.com/primecoin/primecoin/tree/master/src/qt/lo...
[4] https://github.com/trending https://github.com/trending
- abdias 12y agoI have discovered this as well. Although 100% of my own GitHub projects[1] are JavaScript, more than half appear as CSS due to the included documentation. Ideally, the project manager should be able to define the language composition in their own projects. Something GitHub should consider IMO. [1]: https://github.com/epistemex?tab=repositories https://github.com/epistemex?tab=repositories
- moe 12y agoYes, it's pretty annoying that the language detection can't be overridden. About half of the repos that I'm dealing with are mis-detected (usually as CSS or HTML due to included documentation).
- jrochkind1 12y agoI doubt many project managers would bother doing that -- what do they get out of it?
- tokenizerrr 12y agoIf I noticed a repository was classified incorrectly I'd open an issue asking the maintainer to rectify it, if it was possible. They would likely do this simply because someone asked. If not that, then simply for it to appear correctly in the searches. Why open source at all, what do they get out of it?
- semi-extrinsic 12y agoFWIW, bitbucket lets you define the language of your repos.