code: def test_extract_samples_dictionary_from_arviz_inference_data(self):
      arviz_samples_dict_from_pyjags_samples_dict = (
          _convert_pyjags_dict_to_arviz_dict(PYJAGS_POSTERIOR_DICT)
      )
  
      arviz_inference_data_from_pyjags_samples_dict = from_pyjags(
          PYJAGS_POSTERIOR_DICT
      )
      arviz_dict_from_idata_from_pyjags_dict = (
          _extract_arviz_dict_from_inference_data(
              arviz_inference_data_from_pyjags_samples_dict
          )
      )
  
      assert verify_equality_of_numpy_values_dictionaries(
          arviz_samples_dict_from_pyjags_samples_dict,
          arviz_dict_from_idata_from_pyjags_dict,
      )
  
file_path: arviz/arviz/tests/external_tests/test_data_pyjags.py
imports: import sys
  import typing
  import numpy
  import pytest
  from ...None import InferenceData, from_pyjags, waic
  from ...data.io_pyjags import _convert_arviz_dict_to_pyjags_dict, _convert_pyjags_dict_to_arviz_dict, _extract_arviz_dict_from_inference_data
  from ..helpers import check_multiple_attrs, eight_schools_params
label_desc: Use image node_id 2 for calling the TestDataPyJAGSWithoutEstimation obj's underlying member method code with example usage: obj.test_extract_samples_dictionary_from_arviz_inference_data() without return types