Spaces:
Runtime error
Runtime error
Commit
·
c2da054
1
Parent(s):
0a274eb
Update bc_eval.py
Browse files- bc_eval.py +1 -1
bc_eval.py
CHANGED
|
@@ -85,7 +85,7 @@ _QUESTION_INFO_KEYS = {
|
|
| 85 |
|
| 86 |
def make_file_and_command(qid, idx, pred, question, working_dir, timeout_override=None):
|
| 87 |
file_name = f"pred.{question['extension']}"
|
| 88 |
-
pred_dir = working_dir.joinpath(idx)
|
| 89 |
pred_dir.mkdir(parents=True)
|
| 90 |
pred_file = pred_dir.joinpath(file_name)
|
| 91 |
with pred_file.open("w",encoding='utf-8') as f:
|
|
|
|
| 85 |
|
| 86 |
def make_file_and_command(qid, idx, pred, question, working_dir, timeout_override=None):
|
| 87 |
file_name = f"pred.{question['extension']}"
|
| 88 |
+
pred_dir = working_dir.joinpath(f'{qid}_{idx}')
|
| 89 |
pred_dir.mkdir(parents=True)
|
| 90 |
pred_file = pred_dir.joinpath(file_name)
|
| 91 |
with pred_file.open("w",encoding='utf-8') as f:
|