Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def add_new_eval(
|
|
125 |
return format_error(
|
126 |
f"{task_id} not found in test set. Are you sure you submitted the correct file?")
|
127 |
|
128 |
-
score = question_scorer(task['answer'], gold_answers["test"][task_id])
|
129 |
difficulty = gold_difficulties["test"][task_id]
|
130 |
|
131 |
scored_file.write(
|
|
|
125 |
return format_error(
|
126 |
f"{task_id} not found in test set. Are you sure you submitted the correct file?")
|
127 |
|
128 |
+
score, has_ans = question_scorer(task['answer'], gold_answers["test"][task_id])
|
129 |
difficulty = gold_difficulties["test"][task_id]
|
130 |
|
131 |
scored_file.write(
|