C2W1 Error during grading

Error in “Generate Training Statistics” section of “C2W1_Assignment” when assignment is submitted for grading.


" Grader Error: Grader feedback truncated"
“Grader feedback was truncated due to size limits. Visit the Discussion Forums to see if your peers are experiencing or have found resolutions for similar errors . If the error isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.”

I don’t recall seeing this grader feedback. Once you clear things up with coursera, please update this thread with the details. If they confirm that this is a grader related error, please click my name and message your notebook as an attachment.

I will drop them an email on https://www.coursera.support/s/learner-help-center-contact-us

chat is quicker.


Support team reverted to my query.

They asked to follow these steps to create post in the forums:


  1. Open the course you want to make a forum post in.
  2. Click the Discussions tab on the left.
  3. Click New Thread at the top right.
  4. Write your post, then choose a category for it.
  5. Click Post.
    In this way, the course staff can provide you with a workaround and this issue can be solved as soon as possible.

Will this thread suffice for resolution of the issue?

Please click my name and message your notebook as an attachment.

Sent notebook as attachment

Thanks akrishta.
I’ve replied to your message about # grade-up-to-here tag. Could you remove all instances of the tag and try again? If that doesn’t work, reply on that direct message thread with your updated notebook and grader feedback.

Before exercise 6, this function is defined:
def calculate_and_display_anomalies(statistics, schema):

In your notebook, you’re redefined this function incorrectly with this signature
def calculate_and_display_anomalies(statistics, stats_options):
at a later cell.

Please don’t do this.
Please refresh your workspace and try again.
See Refresh your Lab Workspace section here

Hi, I’m having a similar issue with the grader for the first exercise.


Try refreshing the notebook. I re-did the assignment after refreshing the notebook.

H​ow to Refresh your Workspace:

O​ption 1 - 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)