-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do the contribution circle calculated? #42
Comments
Hi dukechain2333. Thanks for visiting my repository. What this chart represents is which languages your commits over the past year have contributed to. Each commit has a target repository. Each commit is calculated as a contribution to the primary language of the target repository. This information is retrieved via GitHub's GraphQL API. The query is as follows:
Results are as follows (public only): {
"data": {
"user": {
"contributionsCollection": {
"commitContributionsByRepository": [
{
"repository": {
"nameWithOwner": "enligencelab/enligencelab.github.io",
"primaryLanguage": {
"name": "HTML"
}
},
"contributions": {
"totalCount": 224
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/dukechain2333",
"primaryLanguage": null
},
"contributions": {
"totalCount": 179
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/BigData-Develop-Course",
"primaryLanguage": {
"name": "Scala"
}
},
"contributions": {
"totalCount": 4
}
},
{
"repository": {
"nameWithOwner": "enligencelab/.github",
"primaryLanguage": null
},
"contributions": {
"totalCount": 3
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/IBM-Data-Science-Certificate-Capstone",
"primaryLanguage": {
"name": "Jupyter Notebook"
}
},
"contributions": {
"totalCount": 3
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/BigData-Develop-Course-ShortPeriod",
"primaryLanguage": {
"name": "Scala"
}
},
"contributions": {
"totalCount": 3
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/TranslHero",
"primaryLanguage": {
"name": "Python"
}
},
"contributions": {
"totalCount": 3
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/EasyVocab",
"primaryLanguage": {
"name": "HTML"
}
},
"contributions": {
"totalCount": 3
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/HBase-Develop-Course",
"primaryLanguage": {
"name": "Java"
}
},
"contributions": {
"totalCount": 2
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/OperationDash",
"primaryLanguage": {
"name": "Python"
}
},
"contributions": {
"totalCount": 1
}
},
{
"repository": {
"nameWithOwner": "dukechain2333/BaiduTranslate-Terminal",
"primaryLanguage": {
"name": "Python"
}
},
"contributions": {
"totalCount": 1
}
},
{
"repository": {
"nameWithOwner": "liyupi/rubbish-yingxiaohao",
"primaryLanguage": {
"name": "JavaScript"
}
},
"contributions": {
"totalCount": 1
}
}
]
}
}
}
}
|
That helps a lot. Thank you |
Hi
I am not a front-end guy so I was really surprised when I see my circle here. Most of my repos are for Python and Jupyter-notebook. I really have no idea why the
other
part andhtml
part took so much space.Could you shed some light on how those contributions are calculated?
Thanks a lot!
The text was updated successfully, but these errors were encountered: