Hello
I am getting this message from the grader. I have followed all the instructions, inspecting carefully if I have added any line to the notebook, and found nothing added.
I also delete all the auxiliary notebooks from the folder (File/Open…) and the error is still there.
Can anybody suggest me how can I surpass this problem?
Thanks in advance
Hey @Hermes_Morales_Gross,
If you have ensured that there is no syntax error within the notebook by running all the cells within the notebook, please try to get a fresh copy of your notebook, and copy and paste your solutions in the new notebook.
The instructions for the same can be found here.
Cheers,
Elemento
Thank you Elemento for your advice.
I have carefully followed, and failed. It was the second or third time that I tried with a refreshed notebook and carefully editing ONLY the suggested code.
Best regards.
Enviado desde Correo para Windows
Hey @Hermes_Morales_Gross,
In that case, can you please DM your notebook as an attachment to me, so that I can try to run the same in my Coursera environment, and try to figure out the issue, whether it lies in the notebook or in the Coursera environment. For DM, click on my name and select “Message”.
P.S. - For future references, please use English as the means of communication, since most of the community members, might not be privy to your native language.
Cheers,
Elemento
Hey @Hermes_Morales_Gross,
Actually, it’s not a syntax error but an implementation error that is pushing the grader to throw an error. Please check your implementation of get_probs
function. It is passing 7 out of 10 hidden test-cases, indicating that there are some shortcomings in your implementation. Similarly, check your implementation of get_corrections
function as well, since it is not passing all the hidden test-cases. Once you pass all the test-cases, then only, submit your notebook to the grader.
Cheers,
Elemento
Thank you Elemento for your answer.
Apparently this is not always the case that “an implementation error pushes the grader to throw an error”.
For instance in the C2_w3 Q7 assignment I get the following result:
Hey @Hermes_Morales_Gross,
It looks like you have missed out on attaching the results. Nonetheless, I am sure you get the point as to why the grader is throwing an error in this case. Once you will pass all the test-cases, you can submit your notebook, and then hopefully, the grader won’t throw an error.
Cheers,
Elemento
There you can see that although not gaining all the points(Q7), the notebook is accepted by the grader and pass the assignment.
Regards,
Hermes
Enviado desde Correo para Windows
{Moderator’s Edit: Solution Code Removed}
Hey @Hermes_Morales_Gross,
By passing, you mean gaining just enough points to pass the assignment, or a complete full score? If the later, then I will make an issue for this so that this can be rectfied.
Cheers,
Elemento
Thank you @Elemento for your answer.
My point is as shown by the third week’s assignment, the notebook is not rejected by the grader even if you do not have a complete full score.
Hey @Hermes_Morales_Gross,
I got your point. The thing to note here is that some errors in the notebooks may be tested in such a way that the grader throws an error. In other cases, some errors in the notebook may be tested in such a way, that the grader only gives a less than full score, and doesn’t throw any error.
Nonetheless, as you can see, the issue lies in your implementation, since it is not passing the test-cases. So, whether the grader throws an error or gives you an incomplete score, it doesn’t matter. Once you pass all the test-cases, both public and hidden, and if the grader still gives an incomplete score or throws an error, do let us know.
Cheers,
Elemento