This is also funding related. Yes, it takes time to turn things around and there needs to be oversight. No, withholding funds from failing schools wont' work. It's like beating people until they are happy.
Funding’s an easy target because it’s straightforward to fix, but we could even all that out (though, careful, or some struggling schools will lose funding if you simply level out who gets what) and the effect would be minimal.
Unfortunately, effective approaches to making real progress on that have little to do with schools at all. Stronger social safety nets and support, stronger worker protections, justice system reform, that kind of stuff. Hard stuff, where we lag behind much of the rest of the OECD and closing that gap at all is controversial. And many of the measures might take years and years to show up in improved test scores or what have you.
It costs a lot more to build a new school or maintain an existing one in The Bay than in Fresno.
It also costs more for teachers since the cost of living is so much higher.
(the money required to maintain the school building) + (a wage thats similar to the wages for other teachers in the state, with cost of living factored in) * (the best teacher to student ratio achievable across the state) * (student count at the school)
What you are ignoring is that educational spending imbalance comes from private voluntary educational spending (enrichment programs, camps, PTA), not public mandatory spending.
This is why the only way to successfully reduce inequality in the education system is to reduce inequality in society at large.
We have to defy rich people's preferences to do that, but that is entirely possible.
That does include several of the school districts in the SF Bay Area, but the vast majority of the state is already under a state funding formula based on attendance and additions for certain types of needs.
Other states have different situations. Washington state is largely funded locally, with unfunded mandates set by the state; and many of the districts have issues with unbalanced budgets in recent years.