Score the open source health of the repos

gh_score(x)

Arguments

x

Out of joining the metrics functions

Value

  • full_name: repo full name

  • warnings: A list of where this scored badly

  • score: The OS score

Details

This function will apply the following scoring metric (positive answer = 1 point, negative is 0 points):

  • has the default branch had an commit in the last 6 months

  • has the project had > 25 commits

  • does it have more than 5 unique contributors

  • the open issues have a median time from creation of <6 months

  • for the open issues, there is a median time since comment of <3 months

  • the project is more active in commits in the last half of it's existance than the first

  • the project has more contributors active in the last half of it's existance then the first