Hi,
I am getting below error , i could not solve.
Hello @vemula_suman
your goal was to get an
Output:
edit_two_set: a set of strings with all possible two edits
So make sure to update the edit_two_set after the union of two sets
You can either use set.update() or use the ‘|’ (or operator) to union two sets. I used set.update to update edit_two_set
Hi Deepti,
i wrote same as you mentioned update…but not able to figure it out
Thank you
Recall first edit_two under the for loop you created from edit_one where you include the next word with allow_switches
then the next code line should be edit_two_set.update(edit_two)
Also it is not allow_switches=True, but should be allow_switches=allow_switches
Hello @vemula_suman
please check your DM, for updated correction of your notebook. Most of your codes were correct, the only some part the way it was implemented might have created the mismatch in values.
Regards
DP
Hi Deepti,
I am also having same problem and getting this result each time:
Here is my corresponding code:
{Codes removed by moderator as it is against community guidelines}
you please help me to solve the issue?
Go back in previous grader cells, your issue could be related to previous grader cell codes.Also refrain from posting any codes which will grade your assignment.
Outputs of all previous grader cells are exactly same as the expected output and all unit tests also passed. That’s why, it has become very difficult to find out the problem.
I have solved it.
Hi Deepti,
I have solved the issue but there has been a problem with grading of the first graded function. After submitting the assignment, I noticed that the very first graded function (“process_data” function) has not been graded properly. Result output of the function matches exactly with the expected output and the unit test also passed but this function has been graded 0/10, which should be 10/10. It is showing the error, “There was a problem with grading your submission. Check stderr for more details”. All other functions have been graded properly.
Here are the screenshots:
So, could you please resolve this issue.
Rafizul
I can’t resolve this issue as I am only mentor, I can guide you though, kindly check if you have not edited anything like added any extra code line, or hard-coded your codes, or deleted any lines in the grade cell you scored 0. Adding any extra lines outside of ###START AND END CODE HERE### Could also cause such issue.
Regards
DP
Two comments:
-
Passing the tests in notebook does not prove your code is perfect. The grader uses different tests.
-
Another issue that can cause the grader to fail is if you downloaded the notebook onto some other platform, edited the notebook file there, then uploaded it back to Coursera for grading. This can mangle the metadata that the grader uses.
These are just two possibilities (in addition to those DP mentioned).
Kindly send me screenshot of the code cell you got grade 0. Click on my name and then message.
Regards
DM
Hi Deepti,
It has been sent already.
Thanks
Rafizul
Error message:
" “There was a problem with grading your submission. Check stderr for more details”. "
does not indicate that my code was incorrect.
Your codes are incorrect for that grade cell.
Kindly correct code for the below code line
Open the file, read its contents into a string variable
you are suppose to read the file use .read() and not join any line to strip in file.
Also read this instruction
For the pattern, decide between using ‘\s’, ‘\w’, ‘\s+’ or ‘\w+’. What do you think are the differences? for code line
Convert every word to lower case and return them in a list.
your codes are needs a little correction, you have r’\w+’ where as instruction clearly mentions you to use ‘\w+’
Also from next time always create a new topic whenever you have a query or doubt or an error, you can always tag any comment from any thread in your post if you feel any similarity but create a new topic always as your issue resolution could be different from the post creator and can confuse future learner referring this post.
Regards
DP
Hi Deepti,
Thank you.
I have tried that too and the results output are also correct and unit test also passed but the grading remains same as 0/10.
Rafizul
Hi Deepti,
I have sent the latest code to your direct message.
Rafizul
Please read the comment with patience and do the proper correction. debugging and programming is a patience job, your corrections are still incorrect.
Re-read the comment Again, because the process data is already recalled as file_name but your are using the string data recall, it is basically not being able to pass the autograder.
also the
this correction is not done.
HI @Deepti_Prasad, I seem to be getting the same error but cannot quite get the solution to the problem you’re proposing.