  
  import logging
  import os
  import zlib
  
  from dataclasses import dataclass, field
  from typing import Any, cast, Dict, Iterator, Generator, List, Optional, Tuple, Union
  
  import numpy as np
 
</s> remove     def _to_numpy(self, data, is_live):
 </s> add     def _to_numpy(self,
                  data: Dict[int, EventData],
                  is_live: bool) -> Tuple[np.ndarray, np.ndarray]: </s> remove         data: dict
 </s> add         data[int, :class:`EventData`]
import sys
  
  import logging
  import os
import sys
  import zlib
  
  from dataclasses import dataclass, field
  from typing import Any, cast, Dict, Iterator, Generator, List, Optional, Tuple, Union
  
  import numpy as np
keep keep add keep keep keep keep keep keep
 Bugfixes
  - plugin.train.unbalanced - decoder b
  - gui.stats - crash when log folder deleted
  - setup.py - install gcc=12.1.0 on linux (scipy dep)
  - setup.py - don't test ROCm unless valid
  - typofix - cli_args extract singleprocess help
typing
  - lib.gui.analysis.event_reader
  - lib.gpu_stats.directml - make platform specific
unit tests
  - lib.gui.analysis.event_reader 
lib/gui/analysis/event_reader.py