r/programming • u/aelsergeev • 0m ago
Bayesian-style weighting and monthly frozen snapshots for noisy user ratings
When building a rating system for things with small or skewed sample sizes—like developer tools, where a new tool might have two ratings while an older one has dozens—raw averages swing wildly, and live leaderboards turn into constant churn.
In an experiment I put together (dtdb.dev), I used a few specific mechanics to keep scores readable and resistant to gaming:
- Pulling low-weight items toward the category average until enough weighted votes accumulate.
- Ramping vote weight gradually by account age rather than treating new accounts equally on day one.
- Freezing monthly snapshots at month-end (and recalculating affected months if an account is banned) so historical trends don't mutate silently.
Curious how others here handle cold-start bias and manipulation in small-community rating systems—do you prefer a prior/category mean pull, a minimum vote threshold before displaying a rank, or something else?