Spaces:
Sleeping
Sleeping
Experimenting with how I return results
Browse files
restrictedpython_code_eval.py
CHANGED
|
@@ -454,7 +454,7 @@ def _check_correctness(check_program, timeout, task_id, completion_id,
|
|
| 454 |
out_dict = dict(
|
| 455 |
task_id=task_id,
|
| 456 |
passed=result[0] == "passed",
|
| 457 |
-
result=result,
|
| 458 |
completion_id=completion_id,
|
| 459 |
)
|
| 460 |
|
|
|
|
| 454 |
out_dict = dict(
|
| 455 |
task_id=task_id,
|
| 456 |
passed=result[0] == "passed",
|
| 457 |
+
result=list(result),
|
| 458 |
completion_id=completion_id,
|
| 459 |
)
|
| 460 |
|