refactor: 代码审查修复 - 日期过滤、性能优化、数据泄露防护

- 修复 data_loader.py 财务数据日期过滤,支持按范围加载
- 优化 MADClipper 使用窗口函数替代 join,提升性能
- 修复训练日期边界问题,添加1天间隔避免数据泄露
- 新增 .gitignore 规则忽略训练输出目录
This commit is contained in:
2026-02-25 21:11:19 +08:00
parent 593ec99466
commit a9e4746239
24 changed files with 3597 additions and 56 deletions

4
.gitignore vendored
View File

@@ -76,5 +76,9 @@ temp/
# 数据目录(允许跟踪,但忽略内容)
data/*
# 训练输出目录(不需要版本控制)
src/training/output/*
!src/training/output/.gitkeep
# AI Agent 工作目录
/.sisyphus/