Regarding downloads : I think that we should not count the total number of downloads which will in general favor older libraries versus "trending ones".
A suggestion to improve that: every month, run a cron that count the number of downloads this month, then update popularity with popularity = (max(downloads-this-month,popularity) + downloads-this-month) * 0.5.
Regarding downloads : I think that we should not count the total number of downloads which will in general favor older libraries versus "trending ones".
A suggestion to improve that: every month, run a cron that count the number of downloads this month, then update popularity with
popularity = (max(downloads-this-month,popularity) + downloads-this-month) * 0.5
.