Here’s how Massachusetts helped one troubled school district improve