C1W2_Assignment Assignment 1 Error

Hi all, any help here? When I run the test (w2_unittest.test_row_echelon_form(row_echelon_form)) for exercise 1, the output is “All tests passed”. However, when I submit the notebook for grading, it gives me 0 grade saying “Unable to find object required for grading in your code.”

Would appreciate your help!

Hi!

Did you delete any cell on your notebook? Deleting graded cells and/or using other cells to write the graded functions will cause the autograder to break, as it searches a specific cell containing the graded function.

In this case I recommend saving your solutions and then refreshing your workspace to get a fresh copy of it, then you copy your solution in each graded cell.

Cheers,
Lucas

Please, i submitted my C1W1 Assignment. Graded 0 with this message (There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
No module named ‘unittests’) Please help!

@Anthony_Eri, there are no graded assignments in M4ML Course 1 Week 1.
Please verify which course, week and assignment you are working on.

hi, i submitted my w2 assignment linear algebra for ml and ds. it pass the test case in notebook. but i can’t receive my grade. still showing 0 percentage

@yashvanthraj778

Kindly post a screenshot of your submission grader output with the details showing showing submission grader on why you failed your assignment.

Passing all the test and yet failing on the grade submission could be because of any of the following

  1. You renamed your assignment notebook.
  2. you made changes outsider the assigned markers ###START AND END CODE HERE###
  3. you added or deleted any cell in the assignment.
  4. you are working on obselete (old) copy. Check log by clicking on :question: if you are working on a latest copy
  5. You have hard-coded your path codes to get the expected output than what the autograder is expecting you to follow the instructions.
  6. You are codes might have an error especially with discrepancy in local and global variables recall.

Regards
DP

please don’t post codes on public post.

By the images seems like you edited out the assignment. Get a fresh copy of assignment and re do the assignment.

Also remove the images as images contains codes grade cell.

make sure you write codes only between assigned markers ###,START AND END CODE HERE,###

Do not add any import statement by yourself other than already given at the beginning of assignment.

Do not delete or add or edit any other instructions or statments outside these markers for successful submission.

The grader output you show is not helpful. The question is what it shows if you click on the individual function items like this:

But it will probably be necessary to look at your notebook to figure out the problem. I will send you a DM about how to do that.

okay