Skip to content

[Report issue] Argo Contributors leaderboard #1917

Open

Description

@jonathimer

Page

https://insights.linuxfoundation.org/project/argo/contributors?timeRange=past365days&repos=argoproj-argo-cd,argoproj_argo-cd&start=2025-05-18&end=2026-05-18&auth=success

Project

Argo

Issue Area

Contributors

Widget

Contributors leaderboard

Describe the issue

Hi, it looks like the "all activities" contributor stats are unreliable.
I believe this happens mostly because the GitHub "authored a commit" metric is wrong, but I didn't verify the other metrics so potentially there are additional metrics wrongly calculated that contribute to the wrong sum.

Currently, there are cases when users listed in the top 3 had only 3-5 merged PRs to upstream, while contributors with much more merged PRs are ranked lower. My assumption is that maybe commits inside a PR are counted instead of/in addition to merged PRs, but I may be wrong.

Steps to reproduce

You can repro this by choosing Git "Authored a commit" metric and GitHub "Authored a commit" metric individually for argoproj/argo-workflows for the last 90 days, observe that the top contributors are completely different for those 2 metrics, and cross the stats with counting the merged PRs using a GitHub UI query "is:pr author:<ANY_USER_FROM_THE_LFX_TOP_3"

Expected vs. actual behavior

Only merged PRs should count towards the commit contributions.
If there is a metric that counts commits inside a PR, I believe it should be removed.


Jira Issue: DE-954

Activity

  1. added
    needs-triage
    on May 18, 2026
  2. added
    feature
    and removed
    needs-triage
    on May 18, 2026
  3. joanagmaia commented on May 18, 2026

    @joanagmaia
    Collaborator

    Hey, thanks for opening this issue.
    You can check our documentation for more details on which contributions we consider https://insights.linuxfoundation.org/docs/introduction/contributions/

    You're assumption is correct, we count both commits in PRs and commits that were merged. You can check the distinction between them by filtering activities, either by Git or GitHub. It's in the GitHub activities that we consider commit activities as well.

    cc @jonathimer feedback on wether or not we should consider PR commits as contributions.

  4. reggie-k commented on May 19, 2026

    @reggie-k

    Hi, I am the issue author.
    I'd advocate for either removing this metric entirely (unless there is a rationale I am missing here, don't see an added value of displaying the number of commits a contributor made before their PR was merged. Does the fact the I made 10 commits on my PR and someone made just 1 commit on theirs mean I contributed more or less than them?) or at least leaving the metric out of the 'all activities' sum and displaying a UI warning next to the metric, if it must stay.

  5. reggie-k commented on Jun 3, 2026

    @reggie-k

    @joanagmaia @jonathimer What are your thoughts on the above?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions