Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

Traceback (most recent call last):
  File "autograder.py", line 425, in <module>
    runTest(options.runTest, moduleDict, printTestCase=options.printTestCase, display=getDisplay(True, options))
  File "autograder.py", line 228, in runTest
    testCase.execute(grades, moduleDict, solutionDict)
  File "trackingTestClasses.py", line 157, in execute
    run(self.layout_str, pac, ghosts, disp, maxMoves=self.maxMoves)
  File "trackingTestClasses.py", line 250, in run
    games = busters.runGames(lay, pac, ghosts, disp, nGames, maxMoves)
  File "/out/package/busters.py", line 542, in runGames
    game.run()
  File "/out/package/game.py", line 686, in run
    action = agent.getAction(observation)
  File "trackingTestClasses.py", line 413, in getAction
    if not self.firstMove: inf.elapseTime(gameState)
  File "inference.py", line 538, in elapseTime
    jointInference.elapseTime(gameState)
  File "inference.py", line 503, in elapseTime
    gameState, oldParticle, i, self.ghostAgents[i]).sample()
  File "inference.py"

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

dict_items([(0.6666666666666667, 0.2192776876389639), (0.625, 0.09999399074574848), (0.35000000000000003, 0.17216513430683253), (0.4166666666666667, 0.02199387056066343), (0.2666666666666667, 0.028543957694850075), (0.35, 0.013761192236043511), (0.125, 0.07223123610359959), (0.28, 0.005047773571299802), (0.375, 0.041463854335676974), (0.16666666666666669, 0.11687999519259663), (0.6666666666666666, 0.03016645634276788), (0.10000000000000002, 0.0825070608737456), (0.08, 0.0036656450934439036), (0.16666666666666666, 0.014782765458806572), (0.2799999999999999, 0.010636380025238869), (0.22399999999999992, 0.001742683732948741), (0.225, 0.0022835166155880057), (0.27999999999999997, 0.003545460008412956), (0.1, 0.007451475271918755), (0.26666666666666666, 0.009254251547382974), (0.14, 0.0006009254251547383), (0.10000000000000003, 0.0013220359353404243), (0.23199999999999998, 0.003545460008412956), (0.09999999999999998, 0.0007812030527011598), (0.08000000000000002, 0.0026440718706808486), (1.0, 0.007751937984496124),

JOJ Answer

*** None) Joint particle filter elapseTime test: 0 inference errors.
*** PASS: ./test_cases/q10/2-JointParticlePredict.test