LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.13k stars 867 forks source link

[Bug]: Scaled sort only shows posts created in last hour #4608

Open Nutomic opened 5 months ago

Nutomic commented 5 months ago

Requirements

Summary

Effectively it works as another "new" sort, instead of fulfilling the stated goal of showing popular posts from smaller communities. It seems the algorithm needs some adjustment.

See https://lemmy.ml/?dataType=Post&listingType=All&sort=Scaled

cc @dessalines @dullbananas

Version

0.19.3

dullbananas commented 5 months ago

The scheduled task to update scaled ranks should also be looled at

dessalines commented 5 months ago

I think its working as intended, bc when I change the filter to Local, it did find many posts older than an hour.

You're not going to see many older posts with Scaled + All, because there's so many small communities with new posts that its giving a boost to.

Die4Ever commented 5 months ago

I do think Scaled is pretty good for the Subscribed feed, I use that as my default. Although I do think it could favor new posts a little less, and maybe Hot could use the same tweak

Somewhat related issue https://github.com/LemmyNet/lemmy/issues/4471

dullbananas commented 5 months ago

There's a small chance that this happens because the batches for updating the ranks use published instead of id, and a newly inserted post is only guaranteed to be the most recently published post if it's local.