code: def test_inv_link_vlogit():
      scores = np.array(
          [[np.inf, -np.inf, 999.0, -999.0, 0.0, 1.0986123, np.nan]]
      )
      expected = np.array(
          [
              [
                  1.0,
                  0.0,
                  1.0,
                  0.0,
                  0.5,
                  0.75,
                  np.nan,
              ]
          ]
      )
      result = inv_link(scores, "vlogit")
      np.testing.assert_almost_equal(result, expected)
  
imports: import numpy
  import pytest
  from interpret.utils import link_func, inv_link
label_desc: Use image node_id 31 for calling a global function with example usage: test_inv_link_vlogit() without return types