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

add: libin diagram first iteration #2541

Merged
merged 14 commits into from
Dec 3, 2024
Merged

add: libin diagram first iteration #2541

merged 14 commits into from
Dec 3, 2024

Conversation

Jabolol
Copy link
Contributor

@Jabolol Jabolol commented Nov 27, 2024

This PR closes #837 by adding a libin diagram metric. It divides contributors into full_time_contributors, first_time_contributors, part_time_contributors and churned_contributors. Then, it computes the count of developers transitioning from one field to another, e.g. churned to full-time, for a monthly window.

Still WIP, needs triage, cc @ravenac95

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kariba-network ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 6:23am
oso-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 6:23am

Copy link

@oso-prs oso-prs bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved! please merge responsibly 😄

@oso-prs
Copy link

oso-prs bot commented Nov 27, 2024

Test deployment unnecessary, no dbt files have been changed.

and events.bucket_day = @metrics_end('DATE')
and events.from_artifact_id not in (
select distinct from_artifact_id
from metrics.events_daily_to_artifact
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this would work pretty well! Not sure how well it would perform but if in my testing it doesn't perform well i'll try to do a join against the first_of_event_from_artifact table.

@ravenac95 ravenac95 force-pushed the jabolol/libin-diagram branch from c1f82b2 to c7c35d5 Compare December 2, 2024 14:19
@ravenac95
Copy link
Member

I'm going to remove the libin.sql file here and then merge all this in the morning! While also continuing to QA all of this.

@ravenac95 ravenac95 marked this pull request as ready for review December 3, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

“Libin diagram” Contribution Flows
2 participants