Change "Featured" sidebar events to be based on view hits

RESOLVED FIXED

Status

P2
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

5 years ago
At the moment the sidebar contains events that have the "Featured" flag on them. Instead we should use a scoring ranking similar to Reddit, Hacker News, etc. where "hot" events appear in that list.

We should use a scoring algorithm that favors freshness first and view hits second. The way to do that is take the `total_hits / age` and multiply with the inverse of a "gravity factor". E.g. `total_hits / age^1.8`. What that does is that it means that freshness favors more than total_hits. Thus, even the ones with lots and lots of hits slowly drop off. 

Here's an example of calculating a score using 1.8 as a gravity factor
https://gist.github.com/peterbe/7933039

What we should do with the existing "featured" flag on events is to keep it. And what we should is basically bake that in to the scoring as a "cheat". What we could do is; if the event is marked as featured we double its hits. That would basically make it bubble up higher for a while but "die out" just like other events eventually. 

One question is remaining, shall we still headline this, in the sidebar, as "Featured Videos" or shall we install call it something like "Trending Events"?
Priority: -- → P2
I like "Trending Events"
...or maybe just "Trending".

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

4 years ago
Assignee: nobody → peterbe
You need to log in before you can comment on or make changes to this bug.