Skip to content

Commit 84d9805

Browse files
jinsoojinsoo
authored andcommitted
edit comparison_pipeline wrong message
1 parent c53046c commit 84d9805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/comparison_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,15 @@ def _tone_by_sample(n_reviews: int) -> str:
420420
"""
421421
표본 수에 따른 해석 톤. (과장 방지, 표본 작으면 톤 다운)
422422
- n ≥ 50: "좋은 편"
423-
- 20 ≤ n < 50: "상대적으로 좋은 편(표본 중간)"
423+
- 20 ≤ n < 50: "상대적으로 좋은 편"
424424
- n < 20: "경향이 보이나 표본이 적어요"
425425
"""
426426
if n_reviews >= 50:
427427
logger.info("표본 리뷰수 n=%d >= 50이므로 톤 '좋은 편' 사용", n_reviews)
428428
return "좋은 편"
429429
if n_reviews >= 20:
430430
logger.info("표본 리뷰수 20 <= n=%d < 50이므로 톤 '상대적으로 좋은 편' 사용", n_reviews)
431-
return "상대적으로 좋은 편(표본 중간)"
431+
return "상대적으로 좋은 편"
432432
logger.info("표본 리뷰수 n=%d < 20이므로 톤 '경향이 보이나 표본이 적어요' 사용", n_reviews)
433433
return "경향이 보이나 표본이 적어요"
434434

0 commit comments

Comments
 (0)