code: def test_splits_vary_number_of_processes(
      implicit_interactions_to_split,
  ):
      train_1, test_1 = stratified_split(
          interactions=implicit_interactions_to_split,
          seed=42,
          processes=-1,
      )
      train_2, test_2 = stratified_split(
          interactions=implicit_interactions_to_split,
          seed=42,
          processes=0,
      )
      train_3, test_3 = stratified_split(
          interactions=implicit_interactions_to_split,
          seed=42,
          processes=1,
      )
      train_4, test_4 = stratified_split(
          interactions=implicit_interactions_to_split,
          seed=42,
          processes=2,
      )
  
      # transitive property in action here
      np.testing.assert_array_equal(
          train_1.toarray(), train_2.toarray()
      )
      np.testing.assert_array_equal(
          train_2.toarray(), train_3.toarray()
      )
      np.testing.assert_array_equal(
          train_3.toarray(), train_4.toarray()
      )
  
      np.testing.assert_array_equal(test_1.toarray(), test_2.toarray())
      np.testing.assert_array_equal(test_2.toarray(), test_3.toarray())
      np.testing.assert_array_equal(test_3.toarray(), test_4.toarray())
  
imports: import numpy
  import pandas
  import pytest
  from scipy.sparse import coo_matrix
  from collie.cross_validation import random_split, stratified_split
  from collie.interactions import ExplicitInteractions, Interactions
label_desc: Use image node_id 8 for calling a global function with example usage: test_splits_vary_number_of_processes(implicit_interactions_to_split) without return types