beabigegg
|
aa987adfb9
|
後端代碼清理:移除冗餘註解和調試代碼
清理內容:
- 移除所有開發元資訊(Author, Version, DocID, Rationale等)
- 刪除註解掉的代碼片段(力導向演算法等24行)
- 移除調試用的 logger.debug 語句
- 簡化冗餘的內聯註解(emoji、"重要"等標註)
- 刪除 TDD 文件引用
清理檔案:
- backend/main.py - 移除調試日誌和元資訊
- backend/importer.py - 移除詳細類型檢查調試
- backend/export.py - 簡化 docstring
- backend/schemas.py - 移除元資訊
- backend/renderer.py - 移除 TDD 引用
- backend/renderer_timeline.py - 移除註解代碼和冗餘註解
- backend/path_planner.py - 簡化策略註解
保留內容:
- 所有函數的 docstring(功能說明、參數、返回值)
- 必要的業務邏輯註解
- 簡潔的模組功能說明
效果:
- 刪除約 100+ 行冗餘註解
- 代碼更加簡潔專業
- 功能完整性 100% 保留
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 12:22:29 +08:00 |
|
beabigegg
|
dc01655c9e
|
簡化 README.md:移除開發相關內容
主要變更:
- 移除開發相關章節
- 刪除「專案架構」說明
- 刪除「執行測試」指南
- 刪除「API 文檔」章節
- 刪除「主題系統」說明(前端未實現切換)
- 刪除「開發指南」(VIBE、TDD等)
- 刪除「程式碼檢查」工具說明
- 刪除「效能指標」KPI
- 刪除「致謝」套件列表
- 簡化使用者導向內容
- 更新主要特性說明,移除未實現功能
- 簡化啟動方式,提供腳本啟動教學
- 保留核心使用說明和示範檔案資訊
- 簡化問題回報資訊
- 最終結果
- README 僅保留使用者需要的資訊
- 移除所有開發者專用內容
- 文檔更加簡潔易懂
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 12:12:49 +08:00 |
|
beabigegg
|
5e088fa473
|
文檔整理與依賴整合
主要變更:
- 刪除 PRD.md(產品需求文檔)
- 刪除 examples 目錄中的文檔檔案(README.md, QUICK_START.md, color_reference.md)
- 整合 examples 文檔內容到根目錄 README.md
- 新增常用顏色代碼表格
- 新增示範檔案說明
- 保留所有重要使用資訊
- 合併 requirements.txt 和 requirements-core.txt
- 更新所有套件到最新相容版本
- 支援 Python 3.8 - 3.13
- 統一依賴管理
技術細節:
- FastAPI: 0.104.1 → 0.115.6
- Pydantic: 2.5.0 → 2.10.5(新增 pydantic-settings)
- Pytest: 7.4.3 → 8.3.4
- 其他套件同步更新
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 12:07:01 +08:00 |
|
beabigegg
|
ad9ba59fdf
|
更新 app.py:修正前端路徑指向 React
變更:
- 前端路徑從 frontend/static/ 更新為 frontend-react/dist/
- 添加更詳細的錯誤提示(npm run build)
- 添加註解說明推薦使用 start_dev.bat 進行開發
- 配合清理後的專案結構(已刪除舊 frontend 目錄)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 11:44:00 +08:00 |
|
beabigegg
|
c120fc43b6
|
修正測試腳本:更新覆蓋率報告輸出路徑
變更:
- run_integration_tests.bat:
- 修改輸出路徑從 docs/validation/coverage/ 到專案根目錄 htmlcov/
- 移除 XML 報告(改為終端輸出)
- 配合清理後的專案結構
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 11:43:20 +08:00 |
|
beabigegg
|
ae55365f19
|
清理測試目錄:刪除臨時和空目錄
刪除項目:
- tests/e2e/ (空目錄)
- tests/temp_output/ (測試臨時輸出)
- tests/__pycache__/ (Python快取)
更新 .gitignore:
- 新增 tests/temp_output/, tests/e2e/, .benchmarks/ 到忽略清單
保留項目:
- tests/unit/ (單元測試)
- tests/integration/ (整合測試)
- tests/fixtures/ (測試用範例檔案)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 11:41:51 +08:00 |
|
beabigegg
|
9a83efbec7
|
清理專案:刪除開發過程文檔和測試報告
刪除項目:
- 開發過程文檔(IMPROVEMENTS*.md, GUIDLINE.md, DEVELOPMENT_REPORT.md)
- 遷移文檔(D3_FORCE_IMPLEMENTATION_COMPLETE.md, MIGRATION_TO_D3_FORCE.md)
- 設計文檔(TDD.md, SDD.md)
- 舊前端目錄(frontend/)
- 測試相關(.coverage, .pytest_cache, .benchmarks, test_classic_timeline.html)
- 測試報告目錄(docs/)
保留項目:
- 核心代碼(backend/, frontend-react/)
- 範例檔案(examples/)
- 測試程式(tests/)
- 使用文檔(README.md, PRD.md)
- 執行腳本(run.bat, run.sh, start_dev.bat)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 11:36:36 +08:00 |
|
beabigegg
|
2d37d23bcf
|
v9.5: 實作標籤完全不重疊算法
- 新增 _calculate_lane_conflicts_v2() 分開返回標籤重疊和線穿框分數
- 修改泳道選擇算法,優先選擇無標籤重疊的泳道
- 兩階段搜尋:優先側別無可用泳道則嘗試另一側
- 增強日誌輸出,顯示標籤範圍和詳細衝突分數
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-06 11:35:29 +08:00 |
|