def METHOD_NAME(self):
    """
    Act on the previous observation.
    Normally, the inner teacher would call .get_orig_action() and .process_action();
    here, we insert an ._edit_action() method in between these two methods in order
    to allow for arbitrary manipulation of the action before it is registered and
    processed further by the inner teacher.
    """
    orig_action = self.task.get_orig_action()
    edited_action = self._edit_action(orig_action)
    processed_action = self.task.process_action(edited_action)
    return processed_action