[CL-AUDIT-TRADING] H12 cleanup: удаление мёртвого затенённого indicators.py #308
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/claude-postaudit-followups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что сделано
backend/app/strategies/indicators.py— мёртвый файл, затенённый пакетомapp/strategies/indicators/(при одинаковом имени Python выбирает пакет; всеfrom . import indicators/from app.strategies.indicators import ...резолвятся в пакет).TRADING-LOGIC-AUDIT.mdfollow-up H12 помечен выполненным; follow-up по унификации leverage caps помечен как требующий sign-off (money-path).Зачем
Follow-up H12 из торгового аудита (PR #303): баг деления в мёртвом файле не имел live-эффекта, но файл вводил в заблуждение при чтении кода и аудитах.
План тестирования
from app.strategies.indicators import atr, adx, ema_slope, rsi— OK (резолв в пакет).pytest -k "indicator or regime or momentum"— 176 passed.pytest -k "synth or features or ml"— 87 passed.ruff check app/strategies app/ml app/services/regime.py— clean.Где могу ошибаться
app/strategies/indicators.py(не через import-систему) — но grep по repo таких ссылок не нашёл.