592194f2ca3c35f6542745ccb538ce0a8b638f7d
- Cap trending base_score at 18.0 (was unbounded — a viral channel could score 240+ vs search's 15, making everything else invisible) - Cap all discovery scores at 50.0 globally so no single signal dominates - Fix score accumulation: cap accumulated total at 50.0 (was unbounded across repeated runs, cementing high-score channels in top positions forever) - Expire unseen queue entries older than 14 days at start of each run - Add ±8 score perturbation to discovery list endpoint (was pure score DESC, identical every visit until dismissed) - Add score perturbation to discovery_videos ORDER BY too - Fix SQL injection in update_category_clusters (category strings were interpolated directly into query; now use parameterized queries per category) - Raise category signal score from 3.0 → 5.0 to compensate for trending cap Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
JavaScript
53.6%
Python
45.9%
HTML
0.2%
Dockerfile
0.2%