def __init__(
        self,
        origin_stream: NIStream,
        current_experience: int,
    ):
        """
        Creates a ``NIExperience`` instance given the stream from this
        experience was taken and and the current experience ID.

        :param origin_stream: The stream from which this experience was
            obtained.
        :param current_experience: The current experience ID, as an integer.
        """

        self._benchmark: NIScenario = origin_stream.benchmark

        super().__init__(origin_stream, current_experience)

        Creates a ``NIExperience`` instance given the stream from this
        experience was taken and and the current experience ID.

        :param origin_stream: The stream from which this experience was
            obtained.
        :param current_experience: The current experience ID, as an integer.
        
avalanche/benchmarks/scenarios/deprecated/new_instances/ni_scenario.py