"\u274c ValueError: \"no chance, this function crashes so badly\""
],
"stdout":"",
"stderr":"Test failed:\nTraceback (most recent call last):\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_test.py\", line 48, in __call__\n result = self._test_function(*targets, *args, **kwargs)\n File \"/home/jovyan/work/jupyter-autograde/demo/test.py\", line 65, in test_fail\n fail()\n File \"/tmp/tmp5crfyffw\", line 13, in fail\n raise ValueError('no chance, this function crashes so badly')\nValueError: no chance, this function crashes so badly\n"
"\u274c TimeoutError: \"code execution took longer than 0.100s to terminate\""
],
"stdout":"",
"stderr":"Test failed:\nTraceback (most recent call last):\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_test.py\", line 48, in __call__\n result = self._test_function(*targets, *args, **kwargs)\n File \"/opt/conda/lib/python3.9/contextlib.py\", line 122, in __exit__\n if type is None:\n File \"/opt/conda/lib/python3.9/contextlib.py\", line 122, in __exit__\n if type is None:\n File \"/opt/conda/lib/python3.9/site-packages/autograde/util.py\", line 202, in _localtrace\n raise TimeoutError(f'code execution took longer than {timeout:.3f}s to terminate')\nTimeoutError: code execution took longer than 0.100s to terminate\n"
"\u274c TimeoutError: \"code execution took longer than 0.060s to terminate\""
],
"stdout":"",
"stderr":"Test failed:\nTraceback (most recent call last):\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_test.py\", line 48, in __call__\n result = self._test_function(*targets, *args, **kwargs)\n File \"/opt/conda/lib/python3.9/contextlib.py\", line 122, in __exit__\n if type is None:\n File \"/opt/conda/lib/python3.9/contextlib.py\", line 122, in __exit__\n if type is None:\n File \"/opt/conda/lib/python3.9/site-packages/autograde/util.py\", line 202, in _localtrace\n raise TimeoutError(f'code execution took longer than {timeout:.3f}s to terminate')\nTimeoutError: code execution took longer than 0.060s to terminate\n"
"\u274c FileNotFoundError: \"[Errno 2] No such file or directory: 'artifacts/does_not_exist.png'\""
],
"stdout":"",
"stderr":"Test failed:\nTraceback (most recent call last):\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_test.py\", line 48, in __call__\n result = self._test_function(*targets, *args, **kwargs)\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_test.py\", line 174, in load_plot\n return math.nan, prefix + base64.b64encode(artifacts[target]).decode('utf8')\n File \"/opt/conda/lib/python3.9/site-packages/autograde/notebook_executor.py\", line 39, in __getitem__\n with self._root.joinpath(path).open(mode='rb') as f:\n File \"/opt/conda/lib/python3.9/pathlib.py\", line 1242, in open\n return io.open(self, mode, buffering, encoding, errors, newline,\n File \"/opt/conda/lib/python3.9/pathlib.py\", line 1110, in _opener\n return self._accessor.open(self, flags, mode)\nFileNotFoundError: [Errno 2] No such file or directory: 'artifacts/does_not_exist.png'\n"