But in Exercise 6 despite using same functions (defined earlier & unit tests passed) and methods the answer does not match.
I have checked and my inputs to my functions are as per the line instructions given.
What next step can I take to debug?
I have saved my notebook & downloaded it. Hope it wont delete my progress.
hello roy,
I just finished this course and want to help you. But your question is little bit vague, could you share the code via picture. I think it would be easier for others to check.
The first thing to realize is that the tests in the notebook don’t check for every possible defect.
It’s very common to pass the notebook tests but still fail the grader, because the grader uses different data and different conditions.
So the first thing to check is always verify that your code will work with any size of data set and any initial conditions. Avoid hard-coding any values or dimensions that aren’t explicitly given in the assignment instructions. Avoid using any global variables that the grader will not have access to.
You can post your error messages and any assert logs that appear when you test your code. This is often sufficient to identify the cause of the problem.
Hopefully a mentor for this course will be able to answer specific questions. I’m not a mentor for this course, and I do not have access to the materials.
It seems I have to submit it with the errors hoping that I still get passing marks.
I rechecked the entire assignment multiple times and could not identify the bug.