Team Software Engineering with AI

when I am running the Challenge on course [Team Software Engineering with AI]

  • identifying-and-fixing-bugs-in-code-using-llms

all my testcase are passed on notebook however I am getting the error
Unable to find object required for grading in your code

Failed test case: DoublyLinkedListFixed does not have add_node method. Aborting unittests.
Expected:
None,
but got:
None.
anyone know about this ?

Anyone is able to fix it , what am I doing wrong ?
For me is_palindrome_fixed and StackFixed are accepted, dijkstra_fixed and DoublyLinkedListFixed are rejected. All problems pass all tests when running in the notebook. I tried Rebooting, Updating the work space, I remove all extra cells, I saved the notebook. Makes no difference. What else can I try?

Typically this error means you have made some other changes to the notebook that prevent the grader from working correctly.

Often this is caused by adding, deleting, moving, or otherwise modifying some of the code cells that the grader relies on.

Also, please be sure that you have not renamed the notebook you’re trying to grade.

The grader always uses the notebook with the original file name.

is there a way I can reset everything in the Notebook as i have taken the backup of my changes and want to give a fresh start

  • Use the File menu to rename your current notebook.
  • Use the Lab Help tool and use the “Get latest version” command.
    Then exit and restart the lab.

The “Lab Help” tool is the question-mark inside a circle, in the upper right corner of your browser.

Tips:

  • Do not use your original file for anything except reference - do not copy-and-paste anything from it except for just the code you added to the marked locations in the file.

  • Be extremely careful that you do not modify anything outside of the areas marked for your code.

  • Before you submit for grading, restart the kernel and run all of the cells again, starting from the top. Verify that all your results match the expected values.

Note that the “Get latest version” tool will only replace missing files - it will not overwrite any existing file. This is why you must rename (or delete) your original notebook.

1 Like

thanks it worked

2 Likes