The question of school quality always needs to be paired with "better at what, for who?"
Will a 99th percentile aptitude 12-year-old student who drills Math Academy calculus for 20 minutes daily know more calculus than an equally capable student who is stuck in pre-algebra? Yes, unambiguously so.
Will an average 12-year-old dropped in a high school calculus course without adequate prerequisite knowledge learn more useful math there than in pre-algebra? Very doubtful.
There is not one "school quality index" such that single schools are "best" for all students. Instead, the question should be: does this school teach the student useful material they do not know at a pace appropriate for them to learn it?
Studies like this, presupposing that exam schools are better because they are targeted towards students with high average test scores, are very bad at answering that question.