TradingAgents/orchestrator
陈少杰 a81f825203 Make A/B trace comparisons easier to trust during profiling
The minimal offline harness now carries forward source-file and trace-schema
metadata, and it can break ties using error counts instead of only elapsed
runtime and degraded-research totals. This keeps Phase 1-4 profile comparisons
self-describing when multiple dumps are aggregated.

Constraint: Keep the harness offline and avoid changing the default runtime path
Rejected: Add a live dual-run executor | would couple profiling to external LLM calls and increase risk
Confidence: high
Scope-risk: narrow
Directive: Preserve the trace dump shape as the source of truth for future comparison tooling
Tested: uv run python inline assertions for orchestrator.tests.test_profile_ab
Tested: uv run python CLI smoke test for orchestrator.profile_ab with temp traces
Tested: uv run python -m compileall orchestrator/profile_stage_chain.py orchestrator/profile_trace_utils.py orchestrator/profile_ab.py orchestrator/tests/test_profile_ab.py
2026-04-14 05:12:13 +08:00
..
contracts Harden executor configuration and failure contracts before further rollout 2026-04-14 01:54:44 +08:00
data Harden executor configuration and failure contracts before further rollout 2026-04-14 01:54:44 +08:00
examples feat(orchestrator): example scripts for backtest and live mode 2026-04-09 22:12:02 +08:00
tests Make A/B trace comparisons easier to trust during profiling 2026-04-14 05:12:13 +08:00
__init__.py feat(orchestrator): add signals.py and config.py 2026-04-09 21:35:31 +08:00
backtest_mode.py fix(review): api_key→anthropic_key bug, sync-in-async event loop block, orchestrator per-message re-init, dead code cleanup 2026-04-09 22:55:36 +08:00
config.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00
live_mode.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
llm_runner.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
market_calendar.py Harden executor configuration and failure contracts before further rollout 2026-04-14 01:54:44 +08:00
orchestrator.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
profile_ab.py Make A/B trace comparisons easier to trust during profiling 2026-04-14 05:12:13 +08:00
profile_stage_chain.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
quant_runner.py Carry Phase 4 rollout-readiness work back into the mainline safely 2026-04-14 01:15:18 +08:00
signals.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00