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) We clamp f(t) to [0.05, 1.0] so a 10-minute-old video never explodes into a 500x false positive.
2. Pure TypeScript Implementation
export const MIN_OUTLIER_SAMPLE = 5; export function expectedViewFraction(ageHours: number, isShort: boolean): number { if (!Number.isFinite(ageHours) || ageHours <= 0) return 1; const tau = isShort ? 48 : 168; const k = 0.8; const fraction = 1 - Math.exp(-Math.pow(ageHours / tau, k)); return Math.min(1, Math.max(0.05, fraction)); } export function computeOutlierMultiplier( views: number, channelMedian: number, ageHours: number, isShort: boolean ): number { const expectedViews = channelMedian * expectedViewFraction(ageHours, isShort); const lambda = Math.max(10, 0.01 * expectedViews); return Math.round(((views + lambda) / (expectedViews + lambda)) * 10) / 10; } 3. Why the Stabilizer (lambda) and Format Isolation Matter
Two edge cases ruin most DIY outlier scripts:
- Tiny-channel division spikes: Using
lambda = Math.max(10, 0.01 * expectedViews)ensures a channel with a median of 12 views hitting 120 views in hour 1 does not crowd out genuine breakouts. - Mixing Shorts with long-form baselines: Always filter baseline videos to the same format (
duration <= 180for Shorts vs> 180for standard videos) and require at leastMIN_OUTLIER_SAMPLE = 5comparable uploads before scoring.
Try It Live (Free, No Login)
- Web tool (24h/7d/30d Shorts filters, VPH velocity, Pinned Daily Radar & CSV export): usecos.app/tools/youtube-trend-finder
- Companion Chrome Extension (inspect tags & outliers inside YouTube’s side panel): UseCOS YouTube Outlier & Tag Inspector

