add precision and recall computation for type and labels candidate