The problem is with the one who failed the class. What do we know about her? We know that she either was too lazy to pass the class--implying she doesn't hustle--or she is simply unable to pass the class, implying she isn't qualified.
Combine this with the current political climate, in which a company looks like its trying to solve problems if it employs more women; and the fact that women joining male-dominated fields tends to cause a reduction in wages in those fields, and the fact that this seemingly unqualified and/or non-hustling woman was hired while many men were not, and its suggestive of a gender bias.
That is not to say the other women who were hired aren't qualified or don't deserve those jobs. Merely that there may exist a gender bias which is problematic in that it is focusing a particular outcome (equality of gender) at the expense of economic sense and efficiency; not to mention the personal expense of the qualified men and also at the expense of the unqualified woman who, if such a bias exists, is really being exploited.
Doubt that explains it.
I went through a large software development course, about 70 people. 60-40 male-female. Was a positive experience. The women all landed jobs instantly. As in, the day the camp ended, they all had jobs. The men, mostly, did not. It took months and multiple interviews for the men to get hired.
The demand for female developers is higher than the demand for male developers. (not that the demand for male developers is low). This doesn't particularly bother me, but it does appear to be a thing.
The way I look at it, most of the personal attributes that get you an entry-level job will end up having nothing to do with how well you will perform in that job. Gender is just another one of those.
No amount of hustle puts a candidate that failed a 'boot camp' above one that passed in a merit-based evaluation.
I promise, there wasn't any sexism involved.