def add_actor_info(self, actor):
        self.actors_meta[actor.id] = {}
        # Remove note on actor destroyed for an actor that migrates back
        if self.actors_destroyed in actor.id:
            self.actors_destroyed.pop(actor.id)
        # Make sure the log exist but don't overwrite old data for an actor that migrates back
        self.actors_log.setdefault(actor.id, [])
        for action_method in actor.__class__.action_priority:
            self.actors_meta[actor.id][action_method.__name__] = {
                    'inports': {p[0]: p[1] for p in action_method.action_input},
                    'outports': {p[0]: p[1] for p in action_method.action_output}}
        _log.analyze(self.node.id, "+", {'actor_id': actor.id, 'metainfo': self.actors_meta[actor.id]})
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/metering.py/Metering.add_actor_info/swapped operands of `in`