Well, seeing as how you deleted the link while I was typing, I'll paste it down here for you so that you can get some more insight.
A few factors, but not an exclusive listing:
It gets more involved than that, but that's the basic nutshell version.
For examples of 9/10 that failed to get the promotion, I can just look at last season's offerings.