SAP / project-portal-for-innersource

Lists all InnerSource projects of a company in an interactive and easy to use way. Can be used as a template for implementing the "InnerSource portal" pattern by the InnerSource Commons community.
https://sap.github.io/project-portal-for-innersource/
Apache License 2.0
143 stars 71 forks source link

Score value in the `repos.json` #29

Closed 3cpt closed 3 years ago

3cpt commented 3 years ago

Hi. How do you calculate the score? I was trying to test the repository-activity-score pattern algorithm against the repos.json but I don't get the same values?

Is the data mocked, including the score?

Thanks

spier commented 3 years ago

I know that the rest of the data in repos.json is definitely mocked - especially as SAP is likely not in the business of maintaining planets :))

So I would assume that the scores in that file are mocked too.

In the crawler implementation that I started (in a separate repo) I am not calculating the mentioned repository-activity-score yet either, but rather something super simplistic as a placeholder. However you were game to help adding the real activity-score calculation to that, that would be awesome 😄

3cpt commented 3 years ago

I know that the rest of the data in repos.json is definitely mocked - especially as SAP is likely not in the business of maintaining planets :))

We never know, the sky isn't the limit anymore! 😄

In the crawler implementation that I started (in a separate repo) I am not calculating the mentioned repository-activity-score yet either, but rather something super simplistic as a placeholder. However you were game to help adding the real activity-score calculation to that, that would be awesome 😄

I saw that implementation and the comment too. My question is because I'm studying the algorithm trying to match with some real cases. I need to be sure that I found some parts in the pattern example that need to be fixed - need to open an Issue in the InnerSourceCommons patterns repo. 😅

And if I had time I will try to implement the algorithm in Ruby - nice opportunity to learn - as I'm doing to the innersource-crawler

Thanks

spier commented 3 years ago

Hehe nice, you already found all the right places.

Looking forward to see you on the InnerSourcePatterns repo then, as I am involved with that too :)