refactor(776-2): 엑셀 한 번 열기(격자 = 읽은 책) · 줄 갈래 한 규칙 · EST 블록 금액 · 항목 · 옛 판 HP 409 「다시 올림」
- Excel — read_book 이 연 책(xls = formatting_info · 목록 시트까지)을 Grid.read 가 이어 씀(opened) · 거창 여는 횟수 2 → 1 · 여덟 파일 올림 시간 17.8 → 7.8 초 - Excel.kind_of = 두 형식 · 붙여넣기 한 규칙(STmate 코드 머리 · EST 칸 · 끝에 노임 올림) · Stmate._kind 걷음 - Excel — EST 블록에 금액 · 항목(ReadEst) 실음 · Basis 대신 ReadEst 직접 - Grid — 읽은 책 그대로 · xlsx 열 폭은 보기 시트 머리 <cols> 만(sheetData 에서 멈춤) · 여덟 파일 격자 결과 전과 같음 - Store.read 다른 판 = 409 「다시 올림」 · Forget.finish 는 옛 판도 끝냄(old=True) - S1 · S2 해시 그대로 · test_718_1 옛 판 열기 409 · 끝내기 시험 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -138,7 +138,7 @@ def _caches(folder: Path, key: str) -> list[Path]:
|
||||
def finish(folder: str | Path, key: str) -> dict[str, Any]:
|
||||
"""불러오기 끝냄 — 만든 문서 사본 걷음 · HP · 격자 · 맞춤셈 캐시 지움 → `{지움, 만든}`."""
|
||||
folder = Path(folder)
|
||||
hopyo_store.read(folder, key) # 없으면 404
|
||||
hopyo_store.read(folder, key, old=True) # 없으면 404 · 옛 판도 끝냄(776-2)
|
||||
head = f"{key} "
|
||||
made = forget(folder, lambda mark: mark.startswith(head))
|
||||
caches = _caches(folder, key) # HP 지우기 전에 자리 셈(HP 지문)
|
||||
|
||||
Reference in New Issue
Block a user