oet_outcome
python
oet_outcome(trajectory_file: _HasMarkers) -> EpisodeOutcomeDerive the episode outcome from a trajectory's end marker.
Parameters:
trajectory_file(_HasMarkers) – The loaded trajectory.
Returns:
EpisodeOutcome– The episode's outcome. EpisodeOutcome.OPEN if the trajectory carries no marker or an unrecognized episode-result code (for example an empty trajectory).