I am getting “There was a problem grading your submission. Check stderr for more details.” but I am getting the correct expected output and All test passed in the assignment as well
Hi @r.apurva
99% of the time when you pass the unit tests (and all your outputs match the expected outputs) but grading of the assignment fails, it is one of those reasons:
Important Note on Submission to the AutoGrader
Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:
- You have not added any extra
- You have not added any extra code cell(s) in the assignment.
- You have not changed any of the function parameters.
- You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
- You are not changing the assignment code where it is not required, like creating extra variables.
80% of these are:
- You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
For example, if you have local variable named embeddings
then do not use global variable named word_embeddings
.
Cheers
i didnt add any print cells im having same issue auto grader not registering get_country test or get-accuracy test - ive taken quite a few of these courses - shout out to youness - who is great- but i rebooted dumped entire assignment then reworked it cell by cell a second time and got same issue - maybe i made same mistake twice i suppose - but ill try to dump get again clear outputs and do it a third time - ill come back and let u know if it worked - i gather no one is reporting problems with the autograder on this - so it has to be me ruling that out - just confusing when u pass the unit tests and still fail
This sounds like it’s the “global variable” problem that Arvydas described. Did you carefully read his post? Here’s another about the same issue if the above is not enough to get you there.
yes i knew that one too - I just didn’t save changes apparently in my case - all is well -thanks
Hello, I checked out all the issues you pointed but there doesn’t seem any issue with all this. I tried to get a new copy of the jupyter notebook but I bymistakely saved the checkpoints and am not able to get one.
Did you read this thread which was linked above?
No, I guess I missed it. Thank you so much sir!
having this same issue in my case. have read all the threads , done everything but still cannot solve the problem . kindly help…
my lab id - fqpofqnsztax
And you’re sure you read this thread? Are you familiar with the concept of “scope of variables” in python?
Note that we cannot directly see your notebooks. I’ll send you a DM about how to proceed.
sir my issue is resolved . i completed the course successfully and earned the certificate. thank you sir for your help.
That’s great news. Congratulations on completing the course!
I got this : “There was a problem grading your submission. Check stderr for more details”.
Are you sure there is no other output from the grader in that case? What is your score? E.g. did it give 0 for everything or just some of the functions? If so, please let us know which ones.
Like many above I am having similar issues. At first I was having a problem only with get_country and get_accuracy and I did have word_embeddings instead of embeddings but I’m pretty sure I removed all of them. I have done a search and cannot find any within my get_country function. Now when I try to re-grade I get Platform Error. Is there a way that I can share my code with someone for more specific feedback? Should I try to re-copy my responses in a new notebook?
Thanks for your help!
I will send you a DM about how to get your code looked at, but that message sounds like there is a problem on the server side. It might also just be worth trying again. And to be on the safe side, it never hurts to submit your notebook in the minimalist state:
Kernel -> Restart and Clear Output
Save
Submit
The point is that the grader does not need to see your generated output and reducing the memory footprint speeds things up.
Hello sir @paulinpaloalto, I got an error as “There was a problem grading your submission. Check stderr for more details.” My lab id is: kcjejscftflc.
Please help me to check what is wrong with my assignments, I am waiting for your response.
Please realize that we cannot directly see your assignments or your grades, even with the lab ID. Does it show anything under the “Show grader output” link?
despite all my test are pass, it also show the same error