The process_data function doesn’t seem to be graded, says:
“There was a problem grading your submission. Check stderr for more details.”
Even though all tests are passed. Any idea why this is? I’ve tried restarting and also running it directly, not locally, same thing.
Maybe you are hard coding something or maybe an older version of the notebook!
All my results match their corresponding Expected results
Reason could be any of the below for grading failing according to the details shared by you
any code error especially related like using global variable instead of local variable or vice versa.
Removing any of the codes or instructions outside of markers ###START AND END CODE HERE###
if you have added too many #print options
if you have added or deleted any other cells other than grade cell.
if you have renamed your assignment file.
CHECK if you have left any None between the codes.
to resolve this issue in case you are confident of your codes, then get a fresh copy and re-do assignment.
To get a fresh copy follow below link, refer 1a
Hello Learners,
Course 3 (NLP with Sequence Models) and Course 4 (NLP with Attention Models was recently Updated for assignments. So learners kindly make sure to check if you have the latest version of the assignment before starting the assignment.
I am sharing steps on how to get a fresh Updated copy of assignment.
Kindly do the following to get a fresh copy of assignment.
Click File==== then open==== delete all the files on this page. Now you will find a 404 error on your web page.
Ensur…
But make sure this time you only write codes between markers ###START AND END CODE HERE###
Regards
Dp
What do you mean by stderr ? Can you show us ?
To me, this sounds more like a deep C thing; Or something, somewhere deep down is not compiling…
@Deepti_Prasad @gent.spah Ha, and to my friends, I think the student made a simple mistake. But I was wondering how they could hit it so hard to crash it ?
TMosh
August 14, 2024, 4:34pm
7
That error message is some weird default message in the grader that Coursera provides. Software is not really Cousera’s specialty.
Most of the courses use a custom grader that DLAI created - but not all courses use the custom grader.
TMosh
August 14, 2024, 4:34pm
8
That is not necessarily sufficient to pass the unique test cases the grader uses.
This is the message it displays for that particular grading
can you DM the process data cell code via personal DM?
Hi @Ernest_Divine
Two points which I felt might need a look, not that your codes are incorrect but recalled incorrectly
The input argument wants you to recall the designated shakespeare.txt’ text file recalled as file_name but you have add the descriptive part.
while converting every word to lower case, instructions given is below
For the pattern, decide between using ‘\s’, ‘\w’, ‘\s+’ or ‘\w+’. What do you think are the differences
but you have used multiples patterns, as the instructions before the above instruction mentions
Look for the “Raw String Notation” section in the Python ‘re’ documentation to understand the difference between r’\W’, r’\W’ and ‘\W’.
Hope this resolves your issue.
Regards
DP
2 Likes
Thank you for taking your time for your response, and I am sure you are correct.
I just LOL’d at the grade that came up.
Like, anybody, ‘float overflow’ ?