One key variable that needs to be addressed in evaluating school performance is variation in the quality of the students. Some kids are more capable and more driven than others for reasons part cultural and part genetic, and the perceived quality of a school will reflect that of its students. The effects of teachers and administration are not that substantial as long as basic requirements (food/shelter/safety) are met.
Though this notion is distasteful to some, it must be addressed because otherwise, schools and teachers are going to be put on the hook for conditions that are simply outside their control.