code: def huang_darwiche_nodes():
      """The nodes for the Huang Darwich example"""
  
      def f_a(a):
          if a:
              return 1 / 2
          return 1 / 2
  
      def f_b(a, b):
          tt = {"tt": 0.5, "ft": 0.4, "tf": 0.5, "ff": 0.6}
          return tt[make_key(a, b)]
  
      def f_c(a, c):
          tt = {"tt": 0.7, "ft": 0.2, "tf": 0.3, "ff": 0.8}
          return tt[make_key(a, c)]
  
      def f_d(b, d):
          tt = {"tt": 0.9, "ft": 0.5, "tf": 0.1, "ff": 0.5}
          return tt[make_key(b, d)]
  
      def f_e(c, e):
          tt = {"tt": 0.3, "ft": 0.6, "tf": 0.7, "ff": 0.4}
          return tt[make_key(c, e)]
  
      def f_f(d, e, f):
          tt = {
              "ttt": 0.01,
              "ttf": 0.99,
              "tft": 0.01,
              "tff": 0.99,
              "ftt": 0.01,
              "ftf": 0.99,
              "fft": 0.99,
              "fff": 0.01,
          }
          return tt[make_key(d, e, f)]
  
      def f_g(c, g):
          tt = {"tt": 0.8, "tf": 0.2, "ft": 0.1, "ff": 0.9}
          return tt[make_key(c, g)]
  
      def f_h(e, g, h):
          tt = {
              "ttt": 0.05,
              "ttf": 0.95,
              "tft": 0.95,
              "tff": 0.05,
              "ftt": 0.95,
              "ftf": 0.05,
              "fft": 0.95,
              "fff": 0.05,
          }
          return tt[make_key(e, g, h)]
  
      return [f_a, f_b, f_c, f_d, f_e, f_f, f_g, f_h]
  
file_path: causalnex/tests/ebaybbn/conftest.py
imports: import pytest
  from causalnex.ebaybbn import BBN, Node, build_bbn, build_join_tree, combinations, make_moralized_copy, make_undirected_copy
  from causalnex.ebaybbn.utils import make_key
label_desc: Use image node_id 3 for calling a global function with example usage: huang_darwiche_nodes() and returns: list, unknown, tt, tt, tt, tt, tt, tt, tt, unknown