Update app.py
Browse files
app.py
CHANGED
|
@@ -263,7 +263,7 @@ def add_new_eval(
|
|
| 263 |
if label == 'Useful':
|
| 264 |
score += 1/3
|
| 265 |
|
| 266 |
-
print(
|
| 267 |
#return format_error(score)
|
| 268 |
|
| 269 |
|
|
@@ -294,6 +294,7 @@ def add_new_eval(
|
|
| 294 |
task_ids.append(intervention_id)
|
| 295 |
scores += score
|
| 296 |
num_questions += 1
|
|
|
|
| 297 |
|
| 298 |
|
| 299 |
# Check if there's any duplicate in the submission
|
|
|
|
| 263 |
if label == 'Useful':
|
| 264 |
score += 1/3
|
| 265 |
|
| 266 |
+
print(id_to_eval, score, flush=True)
|
| 267 |
#return format_error(score)
|
| 268 |
|
| 269 |
|
|
|
|
| 294 |
task_ids.append(intervention_id)
|
| 295 |
scores += score
|
| 296 |
num_questions += 1
|
| 297 |
+
break
|
| 298 |
|
| 299 |
|
| 300 |
# Check if there's any duplicate in the submission
|