mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-06 03:27:44 +00:00
refactor: move strategy_orchestrator and optuna_optimizer to closed-source (local/)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user