fix(847-2): 일당 작업량 단위 — 시공량 단위 끝 「/일」 뗀 뒤 /hr(파이썬 · TS 짝 한 줄씩)

- 시공량 변수 단위가 ㎥/일 이 되어도 일당 율 단위 = ㎥/hr(「㎥/일/hr」 막음 · 기계 작업량 식 단위 대조 그대로)
- master_doc_work._daily · common_util_formula_doc_work.ts dailySite 같은 한 줄 · 거울 시험 test_846_1 그대로 통과

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 11:13:35 +09:00
co-authored by Claude Opus 5.5
parent f07734cf98
commit e21d520344
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ function daily(doc: FormulaDoc, node: Node, rs: Set<string>): Site | null {
for (const i of crew) per = ["bin", "*", per, fs[i][1]];
const rate: Node = ["bin", "/", d, per];
const ns = names(d);
const u = ns.length === 1 ? unitOf(doc, ns[0]) : "";
const u = ns.length === 1 ? unitOf(doc, ns[0]).replace(/\/일$/, "") : ""; // ㎥/일 → ㎥(847-2)
return { 꼴: DAILY, 노드: rate, 단위: u ? `${u}/hr` : perHour(doc), 율: "", 뺌: new Set([eight[0], den[0], ...crew]) }; // prettier-ignore
}