github-readme-stats: Language detection show languages that I've never used

Describe the bug

I think that the app detect repos that not necessary is representational, that’s why it show Lua and C for my username.

Expected behavior I expect to have different language stat, I’ve done almost none Lua and C.

Screenshots / Live demo link (paste the github-readme-stats link as markdown image)

I’ve never written any line of Lua code in my life, maybe I have fork with langauge in it.

I expect to have JavaScript, CSS, Scheme, PHP languages maybe TypeScript.

Additional context

Maybe the app should sort repos by stars so it show most faved repos which in turn will give most worked on repos.

Here is GraphQL query that show more relevant repositories (at least for me, tested in GraphQL explorer):

query {
      user(login: "jcubic") {
        # fetch only owner repos & not forks
        repositories(ownerAffiliations: OWNER, isFork: false, first: 100, orderBy:{field: STARGAZERS, direction: DESC}) {
          nodes {
            languages(first: 10, orderBy: {field: SIZE, direction: DESC}) {
              edges {
                size
                node {
                  color
                  name
                }
              }
            }
          }
        }
      }
}

Right now it show my first repo. Maybe they show up at random, that would be worst case.

Just FYI lua came from ToME game, repo that I’ve just copied from internet so it don’t get lost, it was hard to find, I’ve not written even one line of it. Maybe you should also count number of commits in repo. ToME have exactly 3 commits.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I helping the project, by reporting issues I even added solution how to make project better. This is contributing to the project. And having bot that close the issue automatically, is rude. This conversation look like this:

Me: I’ve found a bug here is how to make project better. Bot: f*ck off.

And I’m commenting about this, I’m being rude. Making bot closing your issue where I’m trying to help is also close to insult, you probably don’t realize this.

This is really great, bot closed the issue,

Yes. Apparently, there isn’t much interest in this issue.

no one even bothered to reply

Why do you feel anyone would? This is a single developer’s hobby project. It has almost 500 issues (both open and closed) and almost as many PRs. Are you really so surprised that, dispite all their hard work and effort @anuraghazra can not find time to answer every single issue and comment?

after I’ve wrote about It

What you write is closer to insult than you probably realise. I am trying to champion your cause (over in #481) but you writing here does not contribute to furthering that cause.

I’ve was asked to delete the comment

Not asked, suggested. Again, your tone and content are not doing yourself any favours…

Very Nice.

So is your complaining, self-served whining, entitlement, and rudeness.

You are using a service, provided to you at no cost without any warranties. You are free to stop using it if it disappoints you so. Or, swallow your pride, add some compassion to your tone, and make a real effort to collaborate and try to move this repo forward.

This is really great, bot closed the issue, no one even bothered to reply, and after I’ve wrote about It, I’ve was asked to delete the comment. Very Nice.