# Week 3 programming assignment - nb grader part alwasys giving 0/100 but the code in jupyter lab is showing 9/10 answers as correct when run

**URL:** <https://community.deeplearning.ai/t/week-3-programming-assignment-nb-grader-part-alwasys-giving-0-100-but-the-code-in-jupyter-lab-is-showing-9-10-answers-as-correct-when-run/68968>\
**Category:** Neural Networks and Deep Learning\
**Tags:** coursera-platform\
**Created:** [November 26, 2021, 4:25pm UTC](https://community.deeplearning.ai/t/week-3-programming-assignment-nb-grader-part-alwasys-giving-0-100-but-the-code-in-jupyter-lab-is-showing-9-10-answers-as-correct-when-run/68968 "2021-11-26T16:25:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayasya\_batta](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@ayasya\_batta](https://community.deeplearning.ai/u/ayasya_batta)\
**Post date:** [November 26, 2021, 4:25pm UTC](https://community.deeplearning.ai/t/week-3-programming-assignment-nb-grader-part-alwasys-giving-0-100-but-the-code-in-jupyter-lab-is-showing-9-10-answers-as-correct-when-run/68968/1 "2021-11-26T16:25:47Z")

</div>

> **[Coursera | Online Courses & Credentials From Top Educators. Join for Free...](https://www.coursera.org/learn/neural-networks-deep-learning/discussions/forums/JMcUfRoEEeu1vApiFedNbw/threads/w0azGEqMEey41RIHax-r7Q)**
>
> Learn online and earn valuable credentials from top universities like Yale, Michigan, Stanford, and leading companies like Google and IBM. Join Coursera for free and transform your career with degrees, certificates, Specializations, & MOOCs in...

pl solve the issue mentioned in this linked forum of coursera.

---

<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:** [November 26, 2021, 6:02pm UTC](https://community.deeplearning.ai/t/week-3-programming-assignment-nb-grader-part-alwasys-giving-0-100-but-the-code-in-jupyter-lab-is-showing-9-10-answers-as-correct-when-run/68968/2 "2021-11-26T18:02:34Z")

</div>

That is a pretty strange symptom that I’ve never seen before. It says “all tests pass”, but then gives you 0 points. One thing to realize is that the “Validate” button in the notebook does not prove that you pass the grader: it just shows you pass the tests in the notebook. But they don’t necessarily catch everything that the grader catches. But then in your case the grader says you passed.

My only theory is that you have accidentally damaged some part of your notebook other than the code itself that the grader depends on. The first thing to try would be to get a clean copy of the notebook using the topic on the [FAQ Thread](https://community.deeplearning.ai/t/faq-frequently-asked-questions-for-dls-course-1/74). Then very carefully “copy/paste” over just your completed code from the “YOUR CODE HERE” blocks and see if that helps. Let us know!

---

<div class="post-metadata">

**Author:** ![ayasya\_batta](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@ayasya\_batta](https://community.deeplearning.ai/u/ayasya_batta)\
**Post date:** [November 26, 2021, 6:14pm UTC](https://community.deeplearning.ai/t/week-3-programming-assignment-nb-grader-part-alwasys-giving-0-100-but-the-code-in-jupyter-lab-is-showing-9-10-answers-as-correct-when-run/68968/3 "2021-11-26T18:14:46Z")

</div>

thnks paul for the suggestion but i reported this issue only after trying this way
