Im having an issue submiting my assignment. it says i passed all test and everytime i submit it still says 0. Please help
Perhaps you are hardcoding variables or your solution is not right for all possible test cases that the grader uses when submitting. Also make sure you are submitting the official notebook name, if not then reset it by “Get the Latest Version” found on top right corner.
Hi @kwill,
Please do as Gent suggested.
If the issue remains, share a screenshot of the errors you get from the grader (if you expand your score, you will be able to see the feedback provided by the grader)
Thanks,
Mubsi
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)
Hopefully the moderators can still help me out, but 18 hours later I still am having the same issues, on the display screen it says that all tests are passed when I test my code, but when I try to submit I get a error message that the exercises are not being read properly resulting in a score of 0. I have tried everything that @gent.spah has suggested and still am having the same issue, hopefully this can be resolved or my assignment can be graded manually
I think the problem was caused if you added the line “import test_your_code
” to that cell.
The grader works in a different context, and it doesn’t provide the “test_your_code” module.
That’s what the grader’s error “no module named test_your_code” means.
So, try this:
- Delete the “import test_your_code” line. You did not need to add that, because it is already given in the first cell of the notebook.
- Then run all of the cells in the notebook again.
- If you get the correct results, then use File ->“Save and Checkpoint”.
- Then submit for grading
Tips:
- Every time you open a notebook, you should run all of the cells. That’s how the notebook workspace is created.
- Do not add code that the instructions do not tell you to.