Maybe they're borderline sexist, but not enough where you can pin anything on them. Some people in the office will avoid that team or part of the office.
Maybe they're borderline reverse-sexist, where you disagreeing with them means you're obviously sexist.
That describes two people I've worked with who were fired. It really lowered team and office morale that they were around. I suppose I bonded with my coworkers over our bad experiences, but I think everyone else would've been happier and more productive without these toxic coworkers.
My point is about team and company dynamics. If someone seems off enough to their potential teawhy take that chance? There are plenty of good candidates out there and the cost of getting rid of a bad employee far exceeds the cost of deleting finding a good one.
I don't care about a candidate's gender, race or whatever else. I care how they'd get along with who they work with, which plays a large part in how we'll be productive together, or get in each other's way.
I do think that measuring individual competence is important for software too. Gauging collaborative ability is still important though.