italia / publiccode-crawler

publiccode.yml crawler for the Open Source software catalog of Developers Italia
GNU Affero General Public License v3.0
28 stars 52 forks source link

Flat vitality index #336

Open lorello opened 1 year ago

lorello commented 1 year ago

Hi, as Openconent we have different projects published in developers italia, one of which has a flat line as vitality index. It's quite strange because is our most active repository: 5 people working on it daily (15 total authors), many releases each weeks.

The project is:

https://developers.italia.it/it/software/opencontent-stanza-del-cittadino-core-410a6e

The flat line:

image

A basic stat from gitlab: image

If I check another project with just 1 active developer, I see an higher vitality index:

https://developers.italia.it/it/software/opencontent-opensegnalazioni-bd5f42

Vitality: image

The same stat from gitlab: image

Is there something wrong with our repositories or is that flatline normal?

I checked the logs of the crawler using the API of developers italia, but they don't give information about the vitality parameters used the produce the index.

lorello commented 1 year ago

@bfabio check me please

bfabio commented 1 year ago

Something fishy is definitely going on, I don't think it's your repo though

bfabio commented 1 year ago

Tried to experiment locally but the calculation was correct, turns out the crawler cache in the deployment's volume was stale, probably someway triggered by the rename.

The vitality looks more plausible now:

image

Keeping this open to hunt for the root cause.