TradingAgents/orchestrator/tests
陈少杰 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
..
__init__.py test(orchestrator): unit tests for SignalMerger, LLMRunner._map_rating, QuantRunner._calc_confidence 2026-04-09 22:07:21 +08:00
test_application_service.py Harden executor configuration and failure contracts before further rollout 2026-04-14 01:54:44 +08:00
test_contract_v1alpha1.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00
test_fundamentals_analyst.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00
test_live_mode.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
test_llm_runner.py Keep research degradation visible while bounding researcher nodes 2026-04-14 03:49:33 +08:00
test_market_calendar.py Harden executor configuration and failure contracts before further rollout 2026-04-14 01:54:44 +08:00
test_profile_ab.py Make A/B trace comparisons easier to trust during profiling 2026-04-14 05:12:13 +08:00
test_profile_stage_chain.py omx(team): auto-checkpoint worker-2 [unknown] 2026-04-14 04:47:52 +08:00
test_provider_adapter.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00
test_quant_runner.py Carry Phase 4 rollout-readiness work back into the mainline safely 2026-04-14 01:15:18 +08:00
test_signals.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00
test_trading_graph_config.py Stabilize TradingAgents contracts so orchestration and dashboard can converge 2026-04-13 17:25:07 +08:00