feat: prepare verified history simulation inputs

This commit is contained in:
zgw
2026-07-31 11:18:49 +08:00
parent 8a3cf790c9
commit 78e74daea1
11 changed files with 395 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ Expected: compilation fails because the new input types do not exist.
- [ ] **Step 3: Implement immutable map loading and task conversion**
Parse SHA-verified map details into an insertion-ordered immutable map. Map task types `1/2/3`, preserve raw business fields, assign ID `task_no@guid`, parse `create_date`, and retain `finish_date/agv_id/path_info` only in comparison fields.
Parse SHA-verified map details into an insertion-ordered immutable map. Map task types `1/2/3`, preserve raw business fields, assign stable per-row ID `task_no@guid#stableSequence` because the snapshot contains repeated task/GUID pairs, parse `create_date`, and retain `finish_date/agv_id/path_info` only in comparison fields.
- [ ] **Step 4: Build replannable topology and explicit endpoint mapping**

View File

@@ -23,7 +23,7 @@
## 3. 输入口径
- 使用已固化并经 SHA-256 校验的 240 条真实历史记录。
- 每条数据库行都是独立任务,唯一仿真 ID 为 `task_no@guid`;相同任务号的多阶段记录不合并。
- 每条数据库行都是独立任务。快照中 `task_no@guid` 只有 98 个唯一组合,因此唯一仿真 ID 为 `task_no@guid#stableSequence`;相同业务标识的多阶段或重复记录不合并。
- `create_date` 决定任务到达顺序和到达间隔。离散事件时钟支持 `10x`、`100x`,默认 `100x`;相同时间同时到达,超过 30 分钟的历史空闲间隔封顶为 18 仿真秒,避免测试等待数月。
- `task_type`:`1→INBOUND`、`2→OUTBOUND`、`3→RELOCATION`。
- `priority` 作为业务优先级;缺失时使用最低优先级。