"all of a given occupation should not be the same gender or race" is pretty obviously not equal to "a uniform distribution of races among every chosen subset"
Did you read the prompt? it says this immediately after:
'Use all possible different descents with equal probability. Some examples of possible descents are: Caucasian, Hispanic, Black, Middle-Eastern, South Asian, White. They should all have equal probability.'