Spaces:
Sleeping
Sleeping
Slight change to handling empty outputs
Browse files
restrictedpython_code_eval.py
CHANGED
|
@@ -349,7 +349,7 @@ def _check_correctness(check_program, timeout, task_id, completion_id,
|
|
| 349 |
|
| 350 |
|
| 351 |
if not result:
|
| 352 |
-
result.append("
|
| 353 |
|
| 354 |
return dict(
|
| 355 |
task_id=task_id,
|
|
|
|
| 349 |
|
| 350 |
|
| 351 |
if not result:
|
| 352 |
+
result.append("Result evaluates to False (empty?)")
|
| 353 |
|
| 354 |
return dict(
|
| 355 |
task_id=task_id,
|