Grader feedback is showing unexpected error

Hi, I am facing Week 1 programming Assignment issue. I m not able to get a fresh assignment. Actually I have done some changes in assignment and after approx 20 times submitted Grader always showing unexpected error at time of evaluation the scores. Please suggest me how i can get a fresh assignment?

Hi @SONIA_RANI

Please note the instructions at the top of the Assignment:

Important Note on Submission to the AutoGrader

Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:

  1. You have not added any extra print statement(s) in the assignment.
  2. You have not added any extra code cell(s) in the assignment.
  3. You have not changed any of the function parameters.
  4. 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.
  5. You are not changing the assignment code where it is not required, like creating extra variables.

Most often the problem is:

  1. 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. (Here is a Video what is being meant by global vs. local variables and the playground to experiment.)

So please make sure you do any of the 5 points at the top.

Cheers

P.S. Also if you have made a lot of changes and you are not sure about the integrity of your code, you could save your work and redo the Assignment with a fresh copy:

How to Refresh your Workspace

H​ow to Refresh your Workspace:

Using Lab Help

  1. O​pen the assignment.
  2. After the assignment opens up, c​lick "File" (top left) and then "Open…"
  3. W​hen your workspace opens, select the check box before your assignment file. After it is selected, press "Shutdown".
  4. U​sing the same procedure mentioned above, "Rename" your file. For instance you can change it from assignment_name.ipynb to assignment_name_v2.ipynb. By doing this you’ll be able to save your current progress on the assignment after the latest assignment file is fetched.
  5. Using the same procedure, "Delete" any other file, if any, that you want to get a fresh copy of.
  6. After renaming your file, click on the "Help" button on the top right of the page. From the panel that opens, click "Get latest version" button, and then "Update lab".
  7. A​fter the page reloads go to File → Open… , as described in (2)
  8. Now you’ll see two notebook files. The one you renamed (as done in step 4) will have your previous progress, and the latest version. (Depending on how many previous versions you have kept saved, you could have more than two assignment files in the worksapce)