|
I had correct code within the The only thing I changed was uncommenting the different scenario lines as required to evaluate different measurements, as shown in the video. In the end, I think I put a comment back with different content within the comment. Should this matter? Originally:
When I submitted it (missing leading white space):
The observed results were identical to those shown by Sebastian during the explanatory video. Could the homework evaluator please be changed to pull my block out, and run it within the pristine question context? Here's my code block:
|
|
Hello, I submitted the following as my answer to homework 2.6 and it was graded as incorrect: P = matrix([[0, 0, 0, 0], F = matrix([[1, 0, dt, 0], H = matrix([[1, 0, 0, 0], R = matrix([[0.1, 0], I = matrix([[1, 0, 0, 0], All the results were EXACTLY equal to what was shown in the explanation video. Is there a bug in the auto-grader? Because I'm sure that my results are correct! And also, wouldn't there be a possibility to make the auto-grader a little more flexible? It seems that your whole homework is graded wrong, if you insert just a single character in a place where you're not supposed to. In my opinion it matters that the code+results are correct. And not that you have every single space exactly like in the solution!!! |
|
Did you make your code in an external interpreter such as IDLE, before copying it in the Udacity editor? If so, maybe you are suffering from the EOL bug I described here: http://www.udacity-forums.com/cs373/questions/14844/hw-26-graded-incorrectly-end-of-line-bug |
post all your code, maybe there is something else ...
@jimgb -- well, I copied my block out (as added above), reset the question, and pasted it back in. The question now passes, and the rest of the code is from the reset version. Unfortunately I cannot get back to the exact version I submitted.
As @xyzzy said, the problem "almost" for sure is "dt" in matrix R.
I believe that if they put "dt" in the "restricted" area, is because they use it for the testings
@jimgb, the grader accepted my code with the
dtin theRmatrix (after the deadline). I know that there's no correlation betweendtand noise, but I'm still not clear on exactly what went wrong. It would be nice if there were more transparency in how the auto-grading worked.You will not get an error for using "dt" in R, the problem is that you are forcing the change on R every time the automatic grading program tried to change only F (by means of changing "dt"), in that case the results from your matrices where not as expected by the grading program