My guess is there’s a 1 to 1 relationship between parental involvement and academic success. Which proves (if one is willing to admit it) that which schools, teacher to student ratio, and spending/pupil are all irrelevant and actually an impediment to a good education.
We lived in an upper class income area and the parents who were were paying attention hired college student tutors for their children in math and science. These kids did well on SATs.
A lot of smart kids did not perform up to their ability. I know one family who figured out their seventh and eighth grade children did not know how to read! They about died.
My oldest son was not dependent upon the school for knowledge and skills. Somehow he learned on his own and through reading and discussions with me, his dad and cousin and he did extremely well on SATs. He took all the ap courses he could. I had to educate my youngest with his dad and with tutors for most of his schooling,
During the summers, public school parents made their kids read real history books because American history was missing (except in AP courses.) They did diversity, hate whitey, socialism at the school. Somehow the schools became a lesbian magnet.
The funny thing was, everyone was quiet about the school mess because they did not want to harm the reputation of the town (house values).
You have to be careful of high end private schools too because most are dumbed down liberal messes.