-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Description
Is your feature request related to a problem? Please describe.
This is related to an earlier issue.
I am not quite happy with the way Top Languages are calculated (just counting the bytes).
Describe the solution you'd like
The new method is inspired by the h-index.
For a language L,
let x = byte count(currently in use) and y = number of repositories using L.
x*y = k^2
k = sqrt(xy)
Now we can use this k-metric to find the top languages and their weightage.
The higher the value of k, the more used is the language.
While this method is an improvement over both byte count and the number of repositories, it is in no way a magic wand.
Describe alternatives you've considered
None at the moment.
Additional context
I have gone through this issue mentioned in the FAQ.
P.S.: This is the first time I am trying to contribute to open source. Please point out if I make a mistake.