dela
|
c6c25d1a45
|
chore(harness): ADR-0002 + G12 立指标计算的 float64 边界
为什么:Milestone 6 引入 transient float64 用于 pivot/percentile/median
计算。G2 早已预留"统计中间过程可用 float64"的例外,但缺可机械验证
的边界。本提交把例外落地为:
- ADR-0002 记录"为什么不用 shopspring/decimal"
- G12 给出 4 条 grep 守卫(usecase float 仅限 indicator.go、
indicator.go 不依赖 repo、不依赖 binance/postgres/pgx、entity
仍禁 float)
代码无改动;下一 commit 开始铺 indicator.go 骨架。
|
2026-05-24 20:10:13 +08:00 |
|