1 title: Top Packages Algorithm
3 ## Pseudo rolling average
5 Every package loses 5% of its score every day.
7 An open source package will gain 1 score for each unique download,
8 whereas a non-free package will only gain 0.1 score.
10 A package currently only gains score through downloads.
11 In the future, a package will also gain score through reviews.
13 ## Seed using a legacy heuristic
15 The scoring system was seeded (ie: the scores were initially set to) 20% of an
16 arbitrary legacy heuristic that was previously used to rank packages.
18 This legacy heuristic is as follows:
20 forum_score = views / max(years_since_creation, 2 weeks) + 80*clamp(months, 0.5, 6)
21 forum_bonus = views + posts
29 score = multiplier * (max(downloads, forum_score * 0.6) + forum_bonus)
31 As said, this legacy score is no longer used when ranking mods.
32 It was only used to provide an initial score for the rolling average,
33 which was 20% of the above value.
35 ## Transparency and Feedback
37 You can see all scores using the [scores REST API](/api/scores/).
39 Consider [suggesting improvements](https://github.com/minetest/contentdb/issues/new?assignees=&labels=Policy&template=policy.md&title=).