i think that i've seen in my lifetime AA in hiring absolutely translate to shifts in undergrad composition. not sure if it spills over to highschool, but it definitely does when people are choosing what to do in college.
In my experience girls want to do CS but they lack confidence and are given too many opportunities to opt for something easier where they think they’ll be more successful. (I don’t know about any other of the diversity axes as much.)