Spaces:
Runtime error
Runtime error
Commit
·
fb86293
1
Parent(s):
87449d6
Update bc_eval.py
Browse files- bc_eval.py +2 -2
bc_eval.py
CHANGED
@@ -146,8 +146,8 @@ class BabelCodeEval(evaluate.Metric):
|
|
146 |
for k in _QUESTION_INFO_KEYS
|
147 |
if k not in list_keys
|
148 |
}
|
149 |
-
question_info_type["test_case_ids"] = datasets.Value("string")
|
150 |
-
question_info_type["commands"] = datasets.Sequence(datasets.Value("string"))
|
151 |
question_info_type["timeouts"] = datasets.Sequence(datasets.Value("int32"))
|
152 |
|
153 |
return evaluate.MetricInfo(
|
|
|
146 |
for k in _QUESTION_INFO_KEYS
|
147 |
if k not in list_keys
|
148 |
}
|
149 |
+
question_info_type["test_case_ids"] = datasets.Sequence(datasets.Value("string"))
|
150 |
+
question_info_type["commands"] = datasets.Sequence(datasets.Sequence(datasets.Value("string")))
|
151 |
question_info_type["timeouts"] = datasets.Sequence(datasets.Value("int32"))
|
152 |
|
153 |
return evaluate.MetricInfo(
|