This is the algorithm that is used to decide which posts get surfaced on the http://levelnews.org homepage, and in what order.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

top-posts-algorithm

This is the algorithm that is used to decide which posts from the chat channels get surfaced on the http://levelnews.org homepage, and in what order. The main file is index.js and the levers being used are the freshFactor and the upvotesFactor. In the future, more factors will be introduced. We'll mainly be looking to strike a balance between freshness and popularity (and/or controversy).