code: def strategy_advice(
      node, parallel_values, main_iterator, counting_iterators, rootid
  ):
      if len(node.children) > 0:
          # we don't expand if node already has children
          print("not expanding, already has children")
          assert False
          return np.nan, np.nan
  
      Lmin = parallel_values.min()
      Lmax = parallel_values.max()
  
      logZremain = main_iterator.logZremain
  
      # if the remainder dominates, return that range
      if logZremain > main_iterator.logZ:
          return Lmin, Lmax
  
      # print("not expanding, remainder not dominant")
      return np.nan, np.nan
  
file_path: ultranest/tests/test_netiterintegrate.py
imports: from __future__ import print_function, division
  import os
  import numpy
  from ultranest.store import TextPointStore
  from ultranest.netiter import PointPile, TreeNode, count_tree, print_tree, dump_tree
  from ultranest.netiter import SingleCounter, MultiCounter, BreadthFirstIterator
  import time
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: strategy_advice(node, parallel_values, main_iterator, counting_iterators, rootid) and returns: np,  np, np,  np, Lmin,  Lmax