Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
*** FAIL: ./test_cases/q3/4-question-3.4.test *** Policy not correct. *** Student policy at (0, 1): east *** Correct policy at (0, 1): north *** Student policy: *** E E E E S *** N . E E S *** S . X . X *** E E E E N *** X X X X X *** Legend: N,S,E,W at states which move north etc, X at states which exit, *** . at states where the policy is not defined (e.g. walls) *** Correct policy specification: *** _ _ _ _ _ *** _ _ _ _ _ *** _ _ _ _ _ *** N _ _ _ _ *** _ _ _ _ _ *** Legend: N,S,E,W for states in which the student policy must move north etc, *** _ for states where it doesn't matter what the student policy does. *** Gridworld: *** _ _ _ _
JOJ Answer
*** PASS: ./test_cases/q3/4-question-3.4.test