Grader Error: Grader feedback not found in C3W1

All the tests for the assignment are failing with the error - " Grader Error: Grader feedback not found"

I have tried refreshing the entire workspace, but it didn’t work. It’s been more than 24 hours already.

Please help!

1 Like

Same issue here , unfortunately : (

I’m Having the same issue :frowning:

Hi @Srishti_Verma & @muhammed_abojabl,

Can you both share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.

Thanks,
Mubsi

1 Like

Hi @Mubsi, do you think you can also address my case? Are you able to see my reply on this thread stating that I have the same issue?
Thanks,
Ioana

1 Like

Hello @Mubsi
My Lab ID is: xqaulcui

Hi @ioanaileana, my apologise, I didn’t seee your reply. Thank you for bringing my attention to it! And yes, please share your lab ID as well.

Thanks @Mubsi, my lab ID is gmflasnp.

Hi @Mubsi my lab id is dscmxtrb

Hi @muhammed_abojabl,

Try submitting your assignment now and let me know what grade you get.

Cheers,
Mubsi

It works! :smiley:
Thanks @Mubsi

Hi @ioanaileana,

I checked the notebook and the issue is in the train_model graded function. You are using a global variable inside the function. The variable you are using is output_dir_expand but this should be passed to the function through the parameter output_dir.

Best,
Mubsi

Hi @Srishti_Verma,

Kindly also make sure you are not using any global variables in your assignment as well. If the issue still remains, let me know.

Best,
Mubsi

Hi @Mubsi, thanks! Could you please explain WHY this lead to that cryptic “no grader output” error for ALL CELLS?

The grader expects parameters. When you use global variables, it loses its logic/mind :stuck_out_tongue:

1 Like

Thanks again @Mubsi ! Is there any way that the grader may be fixed to avoid that ?

Also, is this the only type of issue that causes the “no grader feedback” thingy?

I noticed that in the case of @muhammed_abojabl there seemed to be no bug to be corrected (?) , so was is just a matter of fixing the grader / clearing some cached / stale info in the grader?

I am asking all these questions because I also work on some automatic graders (I am a learner here and I teach elsewhere : ) ) and I know that improper grader output typically gets students very frustrated : )
And there is a handful of people on the Coursera forum (not yet on Discourse) facing the “no feedback” error …

Ioana

Hi @ioanaileana,

We’ll see what we can do about the grader feedback. I have informed the team about it.

The things is, you’d see numerous FAQs by us and our mentors here on Discourse, asking the learners to never use global variables inside of the functions. But alas.

And that’s so cool that you teach!

And incase of @muhammed_abojabl, there were also some things which had to be fixed inside the assignment.

Best,
Mubsi

Hi @Mubsi,

I totally agree with you that mistakenly using global vars instead of the args is bad/buggy/etc.

I just think that if this type of error is the “root cause” of the grader getting mad&dead, then it is worth at least adding some generic output message stating “if the grader fails everywhere w no output, please check whether you have used some global var instead of the args” !

  • especially more so since (1) due to the naming in the notebooks such error may easily happen out of inattention, and (2) “warning” the learners about that does not, imho, provide them with conceptual hints on the assignment that would look like “cheating”!

Also: some of the existent code in the notebooks uses global vars inside functions (see for instance Vocab within predict) , maybe it would be useful to change that so that the learners get exposed to a uniform coding style!

And finally: I had fixed the output_dir issue in my code, submitted once, got again the “no feedback” error, then submitted again W/O CHANGING A THING and got 80/80.
I am a computer scientist, I refuse to believe that the grader is haunted: ))) so for me this pretty much looks like a stateful / cache usage / other “previous states memory” issue - is there really no such issue with the grader?

Thanks again / and a lot for taking the time to have this conversation!

Ioana

1 Like

I completely agree with you @ioanaileana, and we shall try our best to accommodate our learners in the most efficient way possible.

And the pleasure is all mine.

Regards,
Mubsi

Hello,
My id is “viinesbb” … I have no idea why I still have this problem. I’m also facing problems in week2 task…this doesn’t look good!