How do they do it?

I am curious how they fairly do the cut at first. Just test scores, grade, or something else