**I got all unit tests passed, but submission keep givinge rrors and not able to get passing grades.
**
Failed test case: decide_task_nature raised an exception with the following parameters query = What are your working hours?.
Expected:
decide_task_nature must run without exceptions,
but got:
name ‘FAQ’ is not defined.
I tried this function myself & seems to work fine.
suspecting some issues with my dcode, I copied exact same sample prompt the instructor provided, but again same error. ANy help?
check if you are not mixing local to global variable recall. Your error. points to faq not defined, it is more pointing towards your prompt description.
Also I hope you know before submitting one needs to click on save emicon
for successful submission.
let me know if issue persist.
Thanks for your reply. actually this function doe snot use FAQ variable. if I run the function directly it is working fine with above prompt.
also, for for second function I get an error as below. Again, when I run loclally it seems to work fine.
Failed test case: Faq Layout is not present in the PROMPT.
Expected:
None,
but got:
None.
send me screenshot of grade function codes for code review.