This is a commendable effort but I would remove all the subjective measures
from the report.
First of all, different people or organisations rate quality differently, this
is easily gamed, I can create a left-pad with plenty of tests and documentation
and get a 4, it is also very divisive.
As long as you can dump the report in csv or json, it's very easy for anyone to
create a formula that convert into a custom rating. In commandline you can use
`awk` to get formula.
So just report the presence of comments or not, the presence of tests or not,
the presence of macros or not, the presence of CI or not and let everyone build
their own formula. You can even provide a formula DSL that can be called like:
package_scanner --project_quality='doc_quality * code_quality'
--code_quality='code_comments * CI * tests' --doc_quality='doc * code_comments'
Run
Beyond @andrea packages, which were how I learned Nim, I really don't see how
you can rate zero_functional as a 2 for example.