C1M3 (Programming Assignment: Creating a Flow for Automatic Code Review)

Hi there,

I’ve been trying to close out the assignment in module 3. However, exercise 7 keeps timing out on the grader.

I keep getting an “unexpected error” for exercise 7, when the grading takes place.

I believe there is an issue with the grader for exercise 7.

Can someone please review the grader tests for exercise 7?

Hey @MattP! I just retried the lab, and I’m not being able to reproduce the issue. Is it only exercise 7 that you are having issues with? If that’s the case, I think you might have changed the names of some variables you weren’t supposed to.

In the full_crew_review function:

  • You have this line code_review_crew = CodeReviewCrew().crew(). If you changed code_review_crew name, then that explains the error in the grader.
  • Then, when you kickoff the crew, you save the results in the result variable result = code_review_crew......, you also shouldn’t change this variable’s name.

Please check if this is the case, and whether this solved the issue.

Thanks,

I’ve currently got in my code (exercise 7):

code_review_crew = CodeReviewCrew().crew()

And for the results I have in my code:

result = code_review_crew.kickoff(inputs={‘file_content’:pr_content)

Are these the wrong variable names?

I didn’t think I changed them if that’s the case.

If I’ve changed these and was not supposed to, can I reset my workbook to start again?

These seem correct… the only way I was able to reproduce was by changing these variable’s names. If you want you can send (by private DM) your code, and I can take a look at what’s going on. One other thing I forgot to ask, are you on the DeepLearning plarform or on Coursera?