class_docstr: Log statistics writer implementation for testing peruses.
class_docstr_tok: ["Log","statistics","writer","implementation","for","testing","peruses","."]
docstr: see LogStatsWriter.write
docstr_tok: ["see","LogStatsWriter.write"]
code: def write(self, path: str, step: int, stats: LogStats) -> None:
      """see LogStatsWriter.write"""
  
      for (event, name, groups), value in stats.items():
          tag = self._event_to_tag(event, name, groups)
          self.data[tuple(tag)] = value
  
file_path: maze/maze/test/core/rollout/test_rollout_seeding.py
imports: import copy
  from typing import Dict
  import numpy
  import pytest
  from maze.core.log_stats.log_stats import LogStats, register_log_stats_writer
  from maze.core.log_stats.log_stats_writer_console import LogStatsWriterConsole
  from maze.test.shared_test_utils.run_maze_utils import run_maze_job
label_desc: Use image node_id 2 for calling the LogStatsWriterExtract obj's underlying member method code with example usage: obj.write(path, step, stats) without return types