W2_A2_Tests failed on 1 cell(s)!

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?

Thanks

Hi @Victor_Sucharski, kindly share the error log(traceback) of your query. Thanks.

Hello!

The log I got was:

[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.

Hi @Victor_Sucharski, did you update the notebook or saved your work before submission? Thanks!

I’m having the same issue as well with W2A1

[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.

Hi, Ethan.

Welcome to the community!

The version of the notebook might have been updated. Please update it and then run all the cells from the beginning.

Here’s the link

I followed the instructions but I’m still getting 88/100. Is there a way to know which test is failing?

Hi, Ethan.

Did you hard-wired any of the values?

Hello,

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.

Hello, Diana.

Welcome to the community.

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.

Thanks.

Hi!

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?

Thanks.

Diana!

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.

Hi, Diana.

Also please check your DMs for a message from me about possible ways to proceed here.

Hi, I have similar error in W3A1 where I am getting 75/100 since grader is unable to identify back_prop function. Kindly help.

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.

Hi,
So…I’m having exactly the same issue. How do I fix this?
Cheers.

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.