im doing an IA on how spotify shuffle works
but first Im beginning but showing how a true random shuffle would work (spotify isnt true random)
https://ibb.co/zVqtfc1Z
is there any obvious mistakes in my math?
im doing an IA on how spotify shuffle works
but first Im beginning but showing how a true random shuffle would work (spotify isnt true random)
https://ibb.co/zVqtfc1Z
is there any obvious mistakes in my math?
Are you sure you have smart shuffle turned off
even turned off spotify shuffle is based on recent activity and not actual randomness
spotify shuffle (even the normal) is percieved randomness
https://engineering.atspotify.com/2025/11/shuffle-making-random-feel-more-human
Also ya ur math is wrong, cuz ur using shuffle and not skip, collisions can happen, so 100/717 is wrong
the wording isnt clear i think
i mean like my playlist is 717 songs
and i shuffled 100 (assuming true random shuffle)
whats the chance of each song appearing in those 100
6/7 chance
What did you just say-
No, that’s assuming every song that gets played can’t repeat
If you shuffle 100 times, you’re bound to get the same song twice, so the probability for getting any given song isn’t 100/717 because 100 unique songs aren’t played.
Oh
How would I fix it to account for repeats
Just turn it off and on again
There you go, true shuffle
I just did more work than all the spotify developers
its a school project lol
Weren't you a math tutor 81wntr
Or is that side hustle
I tutor the Math AI sl ppl /myp ppl
That’s a lower level course
Appreciate the hustle for bag
the last line assumes you are choosing with replacement i.e. you can get the same song twice in a row
well in a truly random (not perceived random) set
you should be able to get the same song twice no?
i'm just saying that your math assumes the chance of getting the same song twice in a row ~ my idea of a playlist shuffle is that it plays all 717 songs in a predetermined order one-by-one
oh i c
thats how it actually works (which ill attempt to explain later in the paper)
this is just a theoretical assuming songs are randomly picked from a pile each time
your formula will use a lot of choose functions and a lot of factorials then
i c
thanks for the feedback
I’m not sure how Spotify works, but your work allows the same song to be played twice
spotify is perceived randomness
https://engineering.atspotify.com/2025/11/shuffle-making-random-feel-more-human
it isnt random at all it just pretends to b
Is bro referring to quantum randomness
i believe we're expected all outcomes to be equally likely so yes we'd need quantum randomness as opposed to pseudorandomness
kinda
this is a theory
it isnt supposed to be applicable to a real platform (cus ppl would hate it)
P = k!(n-r)!/n!(k-r)!
https://ibb.co/SDVwf3V1
1−(717/716)^100≈0.131
is ts a more accurate 1 for the shuffle example?
it depends
if you reshuffle after every song, yes
if you don't reshuffle after every song, no
i am reshuffling yeah
then yes that is the correct equation
yes
Yippee
Someone correct me if I'm wrong but for a specific song, you could just model this as a binomial distribution and taking n as the number of songs played, p=1/(total songs in playlist). Since songs can be played more than once you want the probability P(X>0) which is 1-(1-p)^n in your example that'd be:
1 - (1-1/717)^(100) ≈ 0.13