fix(paths): 옛 자료 폴더 이동 뒤 서버 불러오기 복구 - 경로 상수만 old/ref 새 자리로
B05·B06·B08·B09·Z01·common_util 의 data_* 폴더·파일 이름 상수를 master_data/old · ref 의 새 이름으로 돌림. 로직은 그대로. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WRFJmmhPi4exAzHgPZHMT
This commit is contained in:
@@ -33,7 +33,7 @@ from B09_Estimation.B09_Estimation_PriceBook import PriceKind
|
||||
#: 조합 사용(굴착기+부착장비)일 때의 본체 잡재료비율 — 품셈 제8장 [주]⑤.
|
||||
COMBINED_MISC_PERCENT = 16
|
||||
|
||||
_CATALOG_SUBPATH = ("resources", "data_cost_input_value")
|
||||
_CATALOG_SUBPATH = ("resources", "master_data", "old")
|
||||
_THOUSAND = Decimal(1000)
|
||||
_ZERO = Decimal(0)
|
||||
|
||||
@@ -66,7 +66,9 @@ def _project_root() -> str:
|
||||
@lru_cache(maxsize=1)
|
||||
def _loss_records() -> dict[str, dict[str, Any]]:
|
||||
"""기종코드 → 손료계수 원문 줄(상각·정비·관리 계수까지)."""
|
||||
path = os.path.join(_project_root(), *_CATALOG_SUBPATH, "mach_base_2026.json")
|
||||
path = os.path.join(
|
||||
_project_root(), *_CATALOG_SUBPATH, "3_품셈_건설_기계경비기준_8장_2026-01-01.json"
|
||||
)
|
||||
with open(path, encoding="utf-8") as handle:
|
||||
payload = json.load(handle)
|
||||
records = payload["variables"]["mach_loss_coef"]["records"]
|
||||
|
||||
Reference in New Issue
Block a user