C1M3 Assignment - how to debug and run before submit

When I placed my code under exercise, but when I ran below test code section below, nothing happened.
Can anyone guide me on how to complete my assessment with the test before submitting?

Which course are you attending?
You posted in the “AI Discussions” thread, but that’s not specific to any course.

After you added your code to a cell, did you then run the cell so your code becomes active?

Yes, post that I ran the code but that will go to the next cell, and it nothings returns any output.

Does that cell contain any code that would cause an output?

No, it only moves to the next cell. Also, I replaced the code in the assignment cell.
Give me step for debug or test before submit

What does that mean exactly?

And, please say what course you’re attending. That will let me move this thread to a forum for that course (where one of its mentors will be more likely to find it).

course name
Introduction to Generative AI for Software Development

Post a screenshot here so we know where exaclty this issue is happening?

why I am getting below error msg
You are submitting a version of the assignment that is behind the latest version.
The latest version is 2 and you are on version None.
Please refresh your workspace to get a new copy of the assignment. Follow the instructions in the course item called ‘(Optional) Downloading your Notebook and Refreshing your Workspace.’

The grader looks at your notebook metadata to determine what version your notebook is, and if it matches what the grader can accept.

In your case, the grader is looking for “version 2”, but your notebook appears to be missing the version ID metadata.

The most common reason this might happen is if you have modified your notebook in a way that caused some of the metadata to be corrupted.

1 Like

Try, to reset the assignment from the question mark on the top right corner and then “Get Latest Version” but rename this one one first with a different name.

Then solve the new one!

1 Like