1. Tech is lowest on the totem pole in middle and high school. Nerds are bullied, ostracized, and generally considered uncool.
2. Girls in school are more susceptible to social pressure than boys.
I think 1) and 2) together reliably explain why there aren't many women in the tech industry. It's not the industry's bias, it's society's bias. So the correct steps (in my opinion) would be
1. Stop glorifying sports and start glorifying tech more. The math olympiad team at high schools should be lionized more than the football team.
2. There is no step 2)