this post was submitted on 03 Dec 2025
10 points (91.7% liked)

Voyager

7644 readers
14 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! ๐Ÿ‘‡

Number of sponsors badge

๐Ÿ’™

founded 2 years ago
MODERATORS
 

Using this post as an example. But I've noticed this on many other posts as well.

It has 12 upvotes. When I view the post using PieFed on Voyager with Display Votes set to Total, it shows 30 votes. When I set Display Votes to Separate it shows 12 upvotes.

This only affects PieFed on Voyager. Using Lemmy on Voyager it displays the correct number of votes regardless of the Display Votes setting.

I'm using Voyager 2.41.0 on Android, but when I open the vger.to link in the browser it also shows 30 votes instead of 12.

all 10 comments
sorted by: hot top controversial new old
[โ€“] aeharding@vger.social 3 points 2 weeks ago (1 children)

I have a new beta out that should fix this! Thanks for reporting.

[โ€“] squirrel@piefed.zip 2 points 2 weeks ago

Thank you :)

[โ€“] aeharding@vger.social 3 points 2 weeks ago (2 children)

I just checked, and the post score is 30, but the upvotes is 12 and downvotes is 0 from the api ๐Ÿค”

@wjs018@piefed.social any ideas why this would be happening?

[โ€“] rimu@piefed.social 3 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Score is not just upvotes minus downvotes.

The first 10 votes increase the score by much more than usual. Then the 20 after that are still worth more but not quite as much. Then the next 30 are worth only a little more than usual. After that 1 vote increases the score by 1. Lemmy does something like this too although they might be showing a simple upvote - downvote = score in their API.

The upshot of this is the 'Hot' sort surfaces new content quicker, resulting in a more interesting timeline.

The degree of early-vote amplification can be tuned by the instance admin but I have had zero questions about how to do this so I doubt anyone has played with it.

@wjs018@piefed.social

[โ€“] wjs018@piefed.social 3 points 2 weeks ago (1 children)

That explains a lot. I completely forgot about the spiciness factors. I just saw effect in the code and thought it was the instance vote weighting.

[โ€“] rimu@piefed.social 3 points 2 weeks ago

Fair enough. I always appreciate your help with handling these kinds of questions, it's getting waay too much for one person!

[โ€“] aeharding@vger.social 2 points 2 weeks ago

Thanks, this helps a lot! Iโ€™ll switch Voyager to use upvotes - downvotes

[โ€“] wjs018@piefed.social 2 points 2 weeks ago (1 children)

My guess is deleted/banned accounts, but I don't really have a way to confirm that. Even using my admin powers, I still only see the 12 upvotes and 0 downvotes, and none of those have a vote weight different than 1.

I have been digging into the code, trying to look at where the post.score is updated, which has led me to suspect it is deleted accounts (for whatever reason). When a vote happens, the vote is recorded in a table in the database, and the post score is adjusted based on the vote weight based on the voter's instance (in practice, this is basically always 1). However, when a user is banned/deleted, the votes recorded in the votes table are removed, but the post score is not adjusted accordingly to account for the now-deleted votes. The score just stays that number saved in the post table of the db.

@rimu@piefed.social - do you have any more insight? I was trying to think of the possibility of duplicate vote actions both contributing to the score, but I don't think that should happen. I can't really think of what else could make the score so out of line with the votes.

[โ€“] aeharding@vger.social 1 points 2 weeks ago

Thanks for checking! It makes sense what piefed is doing now and I have a new beta release that should fix this.