Course 5, Week 2, Assignment 2 (Emojify): Autograder shows 0 for my submission

Hey,

I have a problem with “Assignment: Emojify”.
Although all the tasks are “passed” I get a score of 0 for the following reason.
I cannot figure out the error, can someone help please help.

Error Message:
Cell #10. Can’t compile the student’s code. Error: SyntaxError(‘EOF while scanning triple-quoted string literal’, (’/tmp/student_solution_cells/cell_10.py’, 24, 625, ‘’’’\navg = sentence_to_avg(“Morrocan couscous is my favorite dish”, word_to_vec_map)\nprint(“avg = \n”, avg)\n\ndef sentence_to_avg_test(target):\n # Create a controlled word to vec map\n word_to_vec_map = {‘a’: [3, 3], ‘synonym_of_a’: [3, 3], ‘a_nw’: [2, 4], ‘a_s’: [3, 2], \n ‘c’: [-2, 1], ‘c_n’: [-2, 2],‘c_ne’: [-1, 2], ‘c_e’: [-1, 1], ‘c_se’: [-1, 0], \n ‘c_s’: [-2, 0], ‘c_sw’: [-3, 0], ‘c_w’: [-3, 1], ‘c_nw’: [-3, 2]\n }\n # Convert lists to np.arrays\n for key in word_to_vec_map.keys():\n word_to_vec_map[key] = np.array(word_to_vec_map[key])\n’))

Did you complete the entire notebook before you ran the submit process?

Also, can you post a screen capture of the error messages, instead of a text copy-and-paste?
I can’t decode the block of text you posted.

Yes, I completed the entire notebook. Here is the screen capture of the error messages (its a long message):

image

Hi TMosh,

Were you able to figure out the error?

Thanks

No, sorry. The image is very low-res and I can’t read the text.

did you able to resolve the issue i am also stuck at the same point on the assigment

in this this error says Can’t compile the student’s code. Error: SyntaxError(‘EOF while scanning triple-quoted string literal, means there is unended triple quote somewhere
and if you look closely there are four ‘’’’ before the line:

‘’’’\navg = sentence_to_avg(“Morrocan couscous is my favorite dish”, word_to_vec_map)\

i am guessing that this causes the line to comment out from the code
but i am not able to find the unended quote in the code maybe it is from the test unit side @nramon can you please help with this question

Guys I figured it out. It’s their mistake. I just deleted the first 3 lines of cell 10