{'teams': {0: {'team_name': 'search', 'agent': 'search.py', 'url': 'https://github.com/COMP90054-2025-Semester1/assignment-1-search-Jack-Gardiner.git', 'commit_id': '025b56ae114b9fc3f088108dcc844beb6bba9f5c', 'git_status': True, 'comments': 'N/A', 'submitted_time': '24/03/2025 15:52:09', 'copy_files': True}}} Traceback (most recent call last): File "/code/assignment1/code_base/searchTestClasses.py", line 903, in execute path = func_timeout(self.timeout, test_search.astar, args=(problem, heuristic)) File "/usr/local/lib/python3.8/site-packages/func_timeout/dafunc.py", line 108, in func_timeout raise_exception(exception) File "/usr/local/lib/python3.8/site-packages/func_timeout/py3_raise.py", line 7, in raise_exception raise exception[0] from None File "/code/assignment1/code_base/testSearch.py", line 34, in aStarSearch myPQ.push(startNode, heuristic(startState, problem)) File "/code/assignment1/code_base/search.py", line 225, in foodHeuristic i = coord_map[c1] KeyError: (1, 2) before grades Starting on 3-24 at 5:00:54 after grades Question part1 ============== *** Search time: 0:00:03.225539 *** FAIL: marking/part1/food_heuristic_grade_tricky.test *** expanded nodes: 6923 *** thresholds: [15000, 12500, 10000, 4200] *** FAIL: marking/part1/hidden_heuristic_grade.test ### Question part1: 0.80/2 ### Question part2 ============== *** PASS: marking/part2/graph_manypaths.test *** solution: ['1:A->C', '0:C->D', '1:D->F', '0:F->G'] *** expanded_states: ['A', 'B1', 'C', 'D', 'E1', 'F', 'A', 'B2', 'C', 'D', 'E2', 'F', 'A', 'B1', 'C', 'D', 'E1', 'F', 'A', 'B2', 'C', 'D', 'F', 'A', 'B1', 'C', 'D', 'F', 'A', 'B2', 'C', 'D', 'F', 'A', 'B1', 'C', 'D', 'F', 'A', 'C', 'D', 'F', 'A', 'C', 'D', 'F'] *** PASS: marking/part2/lrta_0.test *** solution: ['Right', 'Down', 'Down'] *** expanded_states: ['A', 'B', 'D', 'G', 'D', 'A', 'B', 'C', 'B', 'D', 'A', 'B', 'D', 'A', 'B', 'D'] *** PASS: marking/part2/lrta_1_good_heuristic.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'B', 'C', 'A', 'B', 'C', 'A', 'D', 'E', 'D', 'E', 'A', 'B', 'C', 'A', 'B', 'C'] *** PASS: marking/part2/lrta_2_bad_heuristic.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'D', 'E', 'D', 'E', 'D', 'E', 'D', 'E', 'D', 'A', 'B', 'C', 'A', 'B', 'C'] *** PASS: marking/part2/lrta_3_hidden.test *** solution: ['0', '0', '2'] *** expanded_states: ['S', 'A', 'C', 'S', 'D', 'C', 'S', 'A', 'C', 'S', 'A', 'C', 'S', 'A', 'C'] *** PASS: marking/part2/lrta_4_hidden.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'B', 'C', 'A', 'B', 'C', 'A', 'B', 'C', 'A', 'B', 'C'] ### Question part2: 3.00/3 ### Question part3 ============== *** PASS: marking/part3/graph_manypaths.test *** solution: ['1:A->C', '0:C->D', '1:D->F', '0:F->G'] *** expanded_states: ['A', 'B1', 'C', 'D', 'E1', 'F', 'A', 'B2', 'C', 'D', 'E2', 'F', 'A', 'B1', 'C', 'D', 'E1', 'F', 'A', 'B2', 'C', 'D', 'F', 'A', 'B1', 'C', 'D', 'F', 'A', 'B2', 'C', 'D', 'F', 'A', 'B1', 'C', 'D', 'F', 'A', 'C', 'D', 'F', 'A', 'C', 'D', 'F'] *** PASS: marking/part3/lrta_0.test *** solution: ['Right', 'Down', 'Down'] *** expanded_states: ['A', 'B', 'A', 'B', 'D', 'B', 'D', 'A', 'B', 'G', 'D', 'B', 'G', 'D', 'D', 'A', 'B', 'C', 'B', 'C', 'A', 'B', 'B', 'B', 'D', 'A', 'B', 'D'] *** PASS: marking/part3/lrta_1_good_heuristic.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'B', 'C', 'B', 'C', 'A', 'A', 'D', 'E', 'D', 'E', 'A', 'D', 'D', 'E', 'A', 'A', 'B', 'C'] *** PASS: marking/part3/lrta_2_bad_heuristic.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'D', 'E', 'D', 'E', 'A', 'D', 'E', 'A', 'D', 'E', 'D', 'E', 'A', 'D', 'D', 'E', 'A', 'A', 'B', 'C', 'A', 'B', 'C'] *** PASS: marking/part3/lrta_3_hidden.test *** solution: ['0', '0', '2'] *** expanded_states: ['S', 'A', 'S', 'A', 'C', 'A', 'C', 'S', 'S', 'D', 'S', 'D', 'C', 'S', 'A', 'C'] *** PASS: marking/part3/lrta_4_hidden.test *** solution: ['1:A->B', '0:B->C', '0:C->G'] *** expanded_states: ['A', 'B', 'C', 'A', 'B', 'C', 'A', 'B', 'C', 'A', 'B', 'C'] ### Question part3: 2.00/2 ### Finished at 5:00:58 Provisional grades ================== Question part1: 0.80/2 Question part2: 3.00/3 Question part3: 2.00/2 ------------------ Total passed test cases: 5.80/7