Open gaoruiyang opened 1 year ago
In Code-Code/code-to-code-trans/evaluator/CodeBLEU/calc_code_bleu.py Line 40, I think 'append' maybe 'extend' so that
len(references) == len(pre_references)*len(hypothesis)
If 'append', len(references) == len(hypothesis) is correct.
Hope to hear your response soon, thx a lot.