Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Improve language statistics accuracy. - #37

Open
naitikmalaviya wants to merge 7 commits into
teoxoy:masterfrom
naitikmalaviya:improve-language-stats
Open

Improve language statistics accuracy. #37
naitikmalaviya wants to merge 7 commits into
teoxoy:masterfrom
naitikmalaviya:improve-language-stats

Conversation

@naitikmalaviya

Copy link
Copy Markdown

Before: Only repositories created by the user were considered, which left out contributions in other repos. Plus, the repo's whole language size was considered as the user's contribution, which can show inaccurate results in many cases.

Now: The user's commit ratio (user's contribution / repo's total contribution) is calculated for each repo and is used as a weight in the final calculation. It also considers all contributions and not only contributions in repos owned by the user. (Run workflow with debugging on to see each repo's calculated weights)

Other smaller changes:

  • Updated targeted JS version in tsconfig
  • Added workflow_dispatch in test.yml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant