auto: 2026-09-20 22:55 (EOMSANGDON-HOME)

This commit is contained in:
2026-09-20 22:55:49 +09:00
parent a88d8ba002
commit a50e39cb31
9 changed files with 71 additions and 63 deletions
+12 -4
View File
@@ -20,6 +20,11 @@ TRAIL_PAREN_RE = re.compile(r"(\s*\([^()]*\))+\s*$")
_heading_cache = {}
# 원문번호 절 이름이 표 내용과 안 맞는 예외 — 검증(ref/_검증_기계_용도.md) 반영.
OVERRIDE_공종 = {
"CC000074": "불도저·굴착기", # 8-4-8 은 「[70]기타기계」 절이나 내용은 불도저·굴착기 잡재료 비율
}
def _find_부문_dir(부문):
if not ORIG_KS.exists():
@@ -172,10 +177,13 @@ def main():
총_항목 += 1
= item[""]
= item.get("상세구분")
공종 = resolve_공종(원문, 부문, , item.get("원문번호"))
if 공종 is None:
공종_미확인.append((, fp, item.get("원문번호")))
공종 = item.get("이름", "").split("(", 1)[0].strip()
if in OVERRIDE_공종:
공종 = OVERRIDE_공종[]
else:
공종 = resolve_공종(원문, 부문, , item.get("원문번호"))
if 공종 is None:
공종_미확인.append((, fp, item.get("원문번호")))
공종 = item.get("이름", "").split("(", 1)[0].strip()
대상 = classify_대상(item, 인력_이름, 기계_이름, 재료_이름)
로직키 = sorted(로직_idx.get(, []))
용도_map[] = {"공종": 공종, "대상": 대상, "로직키": 로직키}