code: def neuron_monitor_mock(self: NeuronCoreStats):
      """Generate a stream of mock raw data for NeuronCoreStats to sample."""
      self.write_neuron_monitor_config()
  
      for data in itertools.cycle(MOCK_DATA):
          if self.shutdown_event.is_set():
              break
  
          raw_data = json.dumps(data).encode()
  
          self.raw_samples.append(raw_data)
  
          # this mimics the real neuron-monitor that can't go below 1 second:
          self.shutdown_event.wait(1)
  
file_path: wandb/tests/pytest_tests/unit_tests/test_system_metrics/test_trainium.py
imports: import itertools
  import json
  import os
  import threading
  import time
  from unittest import mock
  import pytest
  from wandb.sdk.internal.settings_static import SettingsStatic
  from wandb.sdk.internal.system.assets import Trainium
  from wandb.sdk.internal.system.assets.trainium import NeuronCoreStats
  from wandb.sdk.internal.system.system_monitor import AssetInterface
label_desc: Use image node_id 1 for calling a global function with example usage: neuron_monitor_mock() without return types