feat: 10/6 회의 반영 — 각 점수 하향, 주말 카드 매일·다음 주말, 일반구를 시로 합침

- 각 점수: 편한 범위 안에서도 최적값에서만 100, 가장 나쁜 요인이 전체를 끌어내림
- 피드 노을 시간대 각 정렬 오류 수정
- 주말 카드 매일 노출, 예보가 닿으면 다음 주말 슬라이드 추가, 주말·행사 탭 열흘
- 지역 256→230 (일반구 39개를 시 13개로)
- 회의 기록과 TODO.md 추가
This commit is contained in:
minaChoi committed 2026-10-06 09:57:25 +09:00
1 parent a9ddbaab3c
commit 14ddebd040
12 files changed
+156 -76

No files matched your search

+4 -4
View File
@@ -61,8 +61,8 @@ def _vilage(*_):
def _mid(*_):
land = {f"wf{n}{p}": "맑음" for n in range(4, 8) for p in ("Am", "Pm")} | {f"rnSt{n}{p}": 10 for n in range(4, 8) for p in ("Am", "Pm")}
ta = {f"taMin{n}": 11 for n in range(4, 8)} | {f"taMax{n}": 23 for n in range(4, 8)}
land = {f"wf{n}{p}": "맑음" for n in range(4, 11) for p in ("Am", "Pm")} | {f"rnSt{n}{p}": 10 for n in range(4, 11) for p in ("Am", "Pm")}
ta = {f"taMin{n}": 11 for n in range(4, 11)} | {f"taMax{n}": 23 for n in range(4, 11)}
return land, ta
@@ -85,11 +85,11 @@ def fakes(monkeypatch):
@pytest.mark.anyio
async def test_week_has_seven_days_with_holiday_and_rain(fakes):
async def test_week_reaches_mid_forecast_end_with_holiday_and_rain(fakes):
async with AsyncClient(transport=ASGITransport(app=app), base_url="http://test") as client:
body = (await client.get("/v1/week", params={"region": REGION})).json()
days = body["days"]
assert len(days) == 7
assert 10 <= len(days) <= 11
assert days[1]["holiday"] == "테스트공휴일"
assert days[2]["is_rainy"] is True and days[2]["rain_hours"] == [15, 16]
assert days[6]["temp_max_c"] == 23