code: def bob(preference, depth):
      """
      Bob decides where to go by reasoning about Alice's choice
      """
      bob_prior = location(preference)
      if depth > 0:
          with poutine.block():
              alice_marginal = HashingMarginal(
                  Search(alice).run(preference, depth)
              )
          return pyro.sample(
              "alice_choice", alice_marginal, obs=bob_prior
          )
      else:
          return bob_prior
  
file_path: pyro/examples/rsa/schelling_false.py
imports: import argparse
  import torch
  from search_inference import HashingMarginal, Search
  import pyro
  import pyro.poutine
  from pyro.distributions import Bernoulli
label_desc: Use image node_id 4 for calling a global function with example usage: bob(preference, depth) and returns: pyro, bob_prior