Refactor accuracy experiment.