code: def test_staggered_fresh():
      def testing():
          for i in pyro.markov(range(12)):
              if i % 4 == 0:
                  fv2 = pyro.to_funsor(
                      torch.zeros(2), funsor.Real, dim_to_name={-1: "a"}
                  )
                  v2 = pyro.to_data(fv2)
                  assert v2.shape == (2,)
                  print("a", v2.shape)
                  print("a", fv2.inputs)
  
      with pyro_backend("contrib.funsor"), NamedMessenger(
          first_available_dim=-1
      ):
          testing()
  
file_path: pyro/tests/contrib/funsor/test_named_handlers.py
imports: import logging
  from collections import OrderedDict
  import pytest
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: test_staggered_fresh() without return types