将根目录引擎迁入 chanlun/ 并保留兼容 shim;拆分 TF_DF 与 web 服务; 前端模块化;strategies 改用 chanlun 导入;补充 ESS 文档与 golden 回归。 Co-authored-by: Cursor <cursoragent@cursor.com>
717 B
717 B
TEST_REPORT — ECR-001
Date: 2026-08-05
Commands
python tests/generate_golden.py --check
python -m pytest tests/test_golden_pipeline.py web/tests/test_analyze_contract.py -q
python -c "from ChanLun import ChanLun, TF_DF; from ChanEnum import Chan_BI_DIR"
Results
| Case | Result |
|---|---|
| Golden pipeline | PASS(counts klu=400 klc=208 bi=14 seg=2 zs=0 bsp=3) |
| Shim imports | PASS |
| Analyze contract keys + routes | PASS |
| pytest suite above | 5 passed |
git diff config strategies |
empty(无改动) |
Notes
- Golden 经 CSV 往返 + 浮点 round(10) 稳定化
- 行情服务不可达时 metadata refresh 会警告,不影响路由注册测试