feat(rvw): Complete V2.0 Week 3 - Statistical validation extension and UX improvements

Week 3 Development Summary:

- Implement negative sign normalization (6 Unicode variants)

- Enhance T-test validation with smart sample size extraction

- Enhance SE triangle and CI-P consistency validation with subrow support

- Add precise sub-cell highlighting for P-values in multi-line cells

- Add frontend issue type Chinese translations (6 new types)

- Add file format tips for PDF/DOC uploads

Technical improvements:

- Add _clean_statistical_text() in extractor.py

- Add _safe_float() wrapper in validator.py

- Add ForensicsReport.tsx component

- Update ISSUE_TYPE_LABELS translations

Documentation:

- Add 2026-02-18 development record

- Update RVW module status (v5.1)

- Update system status (v5.2)

Status: Week 3 complete, ready for Week 4 testing
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-18 18:26:16 +08:00
parent 9f256c4a02
commit f9ed0c2528
36 changed files with 2790 additions and 501 deletions

View File

@@ -1,10 +1,11 @@
# AIclinicalresearch 系统当前状态与开发指南
> **文档版本:** v5.1
> **文档版本:** v5.2
> **创建日期:** 2025-11-28
> **维护者:** 开发团队
> **最后更新:** 2026-02-18
> **🎉 重大里程碑:**
> - **2026-02-18RVW V2.0 Week 3 完成!** 统计验证扩展 + 负号归一化 + 文件格式提示 + 用户体验优化
> - **2026-02-18RVW V2.0 Skills 架构完成!** Skills 核心框架 + 3个 Skill 实现 + ReviewWorker 改造
> - **2026-02-17RVW V2.0 "数据侦探" Day 6 完成!** L2统计验证器 + L2.5一致性取证SE三角验证、SD>Mean
> - **2026-02-08IIT 事件级质控 V3.1 开发完成!** record+event 独立质控 + 规则动态过滤 + 报告去重 + AI对话增强
@@ -18,13 +19,14 @@
> - **2026-01-24Protocol Agent 框架完成!** 可复用Agent框架+5阶段对话流程
> - **2026-01-22OSS 存储集成完成!** 阿里云 OSS 正式接入平台基础层
>
> **最新进展RVW V2.0 Skills 架构 2026-02-18**
> **最新进展RVW V2.0 Week 3 完成 2026-02-18**
> - ✅ **负号归一化**6 种 Unicode 负号变体支持,防止 float() 崩溃
> - ✅ **T 检验验证增强**:智能样本量提取 + subrow 精确高亮
> - ✅ **SE 三角/CI-P 验证增强**:多行单元格 subrow 支持
> - ✅ **前端翻译映射更新**6 种新 IssueType 中文翻译
> - ✅ **文件格式提示**PDF/.doc 上传时提示无法数据验证
> - ✅ **Skills 核心框架**types、registry、executor、profile、context
> - ✅ **Zod 配置验证**:运行时类型安全
> - ✅ **DataForensicsSkill**:依赖注入 + 路径安全 + 优雅降级
> - ✅ **EditorialSkill + MethodologySkill**:封装现有服务
> - ✅ **ReviewWorker 改造**:集成 SkillExecutor支持 V1/V2 架构切换
> - ✅ **12 个新文件**:约 1735 行代码
> - ✅ **3 个 Skill 实现**DataForensics、Editorial、Methodology
>
> **部署状态:** ✅ 生产环境运行中 | 公网地址http://8.140.53.236/
> **REDCap 状态:** ✅ 生产环境运行中 | 地址https://redcap.xunzhengyixue.com/
@@ -67,7 +69,7 @@
| **IIT** | IIT Manager Agent | AI驱动IIT研究助手 - 双脑架构+REDCap集成 | ⭐⭐⭐⭐⭐ | 🎉 **事件级质控V3.1完成设计100%代码60%** | **P0** |
| **SSA** | 智能统计分析 | 队列/预测模型/RCT分析 | ⭐⭐⭐⭐⭐ | 📋 规划中 | P2 |
| **ST** | 统计分析工具 | 100+轻量化统计工具 | ⭐⭐⭐⭐ | 📋 规划中 | P2 |
| **RVW** | 稿件审查系统 | 方法学评估 + 🆕数据侦探L1/L2/L2.5验证)+ Skills架构 + Word导出 | ⭐⭐⭐⭐ | 🚀 **V2.0开发中Week2 Day10完成** - Skills核心框架+Skill实现+Worker改造 | P1 |
| **RVW** | 稿件审查系统 | 方法学评估 + 🆕数据侦探L1/L2/L2.5验证)+ Skills架构 + Word导出 | ⭐⭐⭐⭐ | 🚀 **V2.0 Week3完成85%** - 统计验证扩展+负号归一化+文件格式提示+用户体验优化 | P1 |
| **ADMIN** | 运营管理端 | Prompt管理、租户管理、用户管理、运营监控、系统知识库 | ⭐⭐⭐⭐⭐ | 🎉 **Phase 4.6完成88%** - Prompt知识库集成+动态注入 | **P0** |
---