12
submitted 1 year ago by Yoru@lemmy.ml to c/firefox@lemmy.ml

source code is availabe here. I'd appreciate feedbacks!

you are viewing a single comment's thread
view the rest of the comments
[-] Yoru@lemmy.ml 1 points 1 year ago

I run an API request on loop until there are no posts/comments left. Then I somply add up their score. Sorry for the late response btw

[-] humanplayer2@lemmy.ml 1 points 1 year ago

Ko problem. Ok, so just the sum of all up- and downvotes. No dicounting for viral posts, etc.

[-] Yoru@lemmy.ml 1 points 1 year ago

I didn't really understand but it's basically (all upvoted) - (all downvotes)

[-] humanplayer2@lemmy.ml 1 points 1 year ago

Ok. Reddit has some really elaborate system where the first upvotes gives 1 karma, then after upvote 500 or something, each only gives 0.5 karma or something, etc.

this post was submitted on 20 Aug 2023
12 points (57.7% liked)

Firefox

18068 readers
6 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS