conversion for evaluating code_labels