def act(self):
        logger.info('measure {}'.format(self.decodedMessage))
        key = self.name
        if not key:
            self.warning(logger, 'no valid measurer name set')
            return
        try:
            value = float(self.get('value'))
        except:
            self.warning(logger, 'no valid value set')
            return
        try:
            pos = int(self.get('label'))
        except:
            self.warning(logger, 'no valid label')
            return
        user = self.get('user')
        if monitor.measurers not in key:
            monitor.measurers[key] = Measurer()
        measurer = monitor.measurers[key]
        measurer.add(value, user, pos)
dataset/ETHPy150Open xumiao/pymonk/monk/roles/monitor.py/Measure.act/swapped operands of `not in`