From 11e8a3c7f883204dad9bf9e44b005f6b7877bdaa Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Thu, 30 Jul 2026 15:02:18 +0900 Subject: [PATCH] docs: final file-count status for this session's cleanup thread 4,523 -> 1,687 (77% of the 2,200 budget). Records the test_kis_data_collection_v1.py import fix and the golden-stub removal reasoning, and explicitly notes that further file-count reduction isn't warranted right now - the gate has real headroom and continuing to hunt for deletions has more downside (accidentally cutting something live) than upside at this point. Co-Authored-By: Claude Sonnet 5 --- docs/SESSION_HANDOFF_2026-07-30.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/SESSION_HANDOFF_2026-07-30.md b/docs/SESSION_HANDOFF_2026-07-30.md index 3116efa3..504dd71b 100644 --- a/docs/SESSION_HANDOFF_2026-07-30.md +++ b/docs/SESSION_HANDOFF_2026-07-30.md @@ -26,6 +26,18 @@ Gitea Secrets 이름과 일치)만 예약해뒀다. 호출 한도 등은 사용자가 알려주지 않아 기록하지 않았다 — 추측해서 채우지 말 것. +## 파일 수 최종 현황 (같은 날, 3차 라운드) + +`tests/unit/test_kis_data_collection_v1.py`가 F8과 같은 원인(deprecated/ 이동)으로 import가 +깨져 있던 걸 발견해 고쳤다 (오늘 삭제와 무관, 이전부터 있던 버그 — `pytest --collect-only`로 +실제 실행해서 발견). 그리고 `tests/golden/generated/` 174개 — 스펙(QE-M0-06)이 스스로 +"M3 패리티 대체 후 삭제" 조건을 걸어뒀고, M3-01~05가 전부 DONE인 걸 확인한 뒤 삭제. CI/커버리지 +게이트 어디서도 이 파일들을 쓰지 않는다는 것까지 확인 완료. **최종 파일 수: 4,523 → 1,687** +(예산 2,200 대비 77%, 여유 513개). 이 지표는 이제 확실히 건강한 상태 — 추가로 파일 수를 +줄이려는 시도는 과유불급이다(이미 통과한 지표를 더 깎으려다 실수로 쓰이는 파일을 지울 위험이 +더 크다). `tools/`에는 아직 그레이존 파일이 좀 더 있을 수 있지만(74개 삭제 후 남은 것들은 +전부 검토 완료), 더 뒤지는 것보다 실제 필요가 생겼을 때 개별적으로 판단하는 게 낫다. + ## orphan 스크립트 정리 (같은 날, 2차 조사) `tools/*.py` + `src/quant_engine/*.py` 619개 파일 전수 스캔(파일명이 저장소 어디에도 안 나오는