# Module 3 notebook autograder fails but all unit tests passed

**URL:** <https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605>\
**Category:** Retrieval Augmented Generation\
**Tags:** week-module-3\
**Created:** [July 20, 2025, 5:38am UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605 "2025-07-20T05:38:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lloydm999](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lloydm999/32/127640_2.png) [@lloydm999](https://community.deeplearning.ai/u/lloydm999)\
**Post date:** [July 20, 2025, 5:38am UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/1 "2025-07-20T05:38:40Z")

</div>

My Module 3 notebook (C1M3\_Assignment.ipynb) passes all unit tests, but the grader is failing two of the sections:

filter\_by\_metadata (0/20 pts)  
Failed test case: Your solution failed for property = ‘title’, values = [‘Taylor Swift’] and limit = 2Query.fetch\_objects() got an unexpected keyword argument ‘include\_vector’.  
Expected:  
None,  
but got:  
None.

semantic\_search\_retrieve (0/20 pts)  
Failed test case: Your solution failed for query = ‘ABC’, top\_k = 1.  
Expected:  
None,  
but got:  
None.

---

<div class="post-metadata">

**Author:** ![lucas.coutinho](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lucas.coutinho/32/155465_2.png) [@lucas.coutinho](https://community.deeplearning.ai/u/lucas.coutinho)\
**Post date:** [July 21, 2025, 4:57pm UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/2 "2025-07-21T16:57:14Z")

</div>

Hi, for filter\_by\_metadata, could you please remove the argument “include\_vector” from your solution? If this is the case in the semantic\_serach\_retrieve, please try removing it too.

If this does not fix the issue, please let me know.

---

<div class="post-metadata">

**Author:** ![lloydm999](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lloydm999/32/127640_2.png) [@lloydm999](https://community.deeplearning.ai/u/lloydm999)\
**Post date:** [July 21, 2025, 11:25pm UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/3 "2025-07-21T23:25:13Z")

</div>

Lucas -

Thanks. In filter\_by\_metadata(), I used the include\_vectors param in the fetch\_objects() call, so I removed it. In semantic\_search\_retrieve(), I didn’t use include\_vectors at all so I made no changes. The filter\_by\_metadata() test still fails the same way, but now the semantic\_search\_retrieve() test passes 20/20. I got 80% so I passed, but I’m very confused.

---

<div class="post-metadata">

**Author:** ![lucas.coutinho](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lucas.coutinho/32/155465_2.png) [@lucas.coutinho](https://community.deeplearning.ai/u/lucas.coutinho)\
**Post date:** [July 22, 2025, 12:56pm UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/4 "2025-07-22T12:56:19Z")

</div>

@lloydm999,

Thanks for your input. Can you share with me your solution (via direct message)? I will investigate it further.

Cheers,  
Lucas

---

<div class="post-metadata">

**Author:** ![Francesco\_Boi](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@Francesco\_Boi](https://community.deeplearning.ai/u/Francesco_Boi)\
**Post date:** [September 5, 2025, 10:39am UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/5 "2025-09-05T10:39:37Z")

</div>

I removed `include_vectors` but still getting 0/20 with unit tests passing any clarification on this?

---

<div class="post-metadata">

**Author:** ![LaurenRitter](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/laurenritter/32/111104_2.png) [@LaurenRitter](https://community.deeplearning.ai/u/LaurenRitter)\
**Post date:** [September 9, 2025, 2:47pm UTC](https://community.deeplearning.ai/t/module-3-notebook-autograder-fails-but-all-unit-tests-passed/855605/6 "2025-09-09T14:47:21Z")

</div>

Hey @Francesco_Boi if you’re still having issues with this assignment, feel free to DM me!
