There being more male construction workers doesn't make it a sexist system.
There being more female teachers doesn't make it a sexist system.
There being more asian doctors doesn't make it a racist system.
Let people do what they want to do, you can look at demographics but stop trying to read racist tea leaves with it.
If it doesn't, you have an issue. The only way to know for sure is to measure.
E: To be clear, assuming equally qualified candidates, you would want expect hiring proportions to match the same A:B ratio as you get from applications.
No, I wouldn't expect this at all as I do not expect the height distribution of basketball player to reflect the height distribution of the general population. As I do not expect the personality trait distribution of pop stars to be the same of programmers, and again I do not expect the latter to be similar to the general population. Personal inclination, innate intelligence, talent, conscientiousness, and of course demographics, parenting, generational wealth all play a role.
Skin color is not an advantage when programming. It is also a characteristic by which it is illegal to hire a programmer.
That can be measured (imperfectly, but well enough), by filtering only for qualified candidates and then comparing the rate at which both A and B are hired and the rate at which they appear in the filtered list. E: This of course requires the filtering to be done _only_ with knowledge of a candidates skills/accomplishments, and association with demographics (including name, location, etc.) to be done only after the sorting.
If you also collect demographics of applicants, it may tell a different story.
If your employee demographics look skewed, but they're consistent with applicant demographics, you have an easy out when accused of ism.
Of course, if you collect the information, you might also use it for ism purposes. Or you might just lose or discourage applications from non-favored people. It's hard to show.
(It also doesn't help that the federal categories feel poorly chosen and ill-defined)
Are you sure? There being more male programmers is widely used as evidence that it's a sexist system.
How about the mostly male homeless population that live on the streets?
If females don't want to go into programming then don't make them.
There are really good female programmers, but males tend to be more frequent.
We all have different traits that make us good at different things, that's the beautiful thing about humans.
But if there is something to address, address the pain points specifically and directly.
Don't try to guess a "correct" ratio and work backwards with affirmative action (denying one race to boost up another).
For all you know the current ratio is the realistic ratio and where we should be.
In reality, the proportion of women in STEM directly matches the proportion of women in STEM majors, which directly matches proportion of women who say they're interested in STEM.
Maybe institutions can afford to leave sexual orientation out of it until you’re talking about a body of people that is firmly within the age of consent threshold or has at least hit puberty. A lawyer might disagree but for him the remedy is to bend him over and remove the stick from his ass.
For instance, if you see that applicants that are otherwise equally qualified are getting rejected on recruiter screen disproportionally by race, you may have an issue with how your screening is done. And yes, this happens: https://eml.berkeley.edu//~crwalters/papers/randres.pdf
A reasonable goal is that race, gender, and sexual orientation should have no bearing at all on how likely it is that you get hired, promoted, or fired. So these inputs are typically blinded to hiring managers but available to HR in aggregate to let them perform these kinds of analyses.
I'll acknowledge this approach leads to some very odd interactions, like my school district asking what the sexual orientation of my five year old is. But it's not clear how else one can build a credible gauge for measuring and eliminating *isms from a system. (Open to hearing ideas!)