RAG module 2

Hello,
I submitted my work for the module Assignment 2: Implementing Retriever Functions in a RAG System, but I wasn’t successful. I got an error message saying:
“An unexpected error occurred. Please try again later. Pass・20/30 earned・Your highest: 67%”.

However, when I run the code, it shows that all the tests have passed, and I get a score of 20/30.
I’ve resubmitted the code several times and waited between submissions, but I still haven’t been able to complete the submission.

I don’t understand what’s happening. Could someone please help me?
Thank you very much.

Stéphane

I’m not a mentor for this course, so this is just general guidance.

There is probably a mistake in your code.

Passing the tests in the notebook does not prove your code is perfect. The grader uses completely different tests, and a different runtime environment.

Thank you for answering me. In fact, I must specify that in the 3 exercises the expected answers are given and I get the same answers with my code. That’s why I think there’s a mistake. Moreover, the return is "An unexpected error occurred. Please try again later

Pass・20/30 earned・Your highest: 67%”. But I can’t repeat it because every time I get this error. Thank you for correcting this.

Please read this sentence carefully.

Thank you for your reply. I agree with you and I understand that the tests passed do not guarantee that we passed.

I’m not talking about the test I’m talking about the results. We ask to get the results I got. They are the same. Lines 9, line 18, I ask you to look at images where I have the results I get that are similar to those expected. Please consider my request, because I can no longer submit.

Those are not the results that the grader uses. The grader runs different tests.

Thank you for your feedback. I changed the code and it worked now. Sorry for my insistence :wink:

Nice work!