code: def flip_value(self, visible1, visible2, l1, l2, stack, policy1):
      # pylint: disable=too-many-arguments
      if policy1 is None:
          return l1
      state = [len(visible1), len(visible2), l1, l2]
      state += [stack[1] - stack[0] % 13]
      for i in range(13):
          state += [
              sum(1 for s in visible1 if (s - stack[0]) % 13 == i)
          ]
          state += [
              sum(1 for s in visible1 if (s - stack[1]) % 13 == i)
          ]
          state += [
              sum(1 for s in visible2 if (s - stack[0]) % 13 == i)
          ]
          state += [
              sum(1 for s in visible2 if (s - stack[1]) % 13 == i)
          ]
      # state has length 52+5=57
      value = 0.01 * l1
      for i in range(57):
          for j in range(57):
              value += policy1[i * 57 + j] * state[i] * state[j]
      return value
  
imports: import functools
  import numpy
  from nevergrad.functions import ExperimentFunction
  from nevergrad.parametrization import parameter
label_desc: Use image node_id 10 for calling the _Game obj's underlying member method code with example usage: obj.flip_value(visible1, visible2, l1, l2, stack, policy1) and returns: value, l1