this post was submitted on 18 Aug 2023
25 points (100.0% liked)

Lemmy Bots and Tools

446 readers
1 users here now

Welcome to the programming.dev lemmy development community! This is a place to discuss and show off bots, tools, front ends, etc. you're making that relate to lemmy

Theres another version of this community over at lemm.ee if you want to subscribe to that one as well

Icon base by DarkZaitzev under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I hope this is allowed, if not, I'll delete the post, I just wanted to share some stats of my bot because I'm quite excited about them.


 ---------- --------- ----------- ------------------------- ------------------------- ------------------------ 
  Comments   Upvotes   Downvotes   Negative comments count   Positive comments count   Neutral comments count  
 ---------- --------- ----------- ------------------------- ------------------------- ------------------------ 
  2769       13734     426         0                         2769                      0                       
 ---------- --------- ----------- ------------------------- ------------------------- ------------------------

Note that the bots default upvote is not considered for the stats. Positive comments are those where there's more upvotes than downvotes, neutral ones are those where downvotes and upvotes are the same and negative are when the comment has more downvotes than upvotes.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 year ago (2 children)

I would suggest the logic for neutral comments be a bit broader than simply "if up==down".

If a post has 51 upvotes and 50 downvotes, it would be counted as positive. So maybe if the votes are with a certain percentage (1-5% ?).

[–] [email protected] 1 points 1 year ago

Agree, a 50%.success rate is clearly controversial.

[–] [email protected] 1 points 1 year ago

I mean, it has a positive score, that's what I'm after - would it be displayed with a positive vote count or not.

[–] [email protected] 7 points 1 year ago