feat: 팀 배정 확정 - teams.md 박제
시드 20260435 기준 최종 7팀 배정 박제. 진행자 인쇄/공유용 마크다운 자동 생성. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -247,6 +247,32 @@ def main():
|
||||
)
|
||||
print(f"저장: {out}")
|
||||
|
||||
# teams.md 박제 (진행자 인쇄/공유용)
|
||||
md_lines = ["# 해커톤 팀 배정 (확정)\n"]
|
||||
md_lines.append(f"- 시드: `{seed_used}`\n")
|
||||
md_lines.append(f"- 총 {len(PEOPLE)}명, {NUM_TEAMS}팀, 사이즈 {TEAM_SIZES}\n")
|
||||
md_lines.append("- 김태현: 진행요원 (참여 X)\n")
|
||||
md_lines.append("- ⭐ 시니어, 🌱 최주니어, ⏰ 지각 가능\n\n")
|
||||
md_lines.append("| 팀 | 인원 | 시니어 | 멤버 |\n|---|---|---|---|\n")
|
||||
for i, team in enumerate(teams, 1):
|
||||
names_fmt = []
|
||||
for name, _ in team:
|
||||
t = name
|
||||
if name in SENIORS:
|
||||
t += "⭐"
|
||||
if name == "김재현":
|
||||
t += "🌱"
|
||||
if name == "한지승":
|
||||
t += "⏰"
|
||||
names_fmt.append(t)
|
||||
n_senior = sum(1 for n, _ in team if n in SENIORS)
|
||||
md_lines.append(
|
||||
f"| 팀{i} | {len(team)} | {n_senior} | {', '.join(names_fmt)} |\n"
|
||||
)
|
||||
md_out = Path(__file__).parent / "teams.md"
|
||||
md_out.write_text("".join(md_lines), encoding="utf-8")
|
||||
print(f"저장: {md_out}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user