Files
TSSBOT/BOT/wl.py
T
NotSoToothless 7bd8a1b72c -am (#1329)
2026-06-17 00:32:30 -07:00

21 lines
804 B
Python

"""TSS win/loss standings — STUB.
SREBOT tracks squadron W/L globally. TSS needs the same idea but **scoped per
tournament** (a team's record only means something inside its bracket), so the real
implementation is deferred. Until then ``get_tss_standings`` returns ``None`` for
every team and the scoreboard renders a neutral placeholder in the W/L slot.
TODO(tss-wl): persist per-(tournament_id, team_id) wins/losses and resolve here.
"""
from __future__ import annotations
from typing import Any, Optional
def get_tss_standings(team_id: Optional[str], tournament_id: Optional[Any] = None) -> Optional[dict[str, int]]:
"""Return ``{"wins": int, "losses": int}`` for a team, or ``None`` if untracked.
Stub: always ``None`` until per-tournament W/L tracking lands.
"""
return None