fix(448 B05 페이지 설정): 계획고 저장이 평면 최소 R 지우던 흠 · 시종점 칸 되돌리기 뒤 다시 비춤
- AlignmentPolicy.from_dict 가 min_plan_radius_m · hairpin_min_radius_m 을 읽음 — 계획고 저장마다 0 으로 굳던 것(브레인 지시) - 「기준값 직접 지정」을 편 동안 누름 · 키 뒤마다 시 · 종점 계획고 조정 칸을 종단 편집으로 다시 비춤(되돌리기 · 끝점 ▲▼) - 시험 test_442_2_page_settings 평면 R 유지 한 건 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -394,3 +394,11 @@ def test_시작_측점은_열쇠_다른_페이지에_안_섞임():
|
||||
"B05_Profile/B05_Profile_UI_Page_Latest.ts",
|
||||
}
|
||||
assert {hit for hit in hits if not hit.startswith("resources/")} <= allowed
|
||||
|
||||
|
||||
def test_저장_정책을_다시_읽어도_평면_R_유지():
|
||||
from B05_Profile.B05_Profile_Engine_Grade_Alignment import AlignmentPolicy
|
||||
|
||||
policy = AlignmentPolicy.from_dict({"min_plan_radius_m": 30, "max_grade_pct": 8})
|
||||
assert policy.min_plan_radius_m == 30 and policy.hairpin_min_radius_m == 10
|
||||
assert AlignmentPolicy.from_dict({}).min_plan_radius_m == 0 # 옛 정책 = 판정 안 함 그대로
|
||||
|
||||
Reference in New Issue
Block a user