Shuffle: Making Random Feel More Human
Nov 1, 2025Ludvig Borgne (Staff Engineer) and Chidem Sahiner (Senior Product Manager)

Summary
This post details the introduction of the 'Fewer Repeats' mode for Spotify's Shuffle feature. The new system generates multiple random sequences and scores them based on how recently tracks have been played, selecting the sequence with the highest 'freshness score'. This aims to improve perceived variety and reduce repetition without altering the underlying statistical randomness. The 'Standard Shuffle' mode, using Mersenne Twister, remains available for pure randomness. Future refinements will focus on balancing freshness, artist diversity, and playlist size without impacting latency.