Closed Bug 949623 Opened 11 years ago Closed 10 years ago

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

Categories

(Webtools Graveyard :: Air Mozilla, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

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".
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: nobody → peterbe
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.