goreapers / gograveyard

The Go project undertaker: check go.mod dependency's health
MIT License
1 stars 0 forks source link

ratings: how to represent #14

Open powersj opened 1 year ago

powersj commented 1 year ago

Get general process working, run against some sample repos that we know are not maintained or those that are, and see what type of rating makes sense.

For example:

sspaink commented 9 months ago

@powersj how about this....

A dependency can be described with one of these three categories:

A dependency can be assigned into one of these categories based on a weighted grading system, where we define multiple checks. Each check returns a score and a weight. Like what this grading calculator does. Then you can take the percentage and organize it, maybe something like this (random ranges):

Then depending on how many zombie and dead dependencies your project has, the project then can get an overall rating. Not sure what, something that tells the user that your go mod file has become a graveyard. Maybe this can just be the percentage of zombie and dead?

I think it could be easy to make icons to represent each category. Then you can tell at a quick glance the health of a project.

icon related ideas:

Watcha think? :ghost:

powersj commented 9 months ago

Sorry this took me so long to go through.

Watcha think? 👻

I think this all sounds amazing and is what we were after when we started this. We can fine tune the definitions or ranges as we get more data and compare it to other known repos.