# C2\_W2\_Assignment grading error?

**URL:** <https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306>\
**Category:** Calculus for Machine Learning and Data Science\
**Tags:** week-module-2\
**Created:** [January 19, 2024, 7:39pm UTC](https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306 "2024-01-19T19:39:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khumoyun\_Abdulaziz](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@Khumoyun\_Abdulaziz](https://community.deeplearning.ai/u/Khumoyun_Abdulaziz)\
**Post date:** [January 19, 2024, 7:39pm UTC](https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306/1 "2024-01-19T19:39:15Z")

</div>

Hi everyone. I’ve been facing strange error in grading for quite some time. All my codes passed unit tests and I’ve re-submitted quite few times just but still got 0 grade.  
Here is screenshot of “Grades” section. As you see there is a message saying there was some kind a problem compiling my code, but I didn’t get it.  
Lab ID: njbltnwrkcpt.  
Any ideas what is happening?

 ![Screenshot 2024-01-20 at 4.21.34 AM](https://global.discourse-cdn.com/dlai/original/3X/a/8/a80c5332b1481daddc4449abd85d692650326fb1.png)

---

<div class="post-metadata">

**Author:** ![Khumoyun\_Abdulaziz](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@Khumoyun\_Abdulaziz](https://community.deeplearning.ai/u/Khumoyun_Abdulaziz)\
**Post date:** [January 19, 2024, 11:32pm UTC](https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306/2 "2024-01-19T23:32:26Z")

</div>

Finally found issue. Apparently I’ve accidentally deleted meta data while running over cells.  
**How I solved? Steps:**

1. Renamed File
2. From “Help” menu loaded latest version of lab
3. From “File” menu opened new ‘latest version’. PS: not the renamed file
4. Solved all exercises again and submitted

Hope in the future someone faces the same issue, this will benefit.  
🎉Cheers!!!

---

<div class="post-metadata">

**Author:** ![DimitrijeKocic](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@DimitrijeKocic](https://community.deeplearning.ai/u/DimitrijeKocic)\
**Post date:** [December 5, 2024, 5:04pm UTC](https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306/3 "2024-12-05T17:04:56Z")

</div>

Hello, right now i am having the same issue. Ive tried your method of solving it, but unfortunately it is not working. If someone is reading this and if you have found a fix please reply to me. Thx in advance 🙂

---

<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:** [December 5, 2024, 6:23pm UTC](https://community.deeplearning.ai/t/c2-w2-assignment-grading-error/549306/4 "2024-12-05T18:23:01Z")

</div>

hi @DimitrijeKocic

Check for exercise 3,

Fit the linear regression model passing X\_sklearn and Y\_sklearn arrays into the function lr\_sklearn.fit

you are using, no attributes coef.

But I doubt this could be more related to you editing beyond the markers ###START AND END CODE HERE###, So get a fresh copy and redo the assignment without editing, adding or deleting any thing outside the markers ###START AND END CODE HERE### for successful submission.

Also remember some autograders are programmed in a way that failing a single test exercise even if you passed all other test cause 0 grading. The idea behind this approach is for the programmer to complete the error without any mistakes left as some tend to avoid addressing their error only passing an assignment.
