Menu

Building an Age-Decay YouTube Outlier Score in TypeScript (Weibull Model)
📰

Building an Age-Decay YouTube Outlier Score in TypeScript (Weibull Model)

DEV Community: webdev·UseCOS Research & Engineering·about 6 hours ago
#PcOaGPWr
#devtowebdev#devto#dev#youtube#views
Long article (485 words) — no AI summary yet.
Reading 0:00
15s threshold

A naive YouTube outlier score divides a video’s views by its channel’s median views ( views / channelMedian ). That works for 30-day-old videos—but it breaks for fresh uploads. A Short uploaded 4 hours ago with 40,000 views on a 50,000-median channel looks like a 0.8x underperformer, even though it is on pace to become a 5x+ breakout within 48 hours.

When building the free UseCOS YouTube Shorts & Outlier Finder , we replaced the naive ratio with a Weibull age-decay normalization curve and a small-channel stabilizer ( lambda ) in pure TypeScript.

1. Modeling Cumulative View Accumulation

Shorts and long-form YouTube videos accumulate views on very different half-lives:

YouTube Shorts (<= 180s): rapid swipe-feed burst with characteristic time tau = 48 hours .

Long-form videos: browse/search tail with tau = 168 hours (7 days).

With shape parameter k = 0.8 , the expected fraction of baseline views accumulated by upload age t (in hours) is:

f(t) = 1 - exp(-(t / tau)^0.8)

Enter fullscreen mode

Exit…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.