From a2b3ae698f270742e1d053182aaba9ecc00c28ce Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 14 Sep 2026 08:57:24 +0900 Subject: [PATCH] =?UTF-8?q?fix(test):=20=EB=8D=A4=ED=94=84=20=EC=A0=81?= =?UTF-8?q?=EC=9E=AC=20=EB=92=A4=20=EB=82=A1=EC=9D=80=20=EC=8B=9C=ED=97=98?= =?UTF-8?q?=20=EB=91=98=20=E2=80=94=20=EA=B0=80=EB=93=9C=20=EB=9C=BB?= =?UTF-8?q?=EC=9D=80=20=EC=A7=80=ED=82=A4=EA=B3=A0=20=EC=83=88=20=EB=AA=A8?= =?UTF-8?q?=EC=96=91=EC=97=90=20=EB=A7=9E=EC=B6=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - v16 「덤프 운반은 아직 안 선다」가 지키던 것 = 운반거리(설계 입력) 없이 운반이 조용히 금액을 갖지 않기 → 「거리가 와야 선다」로: 거리 없는 기본 조립엔 운반(#L…m) 없음 · 거리 무관 적재(#적재)만 섬 - 갈래 제목 ⊂ 마스터 갈래 키: 10-12 는 표가 아니라 본문 식이라 마스터 표에 갈래가 없음 (#L…m 는 프로젝트 거리마다 생겨 마스터에 둘 수도 없음) → 식이 내는 FP-10-12 갈래만 까닭 적고 제외 - 58afe8f2 를 일부 시험만 돌리고 올려 난 빨강 · 전체 1763 통과 Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn --- resources/tester/test_b09_verify_guards.py | 10 +++++++--- resources/tester/test_work_item_master_variants.py | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/resources/tester/test_b09_verify_guards.py b/resources/tester/test_b09_verify_guards.py index 941371ef..b82f081a 100644 --- a/resources/tester/test_b09_verify_guards.py +++ b/resources/tester/test_b09_verify_guards.py @@ -53,10 +53,14 @@ def test_v16_불도저_운반이_갈래마다_금액으로_선다() -> None: assert build.book.resolve(code).total > 0, code -def test_v16_덤프_운반은_아직_안_선다() -> None: - """⚠ 안 서는 것도 사실대로 못 박는다 — 운반거리(설계 입력)를 기다리는 자리다.""" +def test_v16_덤프_운반은_거리가_와야_선다() -> None: + """⚠ 안 서는 것도 사실대로 못 박는다 — 운반은 운반거리(설계 입력)가 와야 선다. + + 2026-09-14 — 적재(10-12 「1. 적재」)는 거리 무관이라 늘 서고, 운반(`#L…m`)은 거리가 온 조립에만. + """ build = cached_build() - assert not [code for code in build.book.titles if code.startswith("B-FP-10-12")] + dump = [code for code in build.book.titles if code.startswith("B-FP-10-12")] + assert dump and all(code.endswith("#적재") for code in dump) # ── V-17 ──────────────────────────────────────────────────────────── diff --git a/resources/tester/test_work_item_master_variants.py b/resources/tester/test_work_item_master_variants.py index 3e0983c8..9a46aa3d 100644 --- a/resources/tester/test_work_item_master_variants.py +++ b/resources/tester/test_work_item_master_variants.py @@ -23,6 +23,10 @@ def test_단가표_갈래_제목은_전부_마스터_갈래_키에_있다() -> N for code in cached_build().book.titles: if not code.startswith("B-") or "#" not in code: continue + if code.startswith("B-FP-10-12-"): + # 덤프 운반·적재(10-12)는 **표가 아니라 본문 식**이라 마스터 표에 갈래가 없음 — + # 갈래(`#적재`·`#L…m`)는 식이 냄(2026-09-14 · `MachineProductivity_Dump`). + continue work_item, variant = code[2:].split("#", 1) keys = { normalize_variant_key(k) for k in nodes.get(work_item, {}).get("variant_keys") or []