refactor: move strategy_orchestrator and optuna_optimizer to closed-source (local/)

This commit is contained in:
TPTBusiness
2026-05-03 21:38:09 +02:00
parent 1e7d4b76a0
commit cc265d6045
5 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ class TestStrategyOrchestratorSyntax:
def test_module_imports(self):
"""Verify StrategyOrchestrator can be imported after syntax fix."""
from rdagent.components.coder.strategy_orchestrator import StrategyOrchestrator
from rdagent.scenarios.qlib.local.strategy_orchestrator import StrategyOrchestrator
assert StrategyOrchestrator is not None
@@ -263,7 +263,7 @@ class TestRebacktestBareExcept:
class TestAllImportsDontCrash:
def test_strategy_orchestrator_imports(self):
"""Verify all fixed modules import without errors."""
import rdagent.components.coder.strategy_orchestrator # noqa: F401
# moved to local/ # noqa: F401
def test_factor_runner_imports(self):
import rdagent.scenarios.qlib.developer.factor_runner # noqa: F401
@@ -278,4 +278,4 @@ class TestAllImportsDontCrash:
import rdagent.scenarios.qlib.developer.model_runner # noqa: F401
def test_optuna_optimizer_imports(self):
import rdagent.components.coder.optuna_optimizer # noqa: F401
# moved to local/ # noqa: F401