Skip to content
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

[Impact Metric Submission]: Number of Unique Contributors per Project (Monthly, using 'GITHUB' source) #30

Open
nutkung1 opened this issue May 5, 2024 · 0 comments
Assignees
Labels
c:community Datasets and notebook templates

Comments

@nutkung1
Copy link

nutkung1 commented May 5, 2024

Number of Unique Contributors per Project (Monthly, using 'GITHUB' source)

Tags

Add one or more keywords to help us categorize your metric. Don't overthink this!

  • Optimism Superchain
  • Community Engagement
  • Developer Activity

Brief description

Describe how your impact metric is calculated in 2-3 sentences: This metric identifies projects with a larger pool of contributors on GitHub, potentially indicating broader community interest. It calculates the number of unique addresses that forked the project on GitHub

SQL code block

Insert the SQL that we should run to replicate your impact metric:

SELECT
  project_id,
  bucket_month,
  COUNT(DISTINCT from_address) AS unique_github_contributors
FROM `opensource-observer.oso.events_monthly_to_project_by_source`
WHERE event_type = 'FORKED'
  AND from_namespace = 'GITHUB'
GROUP BY project_id, bucket_month
ORDER BY project_id, bucket_month;

Optional: link

Add a link to script/notebook or longer form write-up about the metric:

@nutkung1 nutkung1 added the c:community Datasets and notebook templates label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:community Datasets and notebook templates
Projects
None yet
Development

No branches or pull requests

2 participants