holy fuking shit
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"""低层导航运动学与训练入口的行为回归;不验证策略收益。"""
|
||||
|
||||
import importlib.util
|
||||
import math
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
@@ -59,7 +58,7 @@ def test_expert_reaches_all_200_fixed_seed_targets():
|
||||
|
||||
def test_failed_executor_reports_failure_without_free_terminal_move():
|
||||
class WestPolicy:
|
||||
def select(self, observation):
|
||||
def select(self, _observation):
|
||||
return 4
|
||||
|
||||
executor = LowLevelExecutor(WestPolicy(), max_steps=3)
|
||||
@@ -73,7 +72,7 @@ def test_failed_executor_reports_failure_without_free_terminal_move():
|
||||
|
||||
def test_env_and_executor_share_step_transitions():
|
||||
class EastPolicy:
|
||||
def select(self, observation):
|
||||
def select(self, _observation):
|
||||
return 0
|
||||
|
||||
env = LowLevelEnv(max_steps=3)
|
||||
|
||||
Reference in New Issue
Block a user