She was one of the strongest voices in the school reform movement, but less than a decade ago, Diane Ravitch, a former assistant secretary of education under President George H. W. Bush, had a change of heart.