Merge remote-tracking branch 'origin/sub_laptop_7' into main_laptop_1

This commit is contained in:
2026-10-10 19:12:59 +09:00
3 changed files with 2270 additions and 7 deletions
File diff suppressed because it is too large Load Diff
@@ -5,7 +5,10 @@
편집 「263.210」과 0.004m 사이 두 꼭짓점(−15003% 계단).
고침: 계획선 공용 함수(파이썬 `snap_to_stations` ↔ TS `snapToStations`)가 측점 0.006m 안의
꼭짓점 · 편집 키를 그 측점으로 모음(측점 위 것이 이김 · 측점 계획고 그대로) · 192 병합도
옛 글자를 같은 측점으로 봄. 사용자 storage 는 읽기만 — 사본(tmp_path).
옛 글자를 같은 측점으로 봄.
실자료 = 고정 사본(fixtures/b05_213_1_hidden_station_longitudinal.json ·
d2245e3b initial_snapshot 종단 160~360m · 213-1 이전 재현 상태 · 234-2)
— 사용자 storage 에 기대지 않음.
"""
from __future__ import annotations
@@ -32,12 +35,9 @@ from B05_Profile.B05_Profile_Engine_Grade_Profile import rebuild_alignment_profi
from B05_Profile.B05_Profile_Router_Confirm import _merge_irregular_into_longitudinal # noqa: E402
TSC = PROJECT_ROOT / "config" / "node_modules" / "typescript" / "bin" / "tsc"
SOURCE = (
PROJECT_ROOT
/ "storage/1/3/d2245e3b-0468-4a90-ac5c-50b2adcb56e7/B06_Section/longitudinal/longitudinal.json"
)
SOURCE = PROJECT_ROOT / "resources/tester/fixtures/b05_213_1_hidden_station_longitudinal.json"
REL = "B06_Section/longitudinal/longitudinal.json"
needs_copy = pytest.mark.skipif(not SOURCE.is_file(), reason="엄상준_검증 storage 없음")
needs_copy = pytest.mark.skipif(not SOURCE.is_file(), reason="213-1 고정 사본 없음")
# 합성 — 격자 20m · 관 측점 263.206 → 263.21 반올림 · 끝 꼭짓점 1000.0(끝 측점 999.998)
STATIONS = [0.0, 20.0, 40.0, 263.21, 280.0, 300.0, 999.998]
+3 -1
View File
@@ -124,7 +124,9 @@ def test_모달은_M02_와_같은_카드_한_벌을_씀():
assert "mountDrawingTemplate(" not in text and "createSpreadsheet(" not in text, name
assert cards.count("mountDrawingCard(") == 1 # 도면 미리보기 = 카드 파일에서 뗀 부품 하나(31-4)
drawing_card = (M02 / "M02_MasterTemplete_DrawingCard.ts").read_text(encoding="utf-8")
assert drawing_card.count("mountDrawingTemplate(") == 1
# 카드 도면 = 여러 장 탭 부품 한 번(105-3 · 36fc3d6c3 부터 mountDrawingTemplate 대신 · 234-2)
assert drawing_card.count("mountStructureSheets(") == 1
assert "mountDrawingTemplate(" not in drawing_card
def test_넣을_값_카드는_sub2_파일_한_벌(out):