ea403ec2d5c78922cb4910bd9cd21a66e598a2e7
Avvolge LLMClient.complete con tenacity (3 attempts, backoff esponenziale 2-10s) che ritenta solo su errori transient di OpenAI/Anthropic SDK (APIConnectionError, APITimeoutError, InternalServerError). RateLimit, Authentication e 4xx non vengono ritentati. reraise=True preserva l'eccezione originale dopo l'esaurimento dei tentativi. Aggiunti 2 test (marker slow): esaurimento retry su APIConnectionError e successo al secondo tentativo dopo APITimeoutError. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Multi_Swarm_Coevolutive — Phase 1
Lean spike del PoC. Vedi docs/superpowers/specs/2026-05-09-decisione-strategica-design.md
per il razionale e docs/superpowers/plans/2026-05-09-phase1-lean-spike.md per il
piano implementativo.
Setup
uv sync
cp .env.example .env # compilare token e API key
uv run pytest # verifica che tutto installi
Cerbero locale
Phase 1 backtest legge dataset OHLCV cached, ma alcune feature di indicatore sono delegate a Cerbero. Avviare Cerbero locale prima di eseguire un run:
cd /home/adriano/Documenti/Git_XYZ/CerberoSuite/Cerbero_mcp
docker compose up -d
Comandi principali
uv run pytest # tutti i test
uv run pytest tests/unit -v # solo unit
uv run pytest tests/integration -v -m integration # solo integration
uv run python scripts/run_phase1.py # run completo Phase 1
uv run streamlit run src/multi_swarm/dashboard/streamlit_app.py
Description
Languages
Python
100%