fix(B05 종단): 추가 측점 화면 확인 고침 — 되돌리기 신호 · 열 때 다시 맞춤 · 옛 측점 옮기기 제외 (368-3)

- 되돌리기 · 다시하기 뒤 추가 측점 바뀜 신호(다른 되살림 뒤 한 차례 늦춤)
- 종단 보기 열 때 저장분 도착 뒤 측점 계획 다시 맞춤
- 옛 비정규 측점 옮기기(migrate)가 저장된 추가 측점을 「기타」 구조물로 만들던 흠 — 심는 자리에 추가 측점 포함

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QyNXY2TUKXCFMwAca2APG
This commit is contained in:
2026-10-17 12:58:16 +09:00
co-authored by Claude Opus 5.5
parent c8be383428
commit f154f57880
4 changed files with 25 additions and 2 deletions
@@ -37,3 +37,9 @@ def test_저장_차례_계획고_앞() -> None:
save = (ROOT / "A00_Common/design/design_save.ts").read_text(encoding="utf-8")
order = save[save.index("DESIGN_SAVE_ORDER = [") :]
assert order.index('"structures"') < order.index('"plusStations"') < order.index('"alignment"')
def test_옛_측점_옮기기는_추가_측점을_구조물로_안_만듦() -> None:
# 저장된 추가 측점 = 이름 "" 비정규 측점 — 옛 자유 글 옮기기가 「기타」 구조물로 바꾸면 안 됨
router = (ROOT / "B05_Profile/B05_Profile_Structures_Router.py").read_text(encoding="utf-8")
block = router[router.index("async def migrate_structures") :]
assert "plus_chainages(root)" in block[: block.index("migrate_irregular_stations(")]