In recent years, net migration has reversed, with hundreds of thousands of workers and their families leaving the state in search of better job opportunities elsewhere. California’s public schools, from kindergarten to high school, rank poorly on standardized tests.