Hello, I’m having trouble with the first assignment of week 2 where I get the error
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
and my grade stays at 88%. I’ve done all of the exercises the way it was asked and I didn’t change the structure or used global variables. How can I debug it?
[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W2A1/Python_Basics_with_Numpy.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W2A1/Python_Basics_with_Numpy.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
I’m having this same problem on W2A1. My grade stays at 88% even though all of the tests are passed and I didn’t change the structure of the assignment, global variables, etc. Using the “Validate” button indicates that all tests are passed. I tried updating the notebook and saving before submission with no results. I did not hard-code any values.
Any other thoughts on how this might be resolved?
[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W2A1/Python_Basics_with_Numpy.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
As I mentioned in my previous replies, the version of the notebook might have updated. So, please use this brilliant link to solve your query. Further, you can also use this link if you face any other related issues.
As I said in my original post, I’ve already followed those instructions to update the notebook. I’ve also already looked at that link and worked through it. Any other suggestions?
It seems that you have hard-wired any of the values or might have used global variables within the function. Just go through it once. Hope, things would get resolved.
Just to close the loop here: I have contacted Shubham by DM and we have figured out the issue here. Somehow some incorrect code got added to one of the function cells.
Just to close the loop on the public thread here, we had a DM conversation so that we could share the code and found that the issue is one instance of hard-coding the parameter values inside a function body so that it happened to match the value passed in the test case. Not sure why the grader has to be mysterious about which function was the issue, but we’ve pointed this out the course staff in the past and apparently it’s not easy to get around the way the grader works in this instance.