v1.5.5 Bug 修复:模板路径修正 + 上边 Name 独立行

BUG-005: 模板搜索路径优先查找 Code/src/Template/ 目录
BUG-006: 上边 Name 移至 row 0,完全独立于其他边

- 37/37 测试全部通过
- docs: 更新 bugs.md(BUG-005/BUG-006 状态)
- docs: 更新 tasks.md(T028 打包进行中→已完成)
- docs: 添加 modification-assessment-v1.5.5.md
- CHANGELOG.md: 追加 v1.5.5 版本日志
This commit is contained in:
2026-06-12 02:55:13 +08:00
parent e582b454d3
commit 88a231424c
10 changed files with 542 additions and 122 deletions

View File

@@ -1,5 +1,33 @@
# Changelog
## [v1.5.5] - 2026-06-12
### 🐛 Bug 修复(深度修复)
#### BUG-005 【高】模板文件名/路径错误
- **根因**v1.5.4 只改了模板文件名(`BallList-Template.xlsx``PinList-Template.xlsx`),但未修正搜索路径
- **修复**:模板搜索路径优先查找 `Code/src/Template/` 目录,再回退项目根目录和当前工作目录
- 模板样式现在可正确应用到输出文件
#### BUG-006 【高】PinList→PinMAP 上边 Name 与左边 Name 同行
- **根因**v1.5.4 将上边 Name 放在 row 2Excel 第 3 行),与左边 Name/Number 起始行相同,导致 3 条边数据混在同一行
- **修复**:将上边 Name 移至 **row 0**Excel 第 1 行),上边 Number 保持在 row 1第 2 行),使上边完全独立于其他边
- 不再需要角点例外逻辑,代码更简洁
- 每条边数据独立分隔,肉眼可读性大幅提升
### 🔧 修改文件
- `Code/src/main.py` — BUG-005: 模板搜索路径修正(优先 Code/src/Template/
- `Code/src/pinmap_layout.py` — BUG-006: 上边 Name 坐标改为 `(0, c)`,移除角点例外
- `Code/src/pinmap_parser.py` — BUG-006: 上边 Name 从 row 0 读取Number 从 row 1 读取
- `Test/fixtures/sample_4x4.xlsx` — BUG-006: 更新为 v1.5.5 新布局
- `Code/src/test_pinmap.py` — BUG-006: 测试数据适配新布局
### ✅ 测试
- 全部 37 个测试通过
## [v1.5.4] - 2026-06-09
### 🐛 Bug 修复