Of course taking this into account cannot completely eliminate selection bias, and the sample size either way is probably too small to be all that meaningful. It sounds like the attitude of her manager towards the incompetent developer is actually the most significant point here: this incompetent developer is being retained and in fact praised by her manager for diversity despite the obvious issues. Does the manager treat incompetent male developers the same way? The implication of the post is clearly "no", but again selection bias is possible.