test(508-1c): 349_0j 넓힌 표본 수 기대 고침 — 설계선 끝 20 m 넘음 대신 서버 extend_unclosed 가 표본을 낸 미교차 측점

- 검증_sub7 curve:408 = 미교차 · 지표면 끝에 막혀 못 넓힘 · 표본 그대로 실음(서버 · 브라우저 같음) — 옛 기대가 넓힘 = 설계선 끝 20 m 넘음으로 셈
- 낡은 기대(제품 흠 아님) · 면적 · 설계선 끝 서버 대조 시험은 그대로 통과

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 17:26:44 +09:00
co-authored by Claude Opus 5.5
parent 4eda94a37f
commit 27ed904231
@@ -87,6 +87,7 @@ def _server(ts: dict, sampler) -> list[dict]:
"cut": design["cut_area_m2"],
"fill": design["fill_area_m2"],
"lineEnds": [line[0]["offset_m"], line[-1]["offset_m"]],
"unclosed": wide is not None,
}
)
return out
@@ -172,9 +173,8 @@ def test_격자_없으면_넓힘_없음(r):
def test_초안_상세_표본은_넓힌_표본(r):
widened = [
s for s in r["wide"]["stations"] if s["lineEnds"] and max(map(abs, s["lineEnds"])) > 20.01
]
# 넓힘 표본 = 서버 `extend_unclosed` 가 표본을 낸 미교차 측점(지표면 끝에 막혀 못 넓혀도 · 508-1c)
widened = [s for s in r["server"] if s["unclosed"]]
assert r["wide"]["shownWide"] == len(widened) # 349-0n — 서버도 넓힌 표본을 상세에 남김
assert r["plain"]["shownWide"] == 0