DEV Community

Banjo Obayomi
Banjo Obayomi

Posted on

1

Ideal GitHub Pull Request Labels?

Im currently working on a GitHub bot that uses a machine learning model that can read info from a pull request (via graphql) and automatically tag the PRs with labels like author_confidence (high/low), pr_complexity (high/low), stackoverflow_tag (python , aws, etc...)

What other types of label information would add value to a PR?

Top comments (2)

Collapse
 
kerldev profile image
Kyle Jones

Not sure I like the idea of the author_confidence one... How would ML predict how confident I am in my PR? Or is it confidence in myself overall? If so, this raises all kinds of ethical questions about algorithms scoring people and inherently biasing a system against them.

A tag that denotes what the PR is doing maybe? Bugfix, feature, documentation, tests etc?
Whether the PR is a duplicate of a similar PR maybe?

Collapse
 
banjtheman profile image
Banjo Obayomi

The author confidence is score is calculated based on the author's interaction with the community
ie. if they post many comments, have submitted other PRS, have they been asked to review prs, etc..

High confidence = I trust this author to make a PR that makes sense because of community interaction
Low confidence = Im weary of this PR because author is not known to community

I like the idea of what the "PR is doing"

our stackoverflow tags simulate that on a more granular level as it matches the code in the PR and predicts what label it would fall under if we pasted the code in stackoverflow.

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay