"... rate female and racialized professors lower than white male professors, research has shown, even when female professors are more effective in teaching"

Hmm, if you've managed to come up with an absolute measure of teaching "effectiveness," then evaluate based on that, and forget student evaluations...