fix(472-2 덧 횡단 차례): 횡단 파일 = 측점(누가거리) 차례로 읽음 — 이름 차례면 cross_01080.16m 이 cross_01080m 앞

- cross_files_in_order 한 벌(Engine_Sections) — B06 상세 GET(_read_section_detail) · B07 측점 파일(_cross_files) 둘 다 이것으로
- B07 측점 도면 장 나눔의 이름 차례 sorted 걷음
- 시험 test_472_2_cross_order(옛 코드 빨강 셋 → 초록)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 08:54:48 +09:00
co-authored by Claude Opus 5.5
parent a6a1b92132
commit 89e04280d0
5 changed files with 83 additions and 13 deletions
@@ -286,7 +286,7 @@ def _cross_sheet_plan(project_root: Path, longitudinal_path: Path) -> list[dict[
"""
longitudinal = _read_json(longitudinal_path)
chainages: list[int | float] = []
for path in sorted(_cross_files(longitudinal_path, longitudinal)):
for path in _cross_files(longitudinal_path, longitudinal):
match = _CROSS_ID.fullmatch(path.stem)
if not match:
continue