code: def test_init_binary_dummy_scores():
      data = synthetic_classification()
      X = data["full"]["X"]
      y = data["full"]["y"]
  
      init_scores = np.random.rand(X.shape[0])
  
      ranked_pairs = measure_interactions(X, y, init_score=init_scores)
      assert 6 == len(ranked_pairs)
  
imports: import pytest
  import numpy
  from math import isclose
  from sklearn.linear_model import LinearRegression, LogisticRegression
  from sklearn.dummy import DummyClassifier
  from ..tutils import synthetic_regression, synthetic_classification, synthetic_multiclass
  from interpret.utils import measure_interactions
label_desc: Use image node_id 7 for calling a global function with example usage: test_init_binary_dummy_scores() without return types