About Grading system on C2_W4_Decision_Tree_with_Markdown

Hi, Today, I try to submit the C2_W4 to the system. After scoring completely. The grading system show some error. Can admin team review this error

errors show like this>>>

Cell #12. Can’t compile the student’s code. Error: IndentationError(‘unexpected indent’, (‘/tmp/student_solution_cells/cell_12.py’, 14, 3, ’ info_gain=np.array((3,1))\n’))
Traceback (most recent call last):
File “/home/www/app/grading/exceptions.py”, line 112, in handle_solution_errors
yield {}
File “/home/www/app/grading/abstract.py”, line 393, in _grade
context = compiled_code.run(cell_index=cell.index)
File “/home/www/app/grading/submission/compiled_code.py”, line 195, in run
return list(self._code_items.values())[cell_num - 1].run()
File “/home/www/app/grading/submission/compiled_code.py”, line 54, in run
return import_module(self.import_statement, items)
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 724, in exec_module

Korrapat Y.

Was your code correct when you ran it before submitting?
Try rerunning each of the cell, then If you don’t find any error ping me back.
For solving Indentation error you can check out this thread.

1 Like

Thank you for your recommendation. I cannot found any error before summitting code. I have ever tried to restart kernel and run all again (cannot found the error), but the problem cannot be solved.

Dear rikit5,

After I have already rechecked again for indencing issue. I found some point (not showed error) and then I tried to adjust indentation. now, the problem was solved.
Thank you for you recommendation