-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisolation-result-238236.json
16 lines (16 loc) · 7.62 KB
/
isolation-result-238236.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"critiques": {
"680": {
"rubric_items": {
"5510": {
"result": "failed",
"observation": "Not all of the tests passed.\n\n```\n************************************************************************\n Test Failure Feedback \n************************************************************************\n\nFailed Test: 2. Test functionality of MinimaxPlayer.minimax()\n----------------------------------------------------------------------\nAssertionError: False is not true : Your MinimaxAgent.minimax function did not visit every node in the game tree as player 1. First check for off-by-one errors in your handling of the depth limiting. Then, especially if the number of nodes explored by your agent is too low, check everywhere you call to game.get_legal_moves() to make sure you are getting the legal moves for the appropriate player at each level of the game tree. Finally, you may be using non-standard search optimizations that are not supported by the test cases. The range of expansions accepted will vary slightly within the range indicated based on your termination condition.\n\nExpected number of visited nodes -- min: 29 max: 29\nNumber of nodes your agent explored: 110\n\nTest Case Details:\n------------------\nHeuristic: center_distance\nDepth limit: 2\nInitial Board State:\n 0 1 2 3 4 5 6 7 8\n0 | | | | | | | | | | \n1 | | | - | | - | | | | | \n2 | | | - | | 1 | - | 2 | | | \n3 | | | | - | - | | | | | \n4 | | | - | - | - | - | | | | \n5 | | | | | - | | - | | | \n6 | | | - | | - | | | | | \n7 | | | | | | | | | | \n8 | | | | | | | | | | \n\ngame._board_state:\n[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 38]\n\n\n\nFailed Test: 3. Test that minimax() raises SearchTimeout when the timer expires\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 277, in minimax\n key=lambda m: min_value(self,game.forecast_move(m),depth=depth-1))\n File \"/home/grader/isolation/workspace/game_agent.py\", line 277, in <lambda>\n key=lambda m: min_value(self,game.forecast_move(m),depth=depth-1))\n File \"/home/grader/isolation/workspace/game_agent.py\", line 249, in min_value\n v = min(v, max_value(self,game.forecast_move(m),depth=depth))\n File \"/home/grader/isolation/workspace/game_agent.py\", line 266, in max_value\n raise SearchTimeout()\nworkspace.game_agent.SearchTimeout\n\n\nFailed Test: 5. Test interface of AlphaBetaPlayer.alphabeta()\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 370, in alphabeta\n raise NotImplementedError\nNotImplementedError\n\n\nFailed Test: 6. Test the interface of AlphaBetaPlayer.get_move()\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 319, in get_move\n raise NotImplementedError\nNotImplementedError\n\n\nFailed Test: 7. Test functionality of AlphaBetaPlayer.alphabeta()\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 370, in alphabeta\n raise NotImplementedError\nNotImplementedError\n\n\nFailed Test: 8. Test that alphabeta() raises SearchTimeout when the timer expires\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 370, in alphabeta\n raise NotImplementedError\nNotImplementedError\n\n\nFailed Test: 9. Test iterative deepening in AlphaBetaPlayer.get_move()\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/grader/isolation/workspace/game_agent.py\", line 319, in get_move\n raise NotImplementedError\nNotImplementedError\n\n\nFailed Test: 10. Test that AlphaBetaPlayer successfully plays a full game\n----------------------------------------------------------------------\nTraceback (most recent call last):\nNotImplementedError\n\nDuring handling of the above exception, another exception occurred:\n\nAssertionError: Your agent raised an error while attempting to play a complete game against another agent. Make sure that your agent can play an entire game -- including selecting initial moves on an empty board.\nException: \n\n\n************************************************************************\n Test Result Summary \n************************************************************************\n\n1. Test output interface of MinimaxPlayer.minimax(): .\n2. Test functionality of MinimaxPlayer.minimax(): F\n3. Test that minimax() raises SearchTimeout when the timer expires: E\n4. Test that MinimaxPlayer successfully plays a full game: .\n5. Test interface of AlphaBetaPlayer.alphabeta(): E\n6. Test the interface of AlphaBetaPlayer.get_move(): E\n7. Test functionality of AlphaBetaPlayer.alphabeta(): E\n8. Test that alphabeta() raises SearchTimeout when the timer expires: E\n9. Test iterative deepening in AlphaBetaPlayer.get_move(): E\n10. Test that AlphaBetaPlayer successfully plays a full game: F\n11. Test output interface of custom_score(): .\n12. Test output interface of custom_score_2(): .\n13. Test output interface of custom_score_3(): .\n\n------------------------------------------------------------------------\n . - Test Passed F - Test Failed E - Error \n\n```"
},
"7303": {
"result": "failed",
"observation": "Not all of the tests passed.\n\n```\n************************************************************************\n Test Failure Feedback \n************************************************************************\n\nFailed Test: 14. Submission includes heuristic_analysis.pdf\n----------------------------------------------------------------------\nAssertionError: False is not true : You must submit a report named heuristic_analysis.pdf for review.\n\n\nFailed Test: 15. Submission includes research_review.pdf\n----------------------------------------------------------------------\nAssertionError: False is not true : You must submit a report named research_review.pdf for review.\n\n\n************************************************************************\n Test Result Summary \n************************************************************************\n\n14. Submission includes heuristic_analysis.pdf: F\n15. Submission includes research_review.pdf: F\n\n------------------------------------------------------------------------\n . - Test Passed F - Test Failed E - Error \n\n```"
}
}
}
}
}