I got Error

in function- ---- def row_echelon_form(A, B): i got error when submitting assignment , also All tests passed

Error : There was an error grading your submission. Details:
all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 4 and the array at index 1 has size 8

hi @bouji

can you DM me screenshot of the test cell you are failing.

please make sure not to post any codes here as it is against community guidelines.

image

send me screenshots of grade function code cells you didn’t pass in the score board you just shared here. send it by personal DM only

@bouji

I noticed you have edited too much part of assignment sections which you weren’t suppose to do.

Get a fresh copy and re-do your assignment. This time make sure only to replace None placed between the markers ###START AND END CODE HERE###

Please make sure not edit out any of the instructions as that caused you to missed out one of the code step where you swap the row. You also didn’t use function while to get indexing of first non-zero value below the pivot candidate.

Here is a link on how to get a fresh copy, refer topic 1a in the linked comment

Regards
DP

In general, do not rely on the in-notebook tests to prove your code’s perfection.

The in-notebook tests are not complete coverage, and the grader uses entirely different tests.

So your code must work in any circumstances.