# I have done all required and passed all the test but i didn't get any marks for that.(Assignment 2)

**URL:** <https://community.deeplearning.ai/t/i-have-done-all-required-and-passed-all-the-test-but-i-didnt-get-any-marks-for-that-assignment-2/756968>\
**Category:** AI Python for Beginners\
**Tags:** week-module-2\
**Created:** [January 23, 2025, 2:39pm UTC](https://community.deeplearning.ai/t/i-have-done-all-required-and-passed-all-the-test-but-i-didnt-get-any-marks-for-that-assignment-2/756968 "2025-01-23T14:39:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh\_Kannan\_S](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@Yogesh\_Kannan\_S](https://community.deeplearning.ai/u/Yogesh_Kannan_S)\
**Post date:** [January 23, 2025, 2:39pm UTC](https://community.deeplearning.ai/t/i-have-done-all-required-and-passed-all-the-test-but-i-didnt-get-any-marks-for-that-assignment-2/756968/1 "2025-01-23T14:39:43Z")

</div>

When creating a post, please add:

- Module # must be added in the tags option of the post. (ex: Module-1)
- Link to the classroom item you are referring to:
- Description (include relevant info but please do not post solution code or your entire notebook)

Module-2

I have done all required and passed all the test but i didn’t get any marks  
for that.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [January 23, 2025, 3:00pm UTC](https://community.deeplearning.ai/t/i-have-done-all-required-and-passed-all-the-test-but-i-didnt-get-any-marks-for-that-assignment-2/756968/2 "2025-01-23T15:00:36Z")

</div>

Have you submitted it to the grader in the top right corner? If yes does it give any error?

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [January 24, 2025, 9:47am UTC](https://community.deeplearning.ai/t/i-have-done-all-required-and-passed-all-the-test-but-i-didnt-get-any-marks-for-that-assignment-2/756968/3 "2025-01-24T09:47:41Z")

</div>

Hi @Yogesh_Kannan_S,

After looking at your notebook, indeed you are passing all the tests, but for `exercise 5`, your code cell is running into an error (even though later you pass the test). Passing the tests is not all, you have to make sure your notebook is not running into errors anywhere. Otherwise it will also give an error to the grader as you have seen.

The reason that the cell gives an error is because you introduced an extra bit of code in it and added `get_llm_response(prompt)`. This is neither required nor is part of the instructions of that exercise.

The instructions of the assignments clearly mention to not add extra code and only implement the code which you have been asked to.

Remove that and you shall see you pass all the tests.

Best,  
Mubsi
