this post was submitted on 26 Mar 2024
5 points (100.0% liked)
Summit
741 readers
16 users here now
Community to discuss Summit, a Lemmy reader for Android.
App (Play Store): https://play.google.com/store/apps/details?id=com.idunnololz.summit
APK: https://github.com/idunnololz/summit-for-lemmy/releases
Patreon: https://patreon.com/SummitforLemmy
Ko-Fi: https://ko-fi.com/summitforlemmy
Website: https://summit.idunnololz.com/
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you for reporting this issue. Looks like v0.19 of Lemmy broke this. Previously Lemmy returned sort scores which made it possible for clients to order posts based on weights defined by the server. v0.19 seems to no longer return these values so the client defaults to a score of 0 for everything. This bug likely affects sorting by scaled, controversy, active and hot. I'll see if I can calculates these scores client side. If not then unfortunately these sort orders will not be supported for multi-communities going forward.
Edit: Looks like client side calculations for sorting scores is do-able. The downside is, Lemmy's ranking system updates all the time. Managing these ranking scores on the client side means the way the client sorts stuff might not always be aligned with the server however it should be close enough that it shouldn't cause issues in most cases.
This is just notes for me.
Lemmy server's calculate hot rank score (used for Hot sort order) as:
hot active score (used for Active sort order) as:
scaled score (used for Scaled sort order) as:
controversy rank (used for Controversal sort order) as: