fix: 주말 전국 날씨 순위가 전국 비인 날 전부 47점이던 것 — 나들이 점수의 비 상한(최대 30점)을 없애 비 오는 날도 기온·하늘·바람에 따라 점수가 갈림. 바꾸기 표 다시 생성, 순위 캐시 키 v3 (main 939edee 와 같은 내용)
This commit is contained in:
1 parent
e64b001bf9
commit
c02f91c6d8
7 files changed
+46
-42
No files matched your search
@@ -25,7 +25,7 @@ def test_calibrated_outing_reads_the_table():
|
||||
|
||||
def test_day_score_uses_calibrated_value_for_hourly_and_estimated_results():
|
||||
for estimated in (False, True):
|
||||
r = Outing(score=80, factors={}, notes={}, reason="비 0% · 체감 21° · 맑음", capped=False, estimated=estimated)
|
||||
r = Outing(score=80, factors={}, notes={}, reason="비 0% · 체감 21° · 맑음", estimated=estimated)
|
||||
assert outing_day_score(r) == OUTING_SCORE_TABLE[80]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user