Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9017319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:14:35+00:00 2026-06-16T04:14:35+00:00

I have a couple systems which contain a users’ table along with some form

  • 0

I have a couple systems which contain a users’ table along with some form of karma/weight/reputation. Sometimes it’s the number of posts a user has made, sometimes it’s the number of up/down votes a user has received across all their activity on the site.

USER {
    id int
    name string
    karma int
}

How do I use these numbers to calculate that user’s “weight” or “authority”? For example, the vote of one long-time member is often worth much more than 4 votes from brand new users.

I was thinking about adding up the total points/karma/reputation of all members and then trying to come up with a 1-100 scale.

SUM(user.points) / COUNT(user.*) = average user points

Then something like

CEIL(userA.points / average user points) = their weight on an issue

However, there also needs to be a curve on the points this way as I don’t want someone with 5,000 posts/karma to out weigh 20 new users votes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:14:36+00:00Added an answer on June 16, 2026 at 4:14 am

    Mathematically, your best bet is to weight by the log of the percentile ranking of user in question. However, that is painful in SQL.

    Simpler would be to cheat and assume the mean is the same as the median (a very bad assumption statistically, but much simpler programmatically):

     SELECT 1 - log10(SELECT COUNT (*) FROM user 
     WHERE (SUM(user.points) / COUNT(user.*)) < user.points)  
     / SELECT (COUNT (*) from user))
    

    In this way, your top 10% of karma would have one and a half the impact of your average user, almost twice the impact of a noob.
    Changing the log base would scale this, obviously, where natural log (log() in mysql) would give the upper 10% 3 times as much impact as a noob, and twice the impact as average. Log2() is even more extreme. (Note: subtraction is required because the log will be negative.)

    If you want a more severe effect you might try squaring the log. (Note: squaring makes the log squared positive, so addition is appropriate here.)

    If you want a hyperprecise rule, you can go into standard deviations, but the sql gets cumbersome and slow. It all depends on how far down the rabbit hole you want to go….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a couple of java runtime environments running on my system which
I have couple questions regarding some C++ rules. Why am I able to call
I have been looking at a couple of systems (Phing, ControlTier) and have also
We have a couple of webservice systems(cxf and hibernate). The webservices are used by
I have a C# app which I want to internationalize, I want the users
I have couple of objects, In which i have defined a few custom field
I have a couple of questions. 1) Why cannot we see system tables (like
I have couple of hyperlinks on my website. What I want is to remove
I have couple of dozen pieces of data that I need to save and
I have couple of formulas and data coming from database. I want to refresh

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.