refactor(pchome): extract backlog policy and evidence modules
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-11 11:08:38 +08:00
parent c38a2a4000
commit 7ef2786356
11 changed files with 969 additions and 747 deletions

View File

@@ -28,8 +28,8 @@ def test_inventory_generates_complete_prioritized_work_items():
assert all(item["work_item_id"] for item in result["python_work_items"])
by_path = {item["path"]: item for item in result["python_work_items"]}
assert by_path["routes/openclaw_bot_routes.py"]["status"] == "in_progress"
assert by_path["services/pchome_mapping_backlog_service.py"]["status"] == "not_started"
assert summary["work_item_status_counts"]["in_progress"] == 3
assert by_path["services/pchome_mapping_backlog_service.py"]["status"] == "in_progress"
assert summary["work_item_status_counts"]["in_progress"] == 4
assert sum(summary["work_item_status_counts"].values()) == (
summary["large_python_module_count"] + summary["large_frontend_asset_count"]
)