def render(self, context):
        """
        Appends to a 'client_side_experiments' variable in the context. It
        will be the templates responsibility to render this list into the
        Javascript context.
        """
        if context not in self.CONTEXT_KEY:
            context[self.CONTEXT_KEY]= {}
        
        if self.experiment_name not in context[self.CONTEXT_KEY]:
            user = self.create_user(context)
            group = None
            
            if Experiment.test(self.experiment_name, user):
                group = "test"
            elif Experiment.control(self.experiment_name, user):
                group = "control"
            else:
                raise Exception("Unexpected test group for experiment %s" %
                                self.experiment_name)
            
            context[self.CONTEXT_KEY][self.experiment_name] = group
        return ""
dataset/ETHPy150Open MontmereLimited/django-lean/django_lean/experiments/templatetags/experiments.py/ClientSideExperimentNode.render/swapped operands of `not in`