cleanup and removed dummy data

This commit is contained in:
Dobromir Popov
2025-07-26 23:35:14 +03:00
parent 3eb6335169
commit 87942d3807
14 changed files with 220 additions and 2465 deletions

View File

@ -283,13 +283,16 @@ class TrainingSystemValidator:
if hasattr(self.orchestrator, 'rl_agent') and self.orchestrator.rl_agent:
logger.info(" ✓ RL Agent loaded")
# Test prediction capability
# Test prediction capability with real data
if hasattr(self.orchestrator.rl_agent, 'predict'):
# Create dummy state for testing
dummy_state = np.random.random(1000) # Simplified test state
try:
prediction = self.orchestrator.rl_agent.predict(dummy_state)
logger.info(" ✓ RL Agent can make predictions")
# Use real state from orchestrator instead of dummy data
real_state = self.orchestrator._get_rl_state('ETH/USDT')
if real_state is not None:
prediction = self.orchestrator.rl_agent.predict(real_state)
logger.info(" ✓ RL Agent can make predictions with real data")
else:
logger.warning(" ⚠ No real state available for RL prediction test")
except Exception as e:
logger.warning(f" ⚠ RL Agent prediction failed: {e}")
else: