Retrieval Augmented Generation (RAG) - Module 3 Assignment BM25 query

I am working on Introduction to Rag, module 3. My code is working in the code. But when I submit, I get the below error.
My code:

Instead of posting grade function codes, you should post screenshot of your failed submission report, or post screenshot of failed unittest or failed grader submission. Posting codes on pulic post is considered a gross violation of Code of Conduct. if a mentor wants to look at your codes for review then they will ask you to send you by DM

Error post submitting:

Failed test case: Incorrect value for query = ABC and top_k = 1. Expected: response = collection.query.bm25(query = query, limit = top_k), but got: Incorrect values set in collection.query.bm25.

This would happen normally because your solution does not generalize and it does not pass all grader tests!

I have been trying various codes. But not able to pass. Is there any tweak?

@SD1903

You seem to have edited part of codes that you aren’t suppose to.

Also You are only suppose to replace None place between ###START AND END CODE HERE### do not edit/add/delete anything outside these markers for successful submission.

You have edited the return function codes :backhand_index_pointing_down:t2:

Thanks for the help. I only edited the section:

Still getting the error:

grade function codes removed as posting codes on public post is considered violation of code of conduct.

Error:
Failed test case: Your solution failed for query = ‘ABC’, top_k = 1. Expected: response = collection.query.bm25(query = query, limit = top_k), but got: Incorrect values set in collection.query.bm25.

you are again posting codes on public post it is against Code of conduct.

Click on name and then message me screenshot of your codes. please don’t send copy and paste codes

Your error might be related to.previous grade function codes, one needs to review your codes.

@SD1903 Also when you post aa query, post it in the right category. you have posted your query in ai discussion where as your is from RAG short course. I have updated your query to the right category for this time.

HI, I am getting the below error. My previous submissions that were correct are alos failing. Can anyone guide?
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
unexpected indent (, line 27)

your error is stating before you submit, save your work environment by clicking on :floppy_disk: and then submit.

In case it still fails, then send me screenshot of your codes by personal DM.