Generate_metadata_from_query fails in grading but works in the notebook

The error from the grader is:

Failed test case: generate_metadata_from_query raised an exception with the following parameters query = What are your working hours?. Expected: generate_metadata_from_query must run without exceptions, but got: string indices must be integers.

The same input in the notebook works just fine.

Hi!

Thanks for your thread. Could you please share with me, privately, your solution?

Thanks,
Lucas

Just did, sent to the email you have provided. Thank you!

Thanks. I have found the issue. The autograder is fixed. You should be able to submit and get full grade now. Save your work, refresh the page and try submitting it again.

Please let me know if the error persists.

Thanks,
Lucas

Yes, all tests pass now. Thank you!

Great! Let me know if you need any further help.

Cheers,
Lucas

I am getting a format_relevant_data “There was an error grading your submission. Details:
name ‘Description’ is not defined” in the first module assignment.

I think this was spelling error, got it fixed

Hi! I’m glad to hear it was fixed!

Could you share exactly what you did to pass the unittests and fail the autograder in this case? If your answer might disclose a solution, please do so via direct message.

Cheers,
Lucas