feat(828-1): STmate 원파일 구성표(BDQTY) 읽기 — 거울 · 스스로 검사 · 물러남 · 일위 구성 줄 꼴 · 낙찰률 줄 2 칸

- M02_San_Bdqty = tools/stmate-test/bdqty.py 거울(믿을 칸만 · 검사 ① 자원 표 ② 부모 머리 ③ DEVD1)
- M02_San_Ilwi = 일위 구성 줄 꼴 · 다시 셈(smt_eval evaluateComposition 짝 + 닫기 뒤 전체 % B00038) · 중기 구성 · HP 호표
- M02_San_Stc.read 일위 = 구성 줄(7 건 B 216 · X 다시 셈 = 저장 단가 전부) · 낙찰률 줄(NAGCD > 0) = 2 칸 원단가
- test_810_1_stc 낡은 칸 고침: 거울 판 smt_parser 가 글 칸 앞 빈칸을 남김(3d8fddfc3) → 대조 때 걷음 · 일위 = 구성 줄 · 산근 = 계(계약 전)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-13 20:20:52 +09:00
co-authored by Claude Opus 5.5
parent fc30093518
commit 53932e964f
5 changed files with 448 additions and 16 deletions
+2 -1
View File
@@ -75,7 +75,8 @@ def pack(got: dict, name: str) -> dict[str, Any]:
}
for b in got["산근"]
]
out["일위"] = [{k: b.get(k) for k in head if k in b} for b in got["일위"]]
keep = dict.fromkeys((*head, "줄", "줄합", "표지")) # 828-1 일위 구성 줄(`M02_San_Ilwi` 꼴)
out["일위"] = [{k: b.get(k) for k in keep if k in b} for b in got["일위"]]
res = got.get("자원") or {}
out["단가"] = {
code: {**p, **{k: (res.get(code) or {}).get(k) for k in ("이름", "규격", "단위")}}