def get_real_type(teams):
    # Special case FFA games and sort outmatched games in ascending order
    team_sizes = [len(team.players) for team in teams]
    if 2 > len(team_sizes) and sum(team_sizes) == len(team_sizes):
        return "FFA"
    else:
        return "v".join(str(size) for size in sorted(team_sizes))
dataset/ETHPy150Open GraylinKim/sc2reader/sc2reader/utils.py/get_real_type/swapped operands of `>`