However, you are mostly rated on how much you know, how confident you are and your social skills. So if you did really well in the pre clinical years and are not socially inept then you’ll probably get good evaluations.
But it’s a marathon. It’s an unbelievable amount of information you have to memorize and in the beginning it’s hard to stay motivated when you can’t see it’s direct relevance.
So overall I’d say it’s fairly meritocratic. If you can memorize things well and are social then you’ll do well barring any exceptional circumstances.