Hello, this is my first post here and I can’t submit my solution to this graded lab (Week 2), I have no clue what is wrong as there are no feedback, the code runs fine, I tested with every testcase available in w2_unittest.py and also with the ones from the main notebook, they do return the correct answer but when I submit my solution I keep getting on this error.
While testing from w2_unittest.py I also noticed that the “check_matrix_1” and “check_matrix_2” from “test_back_substitution” fails when using “string_to_augmented_matrix” with decimals (e.g.: 1.3, 2.333, 3.4, …,)
welcome to the community ,your analysis is perfect. the error happens because the function in utils.py tries to use int instead of float for decimal numbers
since you cannot edit utils.py please try this
1 check your equations string make sure you are not adding any extra decimals if the task does not ask for them
for example:
2x_1 - x_2 + x_3 = 8
for example :
2.0x_1 - 1.0x_2 + 1.0x_3 = 8.0
2 the unexpected error in the grader usually means the notebook failed to compile.
make sure you did not change any code outside the exercise blocks
3 sometimes this happens because of a bug in the provided utility script the best way to fix this is to go to help then lab help and get latest version to make sure you have the updated utility files.
your logic is correct so getting a fresh copy of the lab should fix the grader problem
let me know how it goes.
I rewrote all the code from the original file, making sure no code outside the tags were modified, and I also managed to get the latest version of the file a few times (adding my answers to it), but it doesn’t seems to work, I keep getting the same error. What else could I try?
It is also worth mentioning that I’m not using the coursera platform, I’m on the DeepLearningAI platform, so the only option that I found what the “Restore Original Version” in the top right corner
That’s all good advice. One other detail to point out is that if you want to get fresh copies of any of the utility files, it is important to delete them first before you click “Get Latest Version”. It turns out that the “Get Latest Version” logic will not overwrite an existing file.
If you want to see the full “TL;DR” on that procedure, here’s a thread that covers that for the Coursera platform.
Ah, I see you have flipped the platform from Coursera to DLAI. That link I gave for “Get a Clean Copy” also has a link to the DLAI version of those instructions.
But the more important thing implied by this switch is that there is a known problem with the DLAI grader platform that can produce exactly the effect you are seeing. Please have a look at this Google doc and see if it applies to you.
Yes! I saw the follow up link for de DLAI, followed the steps but no luck. Sorry for the misuse of the coursera tag, didn’t saw that there were one for the DLAI, I also filled the doc, and it does apply to the exact same error I’m getting.
thanks for clarifying that ,paul i really appreciate the tip. i did not realize the system would not overwrite existing files that is good to know for future issues too.
Hi, and thank you for submitting the form. Can you send me your notebook via direct message? You can click my name then the blue Message button. Thanks!
Hi. Our engineer fixed a backend issue related to your account. You should be able to resubmit now and get the grader feedback. Please check. Thank you.