(self, env)
| 36 | # frames on noop_max + FIRE and breaking long-horizon credit assignment. |
| 37 | class LifeLossTerminalEnv(gym.Wrapper): |
| 38 | def __init__(self, env): |
| 39 | super().__init__(env) |
| 40 | self.lives = 0 |
| 41 | self.game_over = True |
| 42 | |
| 43 | def step(self, action): |
| 44 | obs, reward, terminated, truncated, info = self.env.step(action) |
nothing calls this directly
no outgoing calls
no test coverage detected