How states are reinventing what it takes to get a high school diploma