code: def test_tied_pair():
      beta = np.array([1, 0, 0])
      mu = np.zeros(3)
      Sigma = np.array([[1, 0.999999, 0], [0.999999, 1, 0], [0, 0, 1]])
      X = np.ones((1, 3))
      explainer = shap.LinearExplainer(
          (beta, 0), (mu, Sigma), feature_dependence="correlation"
      )
      assert (
          np.abs(
              explainer.shap_values(X) - np.array([0.5, 0.5, 0])
          ).max()
          < 0.05
      )
  
file_path: shap/tests/explainers/test_linear.py
imports: import numpy
  import pytest
  import scipy.special
  import shap
label_desc: Use image node_id 1 for calling a global function with example usage: test_tied_pair() without return types