claude_dev
|
701c0d90ad
|
fix(docker): peewee钉版移出主清单改Dockerfile末步显式降级——二次构建实证peewee==3.17.3入主清单与vnpy_sqlite声明>=3.17.9互斥仍ResolutionImpossible(resolver不放过显式pin);改为主清单由resolver装满足版+末步pip install peewee==3.17.3单装降级(只校验自身依赖,VPS生产实证对齐);empyrical-reloaded同思路已在--no-deps步 [nas]
CI/CD / test (push) Successful in 19s
CI/CD / nas-deploy (push) Successful in 39s
CI/CD / nas-verify (push) Successful in 12s
|
2026-08-15 09:09:06 +08:00 |
|
claude_dev
|
64b10fda41
|
fix(docker): 解开lock隐藏依赖死锁——empyrical-reloaded0.5.12元数据伪依赖peewee<3.17.4与vnpy_sqlite的>=3.17.9互斥,单次pip install -r必ResolutionImpossible(三机一直是分次安装掩盖,2026-08-15容器重建首次触发;实测empyrical包体零引用peewee);修法=empyrical-reloaded移出主清单由Dockerfile第二步--no-deps单独装(真依赖bottleneck1.6.0/numpy/pandas/scipy主清单已钉),peewee==3.17.3+bottleneck==1.6.0按VPS生产实证钉入;lock同款警告注释 [nas]
CI/CD / test (push) Failing after 10m25s
CI/CD / nas-deploy (push) Has been skipped
CI/CD / nas-verify (push) Has been skipped
|
2026-08-15 08:39:23 +08:00 |
|
claude_dev
|
75454a7f55
|
fix(docker): requirements-docker全量==钉版对齐requirements-lock——根治>=浮动致容器系统性偏新(TA-Lib0.7.1/empyrical-reloaded0.5.9+遗留empyrical0.5.5双装/pyarrow25/fastapi0.141/lightgbm4.7/torch2.13 vs lock 0.6.8/0.5.12/24.0.0/0.139.0/4.6.0/2.12.1),消除'NAS绿≠VPS版本'等价性窗口;empyrical>=0.5.5换empyrical-reloaded==0.5.12根治双装;容器专属差异保留(无akshare采集在VPS/无pytest跑在Mac runner/polars[rtcompat]防NAS无AVX2 SIGILL);文件头注明版本源=lock需同步 [nas]
CI/CD / test (push) Successful in 14s
CI/CD / nas-deploy (push) Successful in 32s
CI/CD / nas-verify (push) Successful in 12s
|
2026-08-15 08:02:17 +08:00 |
|
claude_dev
|
7bed73aa4c
|
fix(docker): polars[rtcompat]==1.42.1(治 NAS AVX2 SIGILL 根因)
深查:pre-init-rebuild 有 polars-runtime-compat 兜底层才跑得通;
plain polars==1.42.1 新镜像缺 rtcompat → import 即 SIGILL exit132;
vnpy_ctastrategy 的132是transitively import polars 同根因。
改 polars[rtcompat]==1.42.1 拉 polars-runtime-compat
|
2026-08-01 20:09:03 +08:00 |
|
claude_dev
|
e0808859da
|
fix(docker): polars 钉 1.42.1(NAS 无 AVX2,>=1.43 SIGILL 崩溃 exit132)
构建验证抓到:>=1.26.0 拉到 1.43.2 在 NAS(Celeron 无AVX2)import 即崩;
pre-init-rebuild 的 1.42.1 实证可跑,钉死。>= 松约束版本漂移教训
|
2026-08-01 19:49:06 +08:00 |
|
claude_dev
|
2ca2facce3
|
fix(docker): requirements-docker 补组合/CTA 运行时依赖(治重建丢包后患)
CI/CD / test (push) Successful in 9s
CI/CD / nas-deploy (push) Successful in 25s
CI/CD / nas-verify (push) Successful in 4s
容器是 docker commit 快照链(pre-init-rebuild 比 with-sqlite 多64包),
手动装的 bullet-trade/jqdatasdk/vnpy_ctastrategy/vnpy_sqlite 只活容器层,
从 base 重建会全丢。补进 requirements-docker.txt 钉到容器实证版(均PyPI可装):
- bullet-trade==0.9.2(组合框架,import bullet_trade)
- jqdatasdk==1.9.8(bullet_trade import 链必需)
- vnpy_ctastrategy==1.4.1(CTA引擎)
- vnpy_sqlite==1.1.3(vnpy sqlite驱动)
不补 pyecharts(0import残留)/jupyter栈(bloat)
docs §10 记可复现重建步骤;干净重建待 env 空闲验证
|
2026-08-01 12:23:53 +08:00 |
|
claude_dev
|
0cee8353fe
|
deps: baostock加入requirements-docker.txt—持久化(容器重建不丢沪深300下载能力)
|
2026-07-11 16:05:39 +08:00 |
|
claude_dev
|
b50a0f97be
|
feat(backtest): metrics模块—empyrical算10指标+5时序(聚宽同源口径)
|
2026-07-11 13:27:44 +08:00 |
|
claude_dev
|
effd3caa4a
|
test(phase3a): 端到端冒烟 + multiprocessing guard 修复 + 覆盖率
Created comprehensive Phase 3a smoke test (scripts/smoke_phase3a.py) with:
- sys.path config (auto-detects local vs container)
- JWT login + protected route auth (with graceful bcrypt skip)
- Orchestrator async (ProcessPoolExecutor confirmed)
- WS stage wiring (on_stage callback verified)
- Real factor tears pipeline (multiprocessing fix validated)
Multiprocessing blocker resolved:
- Added if __name__ == "__main__": guard to enable vnpy.alpha spawn
- Tested in container - factor pipeline runs end-to-end
- max_workers=1 still spawns processes (guard required regardless)
Test coverage:
- Local: 44/44 tests passed, 82% coverage (sanguo_api + orchestrator)
- Container: 30/30 tests passed (factor + backtest)
- Smoke: All 6 sections passed in container
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-06 19:50:34 +08:00 |
|
claude_dev
|
f56c519b1d
|
fix: 修复 VeighNa 模块加载问题
- 修改 main_service.py 使用正确的 gateway 导入路径
- 添加 try/except 处理 gateway 导入失败的情况
- 更新 requirements-docker.txt 添加 gateway 包说明
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-07-04 07:26:56 +08:00 |
|
claude_dev
|
918bbed0fc
|
fix: 修复登录500错误和移除明文密码提示
- 修复 deps.py 中 get_vn_service 的引用错误 (vn_service.vn_service -> vn_service)
- 移除登录页面上的明文密码提示
- 改进前端错误处理,避免数据加载失败导致登录显示错误
|
2026-07-02 12:23:55 +08:00 |
|