Includes core prod + GREEN/BLUE subsystems: - prod/ (BLUE harness, configs, scripts, docs) - nautilus_dolphin/ (GREEN Nautilus-native impl + dvae/ preserved) - adaptive_exit/ (AEM engine + models/bucket_assignments.pkl) - Observability/ (EsoF advisor, TUI, dashboards) - external_factors/ (EsoF producer) - mc_forewarning_qlabs_fork/ (MC regime/envelope) Excludes runtime caches, logs, backups, and reproducible artifacts per .gitignore.
28 lines
684 B
Python
Executable File
28 lines
684 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Test service to validate the setup"""
|
|
import asyncio
|
|
import sys
|
|
sys.path.insert(0, '/mnt/dolphinng5_predict/prod')
|
|
|
|
from services.service_base import ServiceBase
|
|
|
|
class TestService(ServiceBase):
|
|
def __init__(self):
|
|
super().__init__(
|
|
name='test',
|
|
check_interval=5,
|
|
max_retries=3,
|
|
notify_systemd=True
|
|
)
|
|
self.counter = 0
|
|
|
|
async def run_cycle(self):
|
|
self.counter += 1
|
|
self.logger.info(f"Test cycle {self.counter}")
|
|
await asyncio.sleep(2)
|
|
|
|
if __name__ == '__main__':
|
|
print("Starting test service...")
|
|
service = TestService()
|
|
service.run()
|