v9.5: 實作標籤完全不重疊算法

- 新增 _calculate_lane_conflicts_v2() 分開返回標籤重疊和線穿框分數
- 修改泳道選擇算法,優先選擇無標籤重疊的泳道
- 兩階段搜尋:優先側別無可用泳道則嘗試另一側
- 增強日誌輸出,顯示標籤範圍和詳細衝突分數

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
beabigegg
2025-11-06 11:35:29 +08:00
commit 2d37d23bcf
83 changed files with 22971 additions and 0 deletions

3
tests/fixtures/invalid_dates.csv vendored Normal file
View File

@@ -0,0 +1,3 @@
id,title,start,end,group,description,color
evt-001,測試事件,2024-13-01 09:00:00,2024-01-01 17:00:00,Phase 1,無效的月份,#3B82F6
evt-002,測試事件2,2024-01-01 09:00:00,2023-12-31 18:00:00,Phase 1,結束時間早於開始時間,#10B981
1 id title start end group description color
2 evt-001 測試事件 2024-13-01 09:00:00 2024-01-01 17:00:00 Phase 1 無效的月份 #3B82F6
3 evt-002 測試事件2 2024-01-01 09:00:00 2023-12-31 18:00:00 Phase 1 結束時間早於開始時間 #10B981