aboutsummaryrefslogtreecommitdiff
path: root/app/flatpages
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-09 04:32:13 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-09 04:32:13 +0100
commitac7adde4b1a5af0b93c1dd38e68717c31cbcf2a1 (patch)
treecc26639fbe2a5851321e5641970722cabcf75414 /app/flatpages
parentd0aecd0ee59663ac81733ff8087847106c7ba4cc (diff)
downloadcheatdb-ac7adde4b1a5af0b93c1dd38e68717c31cbcf2a1.tar.xz
Add score bonus to reviews
Diffstat (limited to 'app/flatpages')
-rw-r--r--app/flatpages/help/top_packages.md11
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