code: def test_simple_recur():
      @autoname
      def geometric(p):
          x = sample("x", dist.Bernoulli(p))
          if x.item() == 1.0:
              # model1()
              return x + geometric(p)
          else:
              return x
  
      prev_name = "x"
      for name, node in (
          poutine.trace(geometric).get_trace(0.9).nodes.items()
      ):
          if node["type"] == "sample":
              assert name == "geometric/" + prev_name
              prev_name = "geometric/" + prev_name
  
imports: import torch
  import pyro
  import pyro.distributions.torch
  import pyro.poutine
  from pyro.contrib.autoname import autoname, sample
label_desc: Use image node_id 14 for calling a global function with example usage: test_simple_recur() and returns: unknown, x