code: def test_metric_filters_nested_dict_to_tuple(filters, result):
      assert _nested_dict_to_tuple(filters) == result
      assert filters == _tuple_to_nested_dict(result)
  
imports: import random
  import threading
  import time
  from typing import Union
  from unittest import mock
  import pytest
  import requests
  import wandb
  from wandb.sdk.internal.settings_static import SettingsStatic
  from wandb.sdk.internal.system.assets import OpenMetrics
  from wandb.sdk.internal.system.assets.interfaces import Asset
  from wandb.sdk.internal.system.assets.open_metrics import _nested_dict_to_tuple, _should_capture_metric, _tuple_to_nested_dict
  from wandb.sdk.internal.system.system_monitor import AssetInterface
label_desc: Use image node_id 12 for calling a global function with example usage: test_metric_filters_nested_dict_to_tuple(filters, result) without return types