A recent study provides evidence that:
among similarly qualified female students — those who are physically attractive earn better grades than others. For male students, there is no significant relationship between attractiveness and grades. And the results hold true whether the faculty member is a man or a woman.
The attractiveness gap disappears in online courses. And would presumably do so in an effective anonymous marking regime as well.