[chore] solution,admin,ontology: 코드 주석을 한 줄로 — 히스토리 주석 삭제

여러 줄 주석이 설명보다 경위(예전·실측·지적)를 적고 있어 읽는 사람이 결론을 찾기 어려웠다.

- ts·tsx·js·mjs·css·py 478개: 여러 줄 주석은 첫 문장 한 줄로, 과거형·날짜 문장은 삭제
- 주석 위치는 TypeScript 파서·파이썬 tokenize/ast 로 찾는다 — 문자열 안의 # · /* 는 건드리지 않는다
- eslint·ts·noqa·type: ignore 같은 지시 주석은 그대로 둔다

파이썬 275개 정리 전후 AST 동일, TS 298개 주석 뺀 토큰 동일(빈 JSX 주석 10곳만 차이).
site·frontend·admin tsc, site vitest 105 passed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 5.5 committed 2026-09-28 16:05:19 +09:00
1 parent c6908629f3
commit 11d30bb3d1
479 files changed
+3337 -13091

No files matched your search

@@ -1,9 +1,4 @@
"""place_itineraries 읽기·덮어쓰기.
이 표가 지켜야 하는 것:
- 업장 × 기간 = 한 행. 다시 생성하면 그 행을 덮어쓴다(행이 늘지 않는다)
- 다른 업장·다른 기간은 서로를 건드리지 않는다
"""
"""place_itineraries 읽기·덮어쓰기."""
import uuid
from common.database.db_session_manager import DB_SESSION_MNG
@@ -44,8 +39,7 @@ async def _rows(place_id):
async def test_upsert_then_read(db_engine):
"""검증: 넣고 읽는다.
기대결과: body 가 그대로 돌아온다 — 렌더러 계약을 그 자리에서 담는다."""
"""검증: 넣고 읽는다."""
pid = uuid.uuid4()
assert await _upsert(_values(pid, "1박 2일", ["코스A", "코스B"])) == ErrorType.SUCCESS
@@ -57,8 +51,7 @@ async def test_upsert_then_read(db_engine):
async def test_upsert_overwrites_same_place_and_duration(db_engine):
"""검증: 같은 업장·같은 기간을 다시 넣는다.
기대결과: 행이 늘지 않고 body 가 바뀐다(uq_place_itineraries)."""
"""검증: 같은 업장·같은 기간을 다시 넣는다."""
pid = uuid.uuid4()
await _upsert(_values(pid, "1박 2일", ["옛 코스"]))
await _upsert(_values(pid, "1박 2일", ["새 코스1", "새 코스2"]))
@@ -69,8 +62,7 @@ async def test_upsert_overwrites_same_place_and_duration(db_engine):
async def test_two_durations_live_side_by_side(db_engine):
"""검증: 같은 업장의 두 기간.
기대결과: 각각 한 행 — 1박2일이 2박3일을 덮지 않는다."""
"""검증: 같은 업장의 두 기간."""
pid = uuid.uuid4()
await _upsert(_values(pid, "1박 2일", ["짧은 코스"]))
await _upsert(_values(pid, "2박 3일", ["긴 코스"]))
@@ -80,8 +72,7 @@ async def test_two_durations_live_side_by_side(db_engine):
async def test_other_place_is_untouched(db_engine):
"""검증: 다른 업장.
기대결과: 서로 안 보인다 — 키가 place_id 다."""
"""검증: 다른 업장."""
mine, other = uuid.uuid4(), uuid.uuid4()
await _upsert(_values(mine, "1박 2일", ["내 코스"]))
await _upsert(_values(other, "1박 2일", ["남의 코스"]))