State schools chief race a heated contest