I submitted the first programming assignment and completed the required sections. All tests passed without error.
Sections 5 and beyond are optional and not graded according to the notes.
I received a grade of 75 but there are no comments on the submission.
I just was wondering why 75?
Should I compete the optional sections in this exercise?
No, the grader does not care about the optional sections. That means that at least one of your graded functions was not accepted by the grader. Can you show us the actual grader output that you get? Not just the score, but the details. Click “Show grader output”. Unfortunately it’s not always very helpful, but we at least need to start there.
The other thing to realize as a general matter is that the test cases in the notebook don’t always catch all possible errors. Doing software QA is actually pretty difficult. One particular class of errors that the test cases frequently miss is “hard-coding” values or referencing global variables within your functions, instead of the parameters actually being passed in.
Thank you for your help and response.
I will get the grader output for you.
I will also check to see if I have any hard coded variables within the functions.
I did notice an error in the function that calculates Z. The function displays “passed all tests” but there were two warning flags.
The first warning is about Z not being cast as type float. I forced Z to be type float64 but no change.
The second warning flag has to do with the output value Z not matching the exact required value.
I will run the calculations and see if I can find the error.
This is the grader output:
[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W1A1/Convolution_model_Step_by_Step_v1.ipynb’ [ValidateApp | INFO] Executing notebook with kernel: python3 Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
Thanks! Ok, sorry, it’s exactly what I was afraid of: it’s one of those cases in which the grader (for some reason I don’t understand) can’t actually tell you which function failed. Please check your DMs and I’ll ping you about it there.