this post was submitted on 11 Jun 2023
3 points (80.0% liked)
Lemmy.ca's Main Community
2877 readers
121 users here now
Welcome to lemmy.ca's c/main!
Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.
Announcements can be found at https://lemmy.ca/c/meta
For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
"Hot" has some time-weighting, while "Top" is strictly ordered by karma
The beauty of open-source. We can view the code that does it. "Hot" is basically just a ratio of votes over time with some weighted factors involved.
Rank = ScaleFactor * sign(Score) * log(1 + abs(Score)) / (Time + 2)^Gravity
https://github.com/LemmyNet/lemmy/blob/ecc9469a02e63eab4e19093007c7ba6db0dca079/migrations/2019-03-30-212058_create_post_view/up.sql#LL8C2-L8C2