You all may have a hard time believing this, but Berkeley does not require residency for enrollment in public schools. A student does not even have provide a home address when enrolling. So an awful lot of students in Berkeley schools, particularly on the South Side, are from Oakland and other districts where the schools are in terrible shape.
These students are dragging the whole system down. Meanwhile, elementary school slots are being distributed through a lottery system, so parents can find themselves having to drive past three or four schools to drop off their children in a school that is much worse than the one just around the corner from their house.
The result, of course, is that any parent with any options at all is pulling their kids out of the Berkeley public schools. Private schools are springing up all over the place, and the vacancies in the local public schools are being backfilled with students from out of town.
And the Berkeley taxpayer, of course, gets screwed.