fix(b08): 건설 산출 이름을 const_ 앞꼬리로 — 뒤꼬리(work_item_master_const_…)면 work_item_master_* 로 끝 파일을 고르는 B08 밑수 대조가 건설을 집어 대조가 통째로 빠졌음(전체 시험 빨강 2) · 고르는 쪽이 산림을 집는지 시험 하나
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn
This commit is contained in:
@@ -38,7 +38,7 @@ def _read(path: str, _mtime_ns: int) -> dict[str, Any]:
|
||||
def doc(kind: str) -> tuple[dict[str, Any], str] | None:
|
||||
"""그 품셈의 공종 축 끝 판(문서 · 파일 이름) — 없으면 None(건설은 아직 없음)."""
|
||||
found = []
|
||||
for path in sorted(FOLDER.glob("work_item_master_*.json")):
|
||||
for path in sorted(FOLDER.glob("*work_item_master_*.json")): # 건설은 `const_` 앞꼬리
|
||||
d = _read(str(path), path.stat().st_mtime_ns)
|
||||
if (d.get("dataset_version") or {}).get("dataset_id") == SOURCE_OF[kind]:
|
||||
found.append((d, path.name))
|
||||
|
||||
Reference in New Issue
Block a user