The "best states to send your kids to school" and the "how much value are students of our state deriving from my tax contribution vs. in other states" are almost mutually exclusive, because in the second case you're deliberately averaging every student out in the whole state, good students and bad, while in the first one you're benefiting from the positive lurking variables associated with other cohorts, yet only being penalized for negative contributions of your own cohort.
The first methodology benefits from disaggregation by racial cohorts such that the reader can optimize given their particular circumstances, but the magnitude of contributory factors to that success are opaque and still averaged statewide. Most obviously, this also includes funding, where funding received by particular students -- and especially not funding sourced from parents of students in the same cohort -- are not separated out. They shouldn't have to be, as schooling is a public good, but if they aren't, then the metric doesn't accurately reflect the impact of the socioeconomic condition and proportions of the cohorts in the state, but splits them out the results solely to avoid having to consider races other than one's own.
The latter question is typically what is being studied, although pop science coverage often leaves the reader free to interpret it as the former.