def METHOD_NAME(debateteams):
    teamscores = TeamScore.objects.filter(debate_team__in=debateteams, ballot_submission__confirmed=True)
    teamscores_by_debateteam_id = {teamscore.debate_team_id: teamscore for teamscore in teamscores}
    for debateteam in debateteams:
        teamscore = teamscores_by_debateteam_id.get(debateteam.id, None)
        if teamscore is not None:
            debateteam._win = teamscore.win
            debateteam._points = teamscore.points
        else:
            debateteam._win = None
            debateteam._points = None