I did the Planar Data Classification with one hidden layer assignment, and I went through all test cells and got the ‘All tests passed!’ output, but when being graded, I received an 88% instead, with a result of one failed test in one cell. I already tried looking for that failed cell but I dont seem to find it…
What type of evidence should I provide you in order to help me debug the error? (I would not want to mess with coursera code of honor)
Providing the error output would help to trace the error. This would not violate the honour code policy. You will be advised If further info is needed.
[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W3A1/Planar_data_classification_with_one_hidden_layer.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
I just copy-pasted it, I am not quite sure if this is what you meant by the ‘error output’… let me know if more info is needed.
If you are passing all the tests in the notebook, but fail the grader, the type of bug to look for is some way in which your code is not general. For example, you have hard-coded some assumption about the dimensions or you are referencing global variables within the scope of your functions. It is unfortunate that the grader can’t even tell you which function is the one that has the problem. We have made this complaint to the course staff for literally years, but there apparently are limitations of the way the grader works that are hard to work around.
If the clues above are not enough to get you to a solution, there are private ways to examine code that do not violate the course Honor Code. I’ll send you a DM (direct private message) about how those work.