Closed Debdeep1998 closed 1 year ago
Hi, from our experience in using CodeBLEU, it can still give reasonable scores when the code is not compilable. For details of how CodeBLEU is computed, please refer to the original paper and we would suggest to ask the original authors for these questions.
Does CodeBLEU work on generated snippets where the generated code isn't compilable? And if not then how is CodeBLEU used in evaluating CodeT5 model if the generated code by the model might not have an AST.