tools/smaz: refactor scores out of the evaluation block