diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-09 04:32:13 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-09 04:32:13 +0100 |
| commit | ac7adde4b1a5af0b93c1dd38e68717c31cbcf2a1 (patch) | |
| tree | cc26639fbe2a5851321e5641970722cabcf75414 /app/flatpages | |
| parent | d0aecd0ee59663ac81733ff8087847106c7ba4cc (diff) | |
| download | cheatdb-ac7adde4b1a5af0b93c1dd38e68717c31cbcf2a1.tar.xz | |
Add score bonus to reviews
Diffstat (limited to 'app/flatpages')
| -rw-r--r-- | app/flatpages/help/top_packages.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app/flatpages/help/top_packages.md b/app/flatpages/help/top_packages.md index da3f38a..33e7d25 100644 --- a/app/flatpages/help/top_packages.md +++ b/app/flatpages/help/top_packages.md @@ -2,8 +2,12 @@ title: Top Packages Algorithm ## Score -A package's score is currently equal to a pseudo rolling average of downloads. -In the future, a package will also gain score through reviews. +A package's score is currently equal to a pseudo rolling average of downloads, +plus the sum of review scores. + +A review score is 100 if positive, -100 if negative. + + score = avg_downloads + Σ 100 * (positive ? 1 : -1) ## Pseudo rolling average of downloads @@ -35,7 +39,8 @@ which was 20% of the above value. ## Manual adjustments The admin occasionally reduces all packages by a set percentage to speed up -convergence. Convergence is when +convergence. Convergence is when the pseudo-rolling average matches the actual +rolling average - the effect of the legacy heuristic is gone. ## Transparency and Feedback |
