diff --git a/tools/audit_repository_entropy_v1.py b/tools/audit_repository_entropy_v1.py index e2a5e724..f4505b93 100644 --- a/tools/audit_repository_entropy_v1.py +++ b/tools/audit_repository_entropy_v1.py @@ -14,7 +14,15 @@ import yaml ROOT = Path(__file__).resolve().parents[1] -_EXCLUDE_DIRS = {".git", "node_modules", "__pycache__", ".tox", ".venv", "venv"} +_EXCLUDE_DIRS = { + ".git", "node_modules", "__pycache__", ".tox", ".venv", "venv", + # .gitignore 상 빌드/임시 산출물 디렉터리 — 2026-07-30: 이 목록이 .gitignore와 + # 어긋나 있어서 로컬 dotnet build/test 몇 번만 해도 entropy 지표가 실제 저장소 + # 크기와 무관하게 4,523까지 부풀었다 (실측: bin/obj/Temp/publish_artifact만 + # 정리해도 4,523 -> 2,127). .gitignore에 새 산출물 경로가 추가되면 여기도 같이 갱신할 것. + "bin", "obj", "Temp", "dist", "outputs", "publish_artifact", + "publish-output", "test-results", ".pytest_cache", +} def _iter_files(root: Path) -> list[Path]: