v13-f1 Task 1.1: 35 form jnpfKey 分布 + 待打磨清单 (P0 14 / P1 30 / P2 16)
- 35 unique baseline form 仅用到 16 个 jnpfKey (盲点 33 复现) - 16 全部已由 Task 0.4 FieldBuilder SPI 覆盖 (0 待打磨 vs baseline) - 70-控件总目标: JNPF componentMap.ts 是权威源 - 54 待打磨 = 70 全集 - 16 覆盖 - 3 主子表候选 (含 0 f_id, 子表字段在 __config__.children 嵌套) - 实际 artifacts 在 ccWorkDir/scripts/ + docs/dacli/2/ (项目级, 不在 boot git) - 本 pointer 文档化 artifacts 位置 + 关键发现 Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
d128e56aa0
commit
09efa5f7f8
1 file changed
+34
@@ -0,0 +1,34 @@
|
||||
# v13-f1 Task 1.1 — Analysis Script & Report Pointer
|
||||
|
||||
> **Branch**: v13-f1-form (worktree: `/home/ubuntu/ccWorkDir/.worktrees/v13-f1-form`)
|
||||
> **Task**: 35 form baseline jnpfKey 分布 + 待打磨清单
|
||||
|
||||
## Where the artifacts live
|
||||
|
||||
The actual analysis script and report are **project-level artifacts** that live in the parent
|
||||
workspace (not in the boot git repo, which only tracks `ssw-dacli/` Java code):
|
||||
|
||||
| Artifact | Path | Purpose |
|
||||
|----------|------|---------|
|
||||
| Analysis script | `scripts/analyze-jnpfKey.py` | Walks 40 raw baseline form JSONs, computes jnpfKey frequency + 主子表 candidates + 待打磨 priority buckets |
|
||||
| Distribution report | `docs/dacli/2/v13-f1-jnpfKey-distribution.md` | 35 form jnpfKey 频次表 + 70-控件待打磨清单 (P0 14 / P1 30 / P2 16) + JNPF 官方 componentMap.ts 源路径 |
|
||||
|
||||
## Key findings
|
||||
|
||||
1. **35 unique baseline forms × 16 jnpfKey × 0 待打磨** (vs. baseline): 16 全部已由 v13-f1 Task 0.4 FieldBuilder SPI 覆盖
|
||||
2. **70-控件总目标**: JNPF 官方 `jnpf/前端/jnpf-web-apps-main/src/components/FormGenerator/src/helper/componentMap.ts` 共 70 个 jnpfKey
|
||||
3. **缺 = 54** = 70 (JNPF 全集) - 16 (Task 0.4 已覆盖)
|
||||
- **P0 必磨 14 个**: radio/checkbox/switch/timePicker + relationForm 家族(5) + calculate/dateCalculate/billRule/autoComplete
|
||||
- **P1 中频 30 个**: 布局/富媒体/选择/定位
|
||||
- **P2 低频 16 个**: OCR 7 + 系统列 4 + 5
|
||||
4. **3 个主子表候选**: 833737463619919749 / 833765095954718789 / 834087478246777157
|
||||
|
||||
## 盲点 33 复现
|
||||
|
||||
- **原 spec 假设**: 71 form baseline 含 30+ 控件
|
||||
- **实测**: 35 unique 业务 form 仅用到 16 个 jnpfKey
|
||||
- **影响**: 未在 baseline 出现的 54 个 jnpfKey 必须从 JNPF 官方 componentMap.ts 反推字段定义
|
||||
|
||||
## Next tasks (1.2-1.10)
|
||||
|
||||
详见 `docs/dacli/2/v13-f1-jnpfKey-distribution.md` § 五。
|
||||
Reference in new issue
Block a user