which不是单独的,是和one连用,which one是“(前面提到的两个人中的)哪一个”。这句话的句子结构是the teacher compared A with B in order to decide…老师比较了XX和XX的学术表现,来决定推荐哪个去面试。
which 在这是疑问代词,which one to recommend for the interview 是疑问词+动词不定式,在句中起到一个名词性从句的作用,在此句中作decide 的宾语。