caelum0x b5749ab837 fix: remove hardcoded secrets, add tests, fix PCA bug, pin deps
- Remove hardcoded FRED API key from autoresearch/prepare.py and
  thesis_portfolio_opt/research/experiment.py; load from .env via
  python-dotenv at module level instead
- Add .env.example at root and update MiroFish/.env.example with
  CORS_ORIGINS and FRED_API_KEY documentation
- Replace autoresearch/pyproject.toml: remove unused LLM deps
  (torch, rustbpe, tiktoken), add actual deps (scikit-learn,
  lightgbm, xgboost, fredapi, yfinance, cvxpy)
- Fix PCA backtest bug in autoresearch/train.py: propagate fitted
  PCA/scaler transform through model dict so run_oos_backtest
  replays the same transform on live rows (B10 no longer crashes)
- Fix MiroFish CORS wildcard: read allowed origins from CORS_ORIGINS
  env var, default to localhost dev origins
- Add MiroFish test suite (36 tests): config validation, file
  parser, text processor, task manager, API health/blueprints
- Pin upper bounds on thesis_portfolio_opt/requirements.txt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 20:16:45 +03:00

0 lines
0 B
Python

The file is empty.