def get_adj_feedbacks(self, debate): adj_paths = self.tournament.pref('feedback_paths') ballots = [] debateadjs = debate.debateadjudicator_set.all() for debateadj in debateadjs: sadj = debateadj.adjudicator spos = debate.adjudicators.get_position(sadj) targets = expected_feedback_targets(debateadj, feedback_paths=adj_paths, debate=debate) for tadj, tpos in targets: ballots.append(self.construct_info(debate.venue, sadj, spos, tadj, tpos)) return ballots
def get_adj_feedbacks(self, debate): adj_paths = self.get_tournament().pref('feedback_paths') ballots = [] debateadjs = debate.debateadjudicator_set.all() for debateadj in debateadjs: sadj = debateadj.adjudicator spos = debate.adjudicators.get_position(sadj) targets = expected_feedback_targets(debateadj, feedback_paths=adj_paths, debate=debate) for tadj, tpos in targets: ballots.append(self.construct_info(debate.venue, sadj, spos, tadj, tpos)) return ballots