Skip to content
Snippets Groups Projects
Commit 241b5af8 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

still issues with tests or behavior of malfunction

parent 00431259
No related branches found
No related tags found
No related merge requests found
......@@ -437,9 +437,9 @@ def test_multispeed_actions_malfunction_no_blocking():
reward=env.step_penalty * 0.5 # recovered: running at speed 0.5
),
Replay(
position=(3, 7),
position=(3, 8),
direction=Grid4TransitionsEnum.WEST,
action=RailEnvActions.MOVE_FORWARD,
action=None,
reward=env.step_penalty * 0.5 # running at speed 0.5
),
Replay(
......@@ -449,7 +449,7 @@ def test_multispeed_actions_malfunction_no_blocking():
reward=env.step_penalty * 0.5 # running at speed 0.5
),
Replay(
position=(3, 6),
position=(3, 7),
direction=Grid4TransitionsEnum.WEST,
action=RailEnvActions.MOVE_FORWARD,
set_malfunction=2, # recovers in two steps from now!
......@@ -460,14 +460,14 @@ def test_multispeed_actions_malfunction_no_blocking():
Replay(
position=(3, 6),
direction=Grid4TransitionsEnum.WEST,
action=RailEnvActions.MOVE_LEFT,
action=None,
malfunction=1,
reward=env.step_penalty * 0.5 # running at speed 0.5
),
Replay(
position=(3, 6),
direction=Grid4TransitionsEnum.WEST,
action=None,
action=RailEnvActions.MOVE_FORWARD,
reward=env.step_penalty * 0.5 # running at speed 0.5
),
Replay(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment