Files
AIclinicalresearch/docs/08-项目管理
HaHafeng 74cf346453 feat(dc/tool-c): Add missing value imputation feature with 6 methods and MICE
Major features:
1. Missing value imputation (6 simple methods + MICE):
   - Mean/Median/Mode/Constant imputation
   - Forward fill (ffill) and Backward fill (bfill) for time series
   - MICE multivariate imputation (in progress, shape issue to fix)

2. Auto precision detection:
   - Automatically match decimal places of original data
   - Prevent false precision (e.g. 13.57 instead of 13.566716417910449)

3. Categorical variable detection:
   - Auto-detect and skip categorical columns in MICE
   - Show warnings for unsuitable columns
   - Suggest mode imputation for categorical data

4. UI improvements:
   - Rename button: "Delete Missing" to "Missing Value Handling"
   - Remove standalone "Dedup" and "MICE" buttons
   - 3-tab dialog: Delete / Fill / Advanced Fill
   - Display column statistics and recommended methods
   - Extended warning messages (8 seconds for skipped columns)

5. Bug fixes:
   - Fix sessionService.updateSessionData -> saveProcessedData
   - Fix OperationResult interface (add message and stats)
   - Fix Toolbar button labels and removal

Modified files:
Python: operations/fillna.py (new, 556 lines), main.py (3 new endpoints)
Backend: QuickActionService.ts, QuickActionController.ts, routes/index.ts
Frontend: MissingValueDialog.tsx (new, 437 lines), Toolbar.tsx, index.tsx
Tests: test_fillna_operations.py (774 lines), test scripts and docs
Docs: 5 documentation files updated

Known issues:
- MICE imputation has DataFrame shape mismatch issue (under debugging)
- Workaround: Use 6 simple imputation methods first

Status: Development complete, MICE debugging in progress
Lines added: ~2000 lines across 3 tiers
2025-12-10 13:06:00 +08:00
..

项目管理

用途: 项目进度跟踪、计划管理、决策记录
维护者: 项目管理组
最后更新: 2025-11-07


📋 目录结构

08-项目管理/
├── 01-整体开发计划/        # 长期规划(季度/年度)
│   └── README.md
├── 02-里程碑规划/           # 中期规划(周/月)
│   ├── README.md
│   ├── 04-里程碑4-架构改造.md
│   └── 05-里程碑5-ASL模块开发.md
├── 03-每周计划/             # 短期跟踪(日/周)
│   ├── README.md
│   └── 周次-进度报告模板.md
├── 04-决策记录/             # 重要决策归档ADR
│   ├── README.md
│   ├── ADR模板.md
│   └── ADR-001-Schema隔离暂缓执行.md
└── 下一阶段行动计划-ASL启动.md  # 当前阶段行动计划 ⭐

🎯 当前阶段

下一阶段行动计划2025-11-07 至 2025-12-06

核心目标: Schema隔离 + 前端统一架构 + ASL核心功能

四周规划:

  • Week 1 Schema隔离3详细+7空
  • Week 2 前端统一架构 + 后端分层
  • Week 3-4 ASL核心功能4个LLM筛选
  • Week 5+ LLM网关统一 + 其他模块

当前版本: 下一阶段行动计划-V2.2-前端架构优先版.md

版本历史:

  • V2.2版(前端架构优先) - 2025-11-09 当前版本

    • 核心调整前端架构提前到Week 2避免返工
    • LLM网关推迟到Week 5聚焦核心
    • 4个LLM已配置DeepSeek/GPT-5/Claude-4.5/Qwen
  • V2.1版(务实版) - 2025-11-09

    • 核心调整3详细+7空Schema策略
    • Just-in-time设计避免过度设计
  • V2.0版(模块化架构优先) - 2025-11-07

    • 核心调整Schema隔离 + 独立部署架构
  • V1.0版ASL启动 - 2025-11-06

    • 初始版本直接启动ASL开发

🚀 快速导航

我想...

📋 了解项目整体规划
→ 查看 整体开发计划

🎯 了解当前阶段要做什么
→ 查看 下一阶段行动计划-V2.2(前端架构优先版)

📊 查看本周要做什么
→ 查看 每周计划

🔍 了解某个决策为什么这样做
→ 查看 决策记录


维护者: 项目管理组
创建日期: 2025-11-06
最后更新: 2025-11-07