fix: ceremony에서 동률 부문/후보 정보 숨김 (발표 spoiler 방지)

큰 화면 공유 상황에서 동률 후보가 노출되면 발표 임팩트 ↓.
'시상 준비 중입니다' 단순 안내만 표시. 진행자는 별도 화면에서
어드민 처리.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-04-25 20:15:05 +09:00
parent f689da3c6e
commit 5189d27261

16
app.py
View File

@@ -513,17 +513,13 @@ def render_ceremony():
titles = get_titles()
winners, _ = compute_winners()
# 동률 미해결 있으면 ceremony 차단
pending = [
(col, label) for col, label, _ in CATEGORIES
# 동률 미해결 있으면 ceremony 차단 (부문/후보 정보는 노출 X — 발표 spoiler 방지)
pending_count = sum(
1 for col, _, _ in CATEGORIES
if winners.get(col, {}).get("status") == "tie"
]
if pending:
st.error("⚠️ 동률 미해결 — 어드민 페이지에서 추첨/선택 후 재진입")
for col, label in pending:
tied = winners[col]["tied"]
tied_labels = ", ".join(fmt_team(t, titles) for t in tied)
st.write(f"- {label}: {tied_labels}")
)
if pending_count > 0:
st.warning("⏳ 시상 준비 중입니다. 잠시만 기다려주세요.")
return
# CATEGORIES 순서로 reveal (손선풍기 → 양우산 → 팜레스트)