Testing, Error Debugging, and Code Refactoring - Can't recreate the bug

Hello - I’m starting the Testing, Error Debugging, and Code Refactoring and I don’t get the “Query failed” error when I prompt that same question…

I’ve forked both the starting codebase and the other one, and both work fine for that question.

1 Like

They manually created the error ‘To create the error, we intentionally set MAX_RESULTS: int = 0 in backend/config.py.’ - this is from sc-claude-code-files/reading_notes/L4_notes.md at main · https-deeplearning-ai/sc-claude-code-files · GitHub. So just edit the config.py and it should look like the error in the video then.

1 Like

Thank you for reporting! And thanks @greenvinyl for the reminder about the MAX_RESULTS: int = 0