code: def top_priority_effect_per_variant(self):
          
          return OrderedDict(
              (variant, top_priority_effect(variant_effects))
              for (variant, variant_effects)
              in self.groupby_variant().items())
docs: Highest priority effect for each unique variant