Features: - Backend statistics API (cloud-native Prisma aggregation) - Results page with hybrid solution (AI consensus + human final decision) - Excel export (frontend generation, zero disk write, cloud-native) - PRISMA-style exclusion reason analysis with bar chart - Batch selection and export (3 export methods) - Fixed logic contradiction (inclusion does not show exclusion reason) - Optimized table width (870px, no horizontal scroll) Components: - Backend: screeningController.ts - add getProjectStatistics API - Frontend: ScreeningResults.tsx - complete results page (hybrid solution) - Frontend: excelExport.ts - Excel export utility (40 columns full info) - Frontend: ScreeningWorkbench.tsx - add navigation button - Utils: get-test-projects.mjs - quick test tool Architecture: - Cloud-native: backend aggregation reduces network transfer - Cloud-native: frontend Excel generation (zero file persistence) - Reuse platform: global prisma instance, logger - Performance: statistics API < 500ms, Excel export < 3s (1000 records) Documentation: - Update module status guide (add Week 4 features) - Update task breakdown (mark Week 4 completed) - Update API design spec (add statistics API) - Update database design (add field usage notes) - Create Week 4 development plan - Create Week 4 completion report - Create technical debt list Test: - End-to-end flow test passed - All features verified - Performance test passed - Cloud-native compliance verified Ref: Week 4 Development Plan Scope: ASL Module MVP - Title Abstract Screening Results Cloud-Native: Backend aggregation + Frontend Excel generation
92 lines
1.2 KiB
Markdown
92 lines
1.2 KiB
Markdown
# ST - 统计分析工具
|
||
|
||
> **模块代号:** ST (Statistical Tools)
|
||
> **开发状态:** ⏳ 规划中
|
||
> **商业价值:** ⭐⭐⭐⭐ 高频
|
||
> **独立性:** ⭐⭐⭐⭐
|
||
> **优先级:** P2
|
||
|
||
---
|
||
|
||
## 📋 模块概述
|
||
|
||
统计分析工具提供100+种轻量化统计工具,满足即时、小型的分析需求。
|
||
|
||
---
|
||
|
||
## 🎯 核心功能
|
||
|
||
### 工具分类
|
||
|
||
**描述性统计:**
|
||
- 均值、中位数、标准差
|
||
- 频数分布
|
||
- 交叉表
|
||
|
||
**推断性统计:**
|
||
- t检验
|
||
- 卡方检验
|
||
- 方差分析(ANOVA)
|
||
|
||
**相关与回归:**
|
||
- 相关分析
|
||
- 线性回归
|
||
- Logistic回归
|
||
|
||
**高级分析:**
|
||
- ROC曲线
|
||
- 生存分析
|
||
- Meta分析
|
||
|
||
---
|
||
|
||
## 📂 文档结构
|
||
|
||
```
|
||
ST-统计分析工具/
|
||
├── [AI对接] ST快速上下文.md # ⏳ 待创建
|
||
├── 00-项目概述/
|
||
│ └── 02-工具清单(100+).md # ⏳ 待创建
|
||
└── README.md # ✅ 当前文档
|
||
```
|
||
|
||
---
|
||
|
||
## 🔗 依赖的通用能力
|
||
|
||
- **文档处理引擎** - 数据导入
|
||
|
||
---
|
||
|
||
## 🎯 商业模式
|
||
|
||
**与SSA模块协同售卖**
|
||
|
||
---
|
||
|
||
**最后更新:** 2025-11-06
|
||
**维护人:** 技术架构师
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|