jjkim commited on
Commit
fe7364e
1 Parent(s): e74e764
Files changed (1) hide show
  1. code_eval.py +1 -1
code_eval.py CHANGED
@@ -199,7 +199,7 @@ class CodeEval(evaluate.Metric):
199
 
200
  for result in results.values():
201
  new_result = []
202
- for completion_id, group in itertools.groupby(results, key=lambda x: x[0]):
203
  group = list(group)
204
  new_result.append(
205
  dict(
 
199
 
200
  for result in results.values():
201
  new_result = []
202
+ for completion_id, group in itertools.groupby(result, key=lambda x: x[0]):
203
  group = list(group)
204
  new_result.append(
205
  dict(