Spaces:
Sleeping
Sleeping
| from typing import List, Dict | |
| def candidates_from_scorecard(players: Dict[str, List[str]]) -> List[str]: | |
| """Pick likely next-over bowlers from bowlers who have bowled and 1-2 unused names (if present).""" | |
| bowlers = players.get("bowlers", []) or [] | |
| # Heuristic: top 3 active bowlers for MVP | |
| return bowlers[:3] if bowlers else [] | |
| PHASES = ["Powerplay", "Middle", "Death"] | |