The Regents math exam is required for graduation , but Mills reversed course after an estimated 63 percent of students statewide failed the exam .