Skip to content

Stats not correct? #1797

Answered by rickstaa
FoksVHox asked this question in Q&A
May 30, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@FoksVHox I think your issue is related to the confusion between commits and contributions (see #1679). You can test the data we use from the GitHub GraphQL API using the following syntax in the GraphQL explorer:

query userInfo($login: String!) {
  user(login: $login) {
    name
    login
    contributionsCollection {
      totalCommitContributions
      restrictedContributionsCount
    }
    repositoriesContributedTo(
      first: 1
      contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]
    ) {
      totalCount
    }
    pullRequests(first: 1) {
      totalCount
    }
    openIssues: issues(states: OPEN) {
      totalCount
    }
    closedIssues: issues(states: CLOSED) {
      

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rickstaa
Comment options

Answer selected by FoksVHox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants