Autograder transcript for Project 1: Search Starting on 2-12 at 23:38:24 %%% Autograder messages: %%% Question q1 =========== Question q2 =========== Question q3 =========== Question q4 =========== Question q5 =========== Question q6 =========== &&& Question q6 terminated with exception: global name 'i' is not defined. Traceback (most recent call last): File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 71, in grade TimeoutFunction(getattr(gradingModule, q),1200)(self) # Call the question's function File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 30, in __call__ result = self.function(*args) File "searchAutograder.py", line 295, in q6 if not cornerAdmissible(layout, cost, heuristic): File "searchAutograder.py", line 446, in cornerAdmissible return heuristic(startState, problem) <= cost File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/searchAgents.py", line 436, in cornersHeuristic xy2 = corners[i] NameError: global name 'i' is not defined &&& %%% Question q6 terminated with exception: global name 'i' is not defined. %%% %%% Traceback (most recent call last): %%% %%% File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 71, in grade %%% %%% TimeoutFunction(getattr(gradingModule, q),1200)(self) # Call the question's function %%% %%% File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 30, in __call__ %%% %%% result = self.function(*args) %%% %%% File "searchAutograder.py", line 295, in q6 %%% %%% if not cornerAdmissible(layout, cost, heuristic): %%% %%% File "searchAutograder.py", line 446, in cornerAdmissible %%% %%% return heuristic(startState, problem) <= cost %%% %%% File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/searchAgents.py", line 436, in cornersHeuristic %%% %%% xy2 = corners[i] %%% %%% NameError: global name 'i' is not defined %%% %%% %%% Question q7 =========== Passed admissibility test Test 7 Passed admissibility test Test 6 Passed admissibility test Test 5 Passed admissibility test Test 4 Passed admissibility test Test 3 Passed admissibility test Test 2 Passed admissibility test Test 1 Passed admissibility test Test 8 Passed admissibility test Test 9 Passed admissibility test Test 10 Passed admissibility test Test 11 Passed admissibility test Test 13 Passed admissibility test Test 12 Passed non-triviality test Test 12 *** For trickySearch, the A* agent expanded 16685 nodes Thresholds: [15000, 12000, 9000, 7000] %%% -- q7: For trickySearch, the A* agent failed to expand fewer than 15000 nodes, -1 point %%% %%% -- q7: For trickySearch, the A* agent failed to expand fewer than 12000 nodes, -1 point %%% %%% -- q7: For trickySearch, the A* agent failed to expand fewer than 9000 nodes, -1 point %%% %%% -- q7: For trickySearch, the A* agent failed to expand fewer than 7000 nodes, -1 point %%% Passed consistency test Test 7 Passed consistency test Test 6 Passed consistency test Test 5 Passed consistency test Test 4 Passed consistency test Test 3 Passed consistency test Test 2 Passed consistency test Test 1 Passed consistency test Test 8 Passed consistency test Test 9 Passed consistency test Test 10 Passed consistency test Test 11 Passed consistency test Test 13 Passed consistency test Test 12 Passed H > 0 Test 7 Passed H > 0 Test 6 Passed H > 0 Test 5 Passed H > 0 Test 4 Passed H > 0 Test 3 Passed H > 0 Test 2 Passed H > 0 Test 1 Passed H > 0 Test 8 Passed H > 0 Test 9 Passed H > 0 Test 10 Passed H > 0 Test 11 Passed H > 0 Test 13 Passed H > 0 Test 12 %%% -- q7: heuristic failed H(goal) == 0 test Test 1 %%% Question q8 =========== [SearchAgent] using function depthFirstSearch [SearchAgent] using problem type PositionSearchProblem [SearchAgent] using function depthFirstSearch [SearchAgent] using problem type PositionSearchProblem Question extra ============== Method not implemented: getAction *** Extra credit threw an exception Finished at 23:38:28 %%% %%% %%% Autograder scores: %%% +++ MINIMUM SCORE FOR THIS SUBMISSION +++ Question q1: 2/2 %%% -- Question q1: 2/2 %%% Question q2: 1/1 %%% -- Question q2: 1/1 %%% Question q3: 2/2 %%% -- Question q3: 2/2 %%% Question q4: 3/3 %%% -- Question q4: 3/3 %%% Question q5: 2/2 %%% -- Question q5: 2/2 %%% Question q6: 0/3 %%% -- Question q6: 0/3 %%% Question q6 terminated with exception: global name 'i' is not defined. Traceback (most recent call last): File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 71, in grade TimeoutFunction(getattr(gradingModule, q),1200)(self) # Call the question's function File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/grading.py", line 30, in __call__ result = self.function(*args) File "searchAutograder.py", line 295, in q6 if not cornerAdmissible(layout, cost, heuristic): File "searchAutograder.py", line 446, in cornerAdmissible return heuristic(startState, problem) <= cost File "/tmp/svngrading/cse511a_fl19/tmpdirs/project1_danfu/searchAgents.py", line 436, in cornersHeuristic xy2 = corners[i] NameError: global name 'i' is not defined Question q7: 0/5 %%% -- Question q7: 0/5 %%% For trickySearch, the A* agent expanded 16685 nodes -- q7: For trickySearch, the A* agent failed to expand fewer than 15000 nodes, -1 point -- q7: For trickySearch, the A* agent failed to expand fewer than 12000 nodes, -1 point -- q7: For trickySearch, the A* agent failed to expand fewer than 9000 nodes, -1 point -- q7: For trickySearch, the A* agent failed to expand fewer than 7000 nodes, -1 point -- q7: heuristic failed H(goal) == 0 test Test 1 Question q8: 2/2 %%% -- Question q8: 2/2 %%% Question extra: 0/0 %%% -- Question extra: 0/0 %%% Extra credit threw an exception Autograder scores: -- Question q1: 2/2 -- Question q2: 1/1 -- Question q3: 2/2 -- Question q4: 3/3 -- Question q5: 2/2 -- Question q6: 0/3 -- Question q7: 0/5 -- Question q8: 2/2 -- Question extra: 0/0 %%% ------------------- %%% %%% Total: 12/20 %%% 12 %%% %%% %%% Note: This total score represents the autograder's assessment of your project score. This score is never the final word on your grade, but it is a lower bound. The staff may return points mistakenly taken away by the autograder -- let us know if you think the autograder has gone rogue. %%%