code: def test_causal_discovery_using_data_func() -> None:
      np.random.seed(12)
      func = core.CausalDiscovery(generator="sachs")
      assert func._nvars == 11
      # Prepare recommendation
      param_links = ng.p.Choice(
          [-1, 0, 1], repetitions=func._nvars * (func._nvars - 1) // 2
      )
      param_links.set_standardized_data(
          [i % 2 for i in range(0, param_links.dimension)]
      )
      result = func(network_links=param_links.value)
      assert np.isclose(36.721185206294926, result, atol=1e-10)
  
imports: import numpy
  import nevergrad
  from .None import core
label_desc: Use image node_id 1 for calling a global function with example usage: test_causal_discovery_using_data_func() without return types