-
-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
help wantedExtra attention is needed.Extra attention is needed.lang-cardIssues related to the language card.Issues related to the language card.stats-cardFeature, Enhancement, Fixes related to stats the stats card.Feature, Enhancement, Fixes related to stats the stats card.
Description
As you all might know there are various bugs/issues regarding the top languages calculation.
The problem
The main issue i see is that people often get confused by how the calculations are done.
Currently the top languages are calculated based on how much code in bytes you have in a particular language and then we choose the top languages.
This method is the main reason people are confused about the calculations, because normally users perceive how much they code in languages by how many repositories they have with that particular language.
Quirks with the current calculation method
- Confusion about the calculations. (Top Languages Card not working properly #136 (comment))
- Repositories might have vendor code or auto generated code which would make the calculations wrong. ([Top Languages] Blog repositories(xxxx.github.io) should not be counted. #153)
- If some language have exaggerated code bytes then it becomes the dominant language. (Top language card not showing Python #358 (comment))
- Users aren't satisfied with the method.
The Solution
The most straight forward solution I see is that instead of calculating how much code they have, we can calculate how many repositories they have with the languages.
Related issues
alik604, SP-XD and felipeqq2
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is needed.Extra attention is needed.lang-cardIssues related to the language card.Issues related to the language card.stats-cardFeature, Enhancement, Fixes related to stats the stats card.Feature, Enhancement, Fixes related to stats the stats card.