Under Mayor Anne Hidalgo, 11 female and five male officials were appointed in 2018 to high-level roles — despite a rule that at least 40% of such positions should go to people of each gender.