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

  • humanplayer2@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    How do you tally it? I’ve seen lots of discussions about guesses about how the reddit system works.

    • Yoru@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      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

        • Yoru@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

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

          • humanplayer2@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            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.