I live in a US state with high poverty, high dropout rates and generally at the wrong end of most lists.
But we have full-time self-contained gifted schooling for the top 2%-3% of students. (Actually the classes are full-time self-contained gifted, but they usually exist within a regular school, typically in a bad part of town.)
I wonder if there is a phenomenon where places with a poor reputation for education try to make up for it with solid gifted programming, whereas places seen as more educated tend to neglect gifted programming.