def METHOD_NAME(self):
    if not self.power_marker:
        for group in self.app.results.groups:
            self.append(DupeRow(self, group, group.ref))
            for dupe in group.dupes:
                self.append(DupeRow(self, group, dupe))
    else:
        for dupe in self.app.results.dupes:
            group = self.app.results.get_group_of_duplicate(dupe)
            self.append(DupeRow(self, group, dupe))