One thing I have noticed is that male engineers are intrinsically motivated but female engineers, even highly capable ones, are extrinsically motivated.
So you find very few female engineers in open source projects, under 3% by some estimates, although the percentage of female professional software engineers is much higher. Clearly this is not due to discrimination —- github doesn’t ask you your gender. So there must be some other explanation. When someone is intrinsically motivated (i.e., not motivated by salary alone) they are likely to be a better employee.