C2W1 Excersie 8 serving_stats NoneType

My tests passed until Exercise 8

Failed test case: serving_stats has incorrect type…
<class ‘tensorflow_metadata.proto.v0.statistics_pb2.DatasetFeatureStatisticsList’>,
but got:
<class ‘NoneType’>.

However, when I do


The output is
<class ‘tensorflow_metadata.proto.v0.statistics_pb2.DatasetFeatureStatisticsList’>

I get stuck here. I emailed my code to the mentor. Can someone help?

Please check notebook metadata and refresh the workspace if required / in doubt. If that doesn’t help, click my name and message your notebook as an attachment.

Is this still the right notebook to look at?

I checked the metadata and refreshed the workspace. Please note I got the first 7 questions correct.The problem started to show up since the 8th one, so it should not be a problem with the metadata or workspace.
Yes, that this the correct notebook to check.

I’ve noticed notebooks where metadata was absent in a single graded cell that reduced points from that exercise onwards. So, it’s better to check.

I refreshed my workspace and then pasted your answers in the starter code and checked that grader metadata was present in all code cells. The grader awarded 100 upon submission. Please do the same.

Unfortunately, mentors don’t have access to the grader code. So, if you face the same problem again, send me the notebook via a direct message and I’ll ask the staff to look into it.

Your reply reminded me that I put a # grade-up-to-hear somewhere in the code. After removing it the test passed. Thanks.