nirhasabnis / gitrank

GitRank: A framework to rank open-source repositories on quality, maintainability, and popularity metrics
MIT License
11 stars 3 forks source link

What's the purpose of this OSS Metric Model? #1

Open fredgan opened 2 years ago

fredgan commented 2 years ago

Hi,I am very interested in this OSS Metric Model.

In fact, I researched many models, such as SLSA、OpenSSF Scorecard、Libraries.io SourceRank etc.

I'd like to know, what's this purpose of this model? Why these three(Quality/Maintainability/Popularity) dimensions are selected and others(Such as Security/Lifecycle/Compilance... ) are ignored? And, why Quality just only contains five rules?

nirhasabnis commented 2 years ago

Hi @fredgan,

First of all, thanks for interest in the project. The purpose of this framework is to provide support typical and standard source-code metrics to compare code repositories (open-source or close-source). The idea is that the ranked repositories provide easier way to select repositories to train code-related AI models. Note that I am not developing a new model as such, I am using existing and known metrics.

Great point about other dimensions such as security etc - some of those are covered under quality (e.g., security). But yes, the framework can be extended to support new dimensions (let me know if you would like to help with the extension.) Overall, I am planning to extend framework with other metrics as well.

P.S. Paper for GitRank can be found here.

Cheers, nirhasabnis