TradingAgents/docs
ahmet guzererler c1194b7f77
feat: Fast-Reject [CRITICAL ABORT] short-circuit mechanism (#128)
* chore: initial commit for feat/fast-reject-short-circuits branch

* test: fix fast-reject unit tests (25/25 passing)

- Fix test_normal_flow_without_abort: expected 'Bull Researcher' not
  'Bear Researcher' — when current_response is empty the conditional
  logic routes to Bull first (conditional_logic.py line 74)
- Analyst abort-instruction tests: replace closure-attribute hacks
  (market_analyst.llm = ...) with patch() on prefetch_tools_parallel
  and run_tool_loop so the tests run without network access
- Fix co_consts substring check: system_message is compiled into one
  large string constant, so use any(...in str(c)...) instead of direct
  tuple membership
- PM tests: create mock_llm before create_portfolio_manager so the
  closure captures it and mock_llm.invoke.called assertions work; add
  missing company_of_interest key to all state dicts
- Integration tests: merge analyst/PM node outputs back into state
  ({**state, **result}) instead of replacing it, preserving keys like
  fundamentals_report and investment_debate_state; patch network calls;
  fix normal-flow routing assertions to != 'Portfolio Manager' since
  the exact next node depends on transient debate state
2026-03-27 00:19:43 +01:00
..
agent feat: Fast-Reject [CRITICAL ABORT] short-circuit mechanism (#128) 2026-03-27 00:19:43 +01:00
portfolio Add stop_loss and take_profit fields to Trade entries in database, API, and UI 2026-03-23 21:12:01 +00:00
FINANCIAL_TOOLS_ANALYSIS.md Add financial tools analysis doc and fix YoY revenue growth bug in TTM analysis 2026-03-21 16:57:21 +00:00
agent_dataflow.md feat(scanner): Finviz smart money scanner + Golden Overlap strategy 2026-03-24 16:03:17 +01:00
finnhub_evaluation.md feat: Finnhub integration layer, 141 tests, and vendor evaluation report (#16) 2026-03-18 11:28:43 +01:00
testing.md Fix: websocket emits "Run completed." on failed runs, masking errors in frontend (#102) 2026-03-24 18:06:48 +01:00
upstream_pr_review.md docs: add upstream PR review with evaluations and recommendations (2026-03-23) 2026-03-23 11:53:53 +00:00