jjkim
commited on
Commit
·
a41567d
1
Parent(s):
f3c4092
- code_eval.py +1 -1
code_eval.py
CHANGED
@@ -217,7 +217,7 @@ class CodeEval(evaluate.Metric):
|
|
217 |
time.sleep(1)
|
218 |
|
219 |
results = {
|
220 |
-
task_id: [(r.
|
221 |
for task_id, result in results.items()
|
222 |
}
|
223 |
|
|
|
217 |
time.sleep(1)
|
218 |
|
219 |
results = {
|
220 |
+
task_id: [(r.prediction_id, r.dict(exclude={"futures"})) for r in result]
|
221 |
for task_id, result in results.items()
|
222 |
}
|
223 |
|