# Week 3, Grade in coursera

**URL:** <https://community.deeplearning.ai/t/week-3-grade-in-coursera/746689>\
**Category:** Neural Networks and Deep Learning\
**Tags:** week-module-3, coursera-platform\
**Created:** [January 6, 2025, 2:33am UTC](https://community.deeplearning.ai/t/week-3-grade-in-coursera/746689 "2025-01-06T02:33:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josch](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@Josch](https://community.deeplearning.ai/u/Josch)\
**Post date:** [January 6, 2025, 2:33am UTC](https://community.deeplearning.ai/t/week-3-grade-in-coursera/746689/1 "2025-01-06T02:33:18Z")

</div>

Why do I have an 88/100 in coursera if in my jupyter notebook I passed all the tests?

 ![image](https://global.discourse-cdn.com/dlai/original/3X/4/c/4cf187b01cede0e4891258187a721a2aae1447bf.png)

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [January 6, 2025, 2:43am UTC](https://community.deeplearning.ai/t/week-3-grade-in-coursera/746689/2 "2025-01-06T02:43:28Z")

</div>

The tests in the notebook to not prove that your code is completely correct. There are lots of ways to write code that passes one test, but not another.

But it is not very helpful for the grader not to tell us where to look or even which function(s) failed. We probably need to look at your whole notebook. I’ll send you a DM about how to do that.

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [January 6, 2025, 3:37pm UTC](https://community.deeplearning.ai/t/week-3-grade-in-coursera/746689/3 "2025-01-06T15:37:58Z")

</div>

To close the loop on the public thread, the problem was that the code in `nn_model` was accidentally overriding the value of `n_h` to always be 4, instead of the value that was passed in as a parameter. The unfortunate thing is that the tests in the notebook do not catch that error, but only the grader does.

I’ll file an enhancement request to suggest modifying the tests in the notebook to catch this error.
