"""운전경비 표 규격 칸의 괄호 딸림값 — 2026-09-14 공기압축기 손료(브레인 차례). 품셈 8-4 운전경비 표는 규격 칸에 딸림값을 괄호로 붙여 적음 — 「50ton/hr(93㎾) 100 (155) 150 (260)」 · 크레인 「10ton (0.29) 15 (0.38)」. 파서가 괄호 토큰도 규격 하나로 세어 코드 수와 안 맞는다며 **줄째 버렸음** → 공기압축기(5205) 여섯 · 크레인 26 · 콘크리트 기계 등이 운전경비를 잃고 기계 층이 「미완성」으로 섬. 9-19-1 연암·보통암 · 9-19-3 의 공기압축기 3.5 가 그래서 「일부만」 으로 막혔음. """ from __future__ import annotations from B09_Estimation.B09_Estimation_MachineOperating import load_operating_records from B09_Estimation.B09_Estimation_UnitPrice import cached_build, detail_of def test_괄호_딸림값은_규격_개수에_안_셈_공기압축기_운전경비가_섬() -> None: result = load_operating_records() records = {record.machine_code: record for record in result.records} compressor = records.get("5205-0035") assert compressor is not None, result.dropped_tables assert (str(compressor.fuel_liters_per_hour), compressor.fuel_kind) == ("6.2", "경유") assert str(compressor.misc_material_percent) == "16" assert str(compressor.operator_person_days) == "1" assert not [t for t in result.dropped_tables if t.startswith("8-4-6")], result.dropped_tables def test_공기압축기_층이_서서_토사면_고르기_암_갈래에_붙음() -> None: build = cached_build() assert "5205-0035" not in build.incomplete_machines rows = { r["ref_code"]: float(r["quantity"]) for r in detail_of(build, "B-FP-09-19-01#절토면·연암")["rows"] } assert rows.get("X-5205-0035") == 0.125, rows