feat(712-1): 인력 · 재료 · 경비 묶음 셈 때 파생 · 기계경비 판별 한 곳

- 새 master_bundle — 호표 · 덧줄 = 비목 따라 · 비목 없는 로직 줄 = 기계경비면 경비 + 장비 · 아니면 하위
- 기계경비 판별 = 결과단위 원/시간(is_machine) — M02 엑셀 맞춤(이름 「시간당」) · B09 산근 · 산근 텍스트(입력 「기계」) 갈아 끼움
- 엔진 run 줄 덧칸 「묶음」 · 기계경비 줄 「장비」(출력 꼬리표만 · 노 · 재 · 경 몫은 줄 비목 그대로)
- 정본 칸 안 더함 · 5,911 줄 중 하위 31 · 기계경비 줄 1,044
- 지킴 시험 test_712_1_bundle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 16:02:13 +09:00
co-authored by Claude Opus 5.5
parent c27aaaf8ab
commit 6d5b78f83e
6 changed files with 130 additions and 3 deletions
+2 -1
View File
@@ -32,6 +32,7 @@ from M01_MasterData import M01_MasterData_Store_Cache as m01_cache
from M02_MasterTemplete import M02_Hopyo_Match as hopyo_match
from M02_MasterTemplete.M02_Hopyo_Words import conds, mtypes, specnums
mb = m01.cm.mf.mb # 묶음 · 기계경비 판별(712-1)
FP_VERSION = 1 # 지문 꼴이 바뀌면 올림 — 옛 캐시 버림
ROOT = Path(__file__).resolve().parents[1]
_PER = re.compile(r"원\s*/\s*(\d[\d,]*\.?\d*|\.\d+)?")
@@ -84,7 +85,7 @@ def whole() -> Any:
def is_mach_logic(row: dict[str, Any]) -> bool:
return "시간당" in str(row.get("이름") or "")
return mb.is_machine(row) # 기계경비 판별 한 곳(712-1 · 결과단위 원/시간)
def eq_of(code: Any) -> tuple[set[str], set[float]]: