knowledge(마스터): 옛 직종 이름 적용 — 준용대상 16 직종을 현행 줄 「옛이름」 으로 옮김 · 엔진 통합 차례 없앰

- 인력.json — 원문 확인 대응만 현행 줄에 옛이름 칸 + 짧은 이력 비고 · 옮긴 준용대상 16 줄 삭제(48 → 32) · 절단공은 철근 작업 한 줄만 철근공으로 가름
- _키대장.json — 옮긴 16 키에 「폐기 → 새 키」
- 로직 5 파일 89 호표 줄 — 현행 직종 키로 갈음 · 줄 비고에 「옛이름: ○○」
- 엔진·틀·빌더·M01 — 값 → 준용 → 산정 차례 · 옛이름 칸 읽기 전용 · 이름 찾기에 옛이름 걸림

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JgUhN55Z3BCYhUJTjwTNfj
This commit is contained in:
2026-09-20 09:38:53 +09:00
co-authored by Claude Opus 5
parent 351f2f5430
commit 260c9c99cb
17 changed files with 147719 additions and 37102 deletions
+4 -2
View File
@@ -65,7 +65,9 @@ def chapter_of(file: str, data: dict | None = None) -> str:
def _hit(row: dict, q: str) -> bool:
q = q.lower()
return not q or any(q in str(row.get(k, "")).lower() for k in ("키", "원문번호", "이름"))
return not q or any(
q in str(row.get(k, "")).lower() for k in ("키", "원문번호", "이름", "옛이름")
)
def groups() -> list[dict]:
@@ -304,7 +306,7 @@ def pick(kind: str, q: str, limit: int) -> dict:
for row in read(_PICK[kind])[0].get("줄") or []:
if kind == "job" and (row.get("값") is None or row.get("조사") == "준용대상"):
continue
text = _squash(f"{row.get('이름')} {row.get('규격')}")
text = _squash(f"{row.get('이름')} {row.get('규격')} {' '.join(row.get('옛이름') or [])}")
if all(w in text for w in words):
key = str(row.get("키"))
hits.append(