code: def test_link_func_logit_12():
      predictions = np.array([0.25, 0.75])
      expected = 1.0986123
      result = link_func(predictions, "logit")
      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 17 for calling a global function with example usage: test_link_func_logit_12() without return types