# Week-2 Programming Assignment

**URL:** <https://community.deeplearning.ai/t/week-2-programming-assignment/435664>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** week-module-2\
**Created:** [September 3, 2023, 2:12pm UTC](https://community.deeplearning.ai/t/week-2-programming-assignment/435664 "2023-09-03T14:12:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anju\_Maurya](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Anju\_Maurya](https://community.deeplearning.ai/u/Anju_Maurya)\
**Post date:** [September 3, 2023, 2:12pm UTC](https://community.deeplearning.ai/t/week-2-programming-assignment/435664/1 "2023-09-03T14:12:46Z")

</div>

My Graded assignment is showing the awarded grade as 0 while all test cases are passing properly.

---

<div class="post-metadata">

**Author:** ![Deepti\_Prasad](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/deepti_prasad/32/178017_2.png) [@Deepti\_Prasad](https://community.deeplearning.ai/u/Deepti_Prasad)\
**Post date:** [September 3, 2023, 3:29pm UTC](https://community.deeplearning.ai/t/week-2-programming-assignment/435664/2 "2023-09-03T15:29:40Z")

</div>

these assignments are sensitive to the template code given in the assignment at the start of the uploading or updating workbook. Any changes made to the template code or adding new code lines can cause this issue.

Check this

> [@C1\_W2\_Linear\_Regression MULTIPLE ERROR](https://community.deeplearning.ai/t/c1-w2-linear-regression-multiple-error/416253/3):
>
> Hello, refer these hints for clearing the Cell 1 and Cell 2. These hints were given below the grader cells in the assignment For Grader cell 1 Hint screenshot For grader cell 2, hints Regards DP

to get codes according to the template code given to pass the grader.

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [September 3, 2023, 6:38pm UTC](https://community.deeplearning.ai/t/week-2-programming-assignment/435664/3 "2023-09-03T18:38:14Z")

</div>

> [@Anju\_Maurya](#):
>
> My Graded assignment is showing the awarded grade as 0 while all test cases are passing properly.

Passing the notebook’s test cases does not prove your code is perfect. The grader uses different tests.

Please post a screen capture image that shows your grader feedback. That will give some hints about what the problem is in your notebook.

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [September 3, 2023, 6:40pm UTC](https://community.deeplearning.ai/t/week-2-programming-assignment/435664/4 "2023-09-03T18:40:05Z")

</div>

Also this thread has some tips for debugging issues with the grader.

> [@MLS: Autograder Troubleshooting Tips](https://community.deeplearning.ai/t/mls-autograder-troubleshooting-tips/187866):
>
> Here are some general guidelines before submitting your assignments in this specialization. You can refer to these when you get an unexpected score from the autograder. Make sure that all cells in the notebook are running. If you get an error, that will also likely halt the grader. Please save your work before clicking the Submit button. If not, you might get an error message like in the code cell below because the grader still sees your solution as None. Failed test case: x has incorrect…
