Post
Topic
Board Meta
Merits 3 from 2 users
Topic OP
Minor trust score algorithm change
by
theymos
on 20/05/2015, 18:23:29 UTC
⭐ Merited by EcuaMobi (2) ,LoyceV (1)
The trust score numbers are now slightly different:
- The first number is the trust score.
- The second number is the number of unique users who have given that person negative feedback.
- The third number is the number of unique users who have given that person positive feedback.
- The fourth number was removed.

I also completely changed the trust score algorithm to this:
Code:
if there are no negative ratings
score = 0
for each rating, oldest to newest
if this rater has already been counted
continue
score += min(10, round_up(months since rating))
else
score = unique_positive - 2^(unique_negative)
if score >= 0
start_time = time of first negative
score = unique_positive since start_time - unique_negative since start_time
if(score < 0)
return ??? (orange)

move score to range [-9999,9999]
return score

This algorithm is a little slower than the previous one. Post here if you think you see extra slowness due to this change. Maybe I need to add extra caching to compensate.

Also post here if someone has a trust score that seems wrong.

I was going to change it so that everyone with 0 trust had orange trust, but I decided that this looked bad and changed it back.