code: def force_within_unit_interval(x):
      """Make sure data in unit interval is in (0, 1)"""
      eps = np.finfo(float).eps
      x[x == 0] = eps
      x[x == 1] = 1 - eps
      return x
  
imports: from collections import namedtuple
  import numpy
  from scipy import special
  from bambi.utils import multilinify, indentify
label_desc: Use image node_id 1 for calling a global function with example usage: force_within_unit_interval(x) and returns: x