Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

« Back to help center

Answer scoring and ordering

Overview

On Codidact, answers to questions are sorted by their scores, so that you'll see the best-received answers first. Each answer has a score based on a ratio of upvotes to total votes, weighted to favor posts with fewer downvotes. For example, a post with seven upvotes will be shown higher than a post with nine upvotes and two downvotes. This method gives a slight boost to contributions that are consistently viewed positively over more controversial answers that gather both upvotes and downvotes.

Calculations Used

The actual score of a particular post is calculated as

(upvote_count + z^2/2)/(upvote_count + downvote_count + z^2)

This uses a modified form of a Wilson Score, assuming a binomial distribution. By default the weighting constant z is two, but each community can change this to another value as they see fit. Several charts and graphs showing the default weighting distribution are shown below.

table of scores with the values for all upvote and downvote combinations from one to ten lines in a cartesian coordinate plane sloping from upper left to lower right and converging as z increases

Diagram showing the distribution in scores where upvotes less downvotes = 3 for different values of z

a 3D diagram showing the score distribution for upvotes and downvotes

This table shows the scores for each combination of upvotes and downvotes where z = 2.

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate