Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Ranking is not enough centered on Perl #2

Closed
dolmen opened this issue Mar 23, 2012 · 3 comments
Closed

Ranking is not enough centered on Perl #2

dolmen opened this issue Mar 23, 2012 · 3 comments

Comments

@dolmen
Copy link
Contributor

dolmen commented Mar 23, 2012

The "About" page says: « "Github Meets CPAN" presents a list of users who have set their Github account at MetaCPAN. »
So I expect that it ranks CPAN authors accordingly to some statistics related to Perl development on GitHub.

However it doesn't seem to be the case. General Github statistics are used instead of Perl related ones.
For example, James Turnbull is ranked #17 while he has only 1 CPAN module and 0 Perl projects on GitHub.

Here are some suggestion for tweaking the ranking formula:

  • count only Perl projects (instead of all projects): Github repos for which the main language is Perl
    • watchers
    • forks
  • count only followers that are interested in Perl: either have a CPAN ID or have themselves at least one repo whose main language is Perl
  • do not count watchers who are also followers
dolmen added a commit to dolmen/www.github-meets-cpan.com that referenced this issue Mar 23, 2012
See issue metacpan#2.
Changes in the formula to make the ranking more relevant about the Perl
community:
- watchers on non-Perl repos are now ignored
- forks on non-Perl repos are now ignored
- Perl projects are counted as 1
@plu
Copy link
Contributor

plu commented Mar 24, 2012

Makes sense, I have merged your pull request, thanks :).

@y
Copy link

y commented Sep 10, 2012

This update only looks at the language that GitHub thinks is the primary language, but the Pithub API shows that there is a way to examine all languages for a repo. A few examples where this matters: GitHub frequently misidentifies XS modules as C; and if there's JavaScript included in a repo, GitHub can identify the primary language as JavaScript if it has more lines of code. To avoid this issue, all the languages for a repo should be examined to see if Perl occurs in the list and not just as the primary language.

@oalders
Copy link
Member

oalders commented Mar 16, 2022

Closing this as the outstanding issue to address is captured in #4

@oalders oalders closed this as completed Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants