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 "inference.py", line 131, in getPositionDistributionHelper
    jail = self.getJailPosition()
TypeError: getJailPosition() missing 1 required positional argument: 'i'

During handling of the above exception, another exception occurred:

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 ge

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([((10, 3), 0.6065999999999998), ((9, 3), 0.15160000000000012), ((12, 3), 0.0342), ((11, 3), 0.1440000000000001), ((13, 3), 0.010000000000000004), ((7, 3), 0.012800000000000004), ((8, 3), 0.033599999999999984), ((14, 3), 0.0024000000000000002), ((5, 3), 0.001), ((6, 3), 0.0028000000000000004), ((4, 3), 0.0002), ((15, 3), 0.0006000000000000001), ((16, 3), 0.0002), ((3.0, 3.0), 0.0)])
dict_items([((7.0, 3.0), 0.0262), ((8.0, 3.0), 0.087), ((3.0, 3.0), 0.0002), ((13.0, 3.0), 0.0152), ((15.0, 3.0), 0.001), ((16.0, 3.0), 0.0002), ((9.0, 3.0), 0.284), ((11.0, 3.0), 0.1642), ((6.0, 3.0), 0.007), ((4.0, 3.0), 0.0004), ((14.0, 3.0), 0.006), ((10.0, 3.0), 0.3562), ((12.0, 3.0), 0.0508), ((5.0, 3.0), 0.0016)])
*** None) Distribution deviated at move 2 by 0.0840 (squared norm) from the correct answer.
      key:     student                  reference                
   (7, 3):     0.012800000000000004     0.0262                   
   (8, 3):     0.033599999999999984     0.087                    
(3.0, 3.0):    

JOJ Answer

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