Most Used Lang
Showing Wrong Output
#3705
-
Describe the bugFirst, I am pretty sure that I use more JavaScript than CSS, and my reading shows that I use more CSS, HTML, and C# than JS. Even if it might occur due to my dotfile, how is it less than HTML? I mostly have JS repos, and my website has 6 versions, and I don't even have a proper repo with HTML. I don't even get the option to sort by html on my repo tab. Second, it doesn't even show my C++ language. I have 2 repositories of C++ languages: 1 is archived and one is running. It is not even showing C++, not matter what. The excluded languages works fine Expected behaviorNo response Screenshots / Live demo linkAdditional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Languages calculation algorithmBy default we calculate languages percentages by files size in bytes. There is also ability to calculate languages percentages by count of repositories where the particular language is used. Also you can combine there two options. You can customize how languages algorithm works with DeploymentI see that currently you are using ExamplesOfficial deployment, percentages by bytes count. <img src="https://github-readme-stats.vercel.app/api/top-langs/?username=bigbeastishank&theme=dark&hide_border=false&hide=shell,hlsl,shaderlab,glsl,qml,lua&langs_count=20" /> Official deployment, percentages by repositories count. <img src="https://github-readme-stats.vercel.app/api/top-langs/?username=bigbeastishank&theme=dark&hide_border=false&hide=shell,hlsl,shaderlab,glsl,qml,lua&langs_count=20&size_weight=0&count_weight=1" /> |
Beta Was this translation helpful? Give feedback.
Looks like you misunderstanding how percentages works. I will try to explain on example.
Image that you have 10 repositories and 1 of them contains Javascript code. At this moment you have 1 / 10 * 100 = 10% of your total repositories containing Javascript.
On next step we delete two random repositories, but not the one which contain Javascript. At this moment you have 1 / 8 * 100 = 12,5% of your total repositories containing Javascript.
Count of repositories with Javascript code still same but it takes more percentages s…