Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Trending Calculation Arithmetic Proposal #25

Open
sr229 opened this issue Jan 29, 2019 · 0 comments
Open

Trending Calculation Arithmetic Proposal #25

sr229 opened this issue Jan 29, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request REST Issues relating to the REST-level implementation
Milestone

Comments

@sr229
Copy link
Contributor

sr229 commented Jan 29, 2019

Since we'll be having /api/v1/mods/trending, we might as well come up with a algorithm for it:

A more possible algorithm would be:

Trending Qualification (TQ) - ( Aggregate Downloads / Average Downloads from Top 10 Mods from the past 12 hours).

Supposedly our aggregate is 1400 downloads from the most downloaded mods (excluding the candidate entry), and candidate hits 8,500. If result is not negative, and in decimal, we can directly assume that is a percentage of download traffic increase beyond regular parameters.

all in all:
1400/12 = 116.667;
8500/116.667 = 78.85% increase of download traffic compared to top 10 downloaded mods.

For a mod to qualify, they have to hit at least get 50% or more in average download traffic score to be in trending.

This is not really refined and could be changed, RFC for possible better calculation.

@sr229 sr229 added enhancement New feature or request REST Issues relating to the REST-level implementation labels Jan 29, 2019
@sr229 sr229 self-assigned this Jan 29, 2019
@sr229 sr229 added this to the Post v1 milestone Jan 29, 2019
@sr229 sr229 pinned this issue Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request REST Issues relating to the REST-level implementation
Projects
None yet
Development

No branches or pull requests

1 participant