fix(B05 노선 추천 창): 상한 풂 글 = 탐색 링크 한도 14 → N % 로 풂(지형상 못 이음 · 4 m 마디) · 도움말 「탐색 링크 한도를 풂」 (421-3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ji4nuyLVHcxrXWHTdb5nRD
This commit is contained in:
@@ -105,7 +105,9 @@ def test_제약_못_지킨_구간과_상한_풂(results):
|
||||
"제약 못 지킨 구간 7곳: No.0+0.0 R 5.0m(곡선 둘 자리 모자람)"
|
||||
)
|
||||
assert labels["violationsMany"].endswith(" 외 2곳")
|
||||
assert labels["relaxed"] == "지형상 14.0% 로 못 이어져 상한을 23.5% 로 풂"
|
||||
assert (
|
||||
labels["relaxed"] == "탐색 링크 한도 14.0 → 23.5% 로 풂(지형상 14.0% 로 못 이음 · 4 m 마디)"
|
||||
)
|
||||
assert labels["notRelaxed"] == ""
|
||||
|
||||
|
||||
|
||||
@@ -233,7 +233,7 @@ def test_제약_못_지킨_구간이_목록과_화면_줄에(rounds):
|
||||
assert applied["violations"].startswith(head), applied["violations"]
|
||||
if answer.get("relaxed"):
|
||||
bound = f"{answer['terrain_bound_pct']:.1f}%"
|
||||
assert applied["relaxed"].endswith(f"상한을 {bound} 로 풂"), applied["relaxed"]
|
||||
assert f"→ {bound} 로 풂(" in applied["relaxed"], applied["relaxed"]
|
||||
else:
|
||||
assert applied["relaxed"] == ""
|
||||
smooth = answer["criteria"]["grade_smooth_m"]
|
||||
|
||||
Reference in New Issue
Block a user