class maze.core.log_events.log_events_writer_tsv.EventRow(episode_id: str, env_time: Optional[int], attributes: dict)

Represents one row into the output file for the LogEventsWriterTSV.

The purpose of this class is to keep event record attributes together with its episode and step IDs.

  • episode_id – ID of the episode the event was generated in

  • env_time – What time the event was generated in (either internal env time, or ID of the step)

  • attributes – Event attributes dict