I passed all the test in the week3 assignment but my submission shows 0/10 for test_get_country and test_get_accuracy functions. Any help?
Hi SedHabibi,
The tests in the assignment do not capture all possible errors. If you get 0/10 for parts of your code, you need to take another look and see if there’s an error in your code somewhere.
Hi,
Thank you. I re-checked my code but did not find any errors. Should I try redoing it? or anything else?
Same issue.
passed all section, but failed in grader test_get_country
and test_get_accuracy
@Mubsi Hi! I have the same problem with this assignment ( test_get_country
and test_get_accuracy
fail in grader test even though I got the correct results and passed all tests). Could you please help me solve this problem? My Lab ID is: eqzjjirq
Thanks in advance.
@Carlos_Eduardo_Reyes Please click my name and message your notebook as an attachment.
@Carlos_Eduardo_Reyes Please use local variables and function parameters instead of global variable(s) when possible.
Once you fix get_country
based on the above hint, get_accuracy
should pass as well.
You are awesome, thank you!!!