Huh? It’s already here in use today… They can already test an embryo for generic defects.
It is still in it’s infancy, but the technology is here. Where decode more of human DNA every day
Actual intelligence testing may not ever be possible. But in general this is going to happen.
Testing for genetic defects is very different from the Gattaca-premise of most everything about a person being genetically deterministic, with society ordered around that notion. My point was that such a setting is likely inherently impossible, since “heritability” doesn’t work like that; the most techbros can do is LARP at it, which, granted, can be very dangerous on its own – the fact that race is a social construct doesn’t preclude racism and so on. But there’s no need to get frightened by science fiction when science facts tell a different story.