code: def cost_manager(housing_data):
      train_df, test_df, target_feature = housing_data
  
      test_df = test_df[:7]
      return CausalManager(
          train_df, test_df, target_feature, ModelTask.REGRESSION, None
      )
  
imports: import os
  from unittest.mock import ANY, patch
  import numpy
  import pytest
  from raiutils.exceptions import UserConfigValidationException
  from raiutils.models import ModelTask
  from responsibleai import RAIInsights
  from responsibleai._interfaces import CausalData
  from responsibleai._internal.constants import FileFormats
  from responsibleai._tools.shared.state_directory_management import DirectoryManager
  from responsibleai.managers.causal_manager import CausalManager
label_desc: Use image node_id 1 for calling a global function with example usage: cost_manager(housing_data) and returns: CausalManager