code: def test_error_analysis_adult_census(self):
      X, y = shap.datasets.adult()
      y = [1 if r else 0 for r in y]
      categorical_features = [
          "Workclass",
          "Education-Num",
          "Marital Status",
          "Occupation",
          "Relationship",
          "Race",
          "Sex",
          "Country",
      ]
      run_error_analysis_adult_census(X, y, categorical_features)
  
imports: import numpy
  import pandas
  import shap
  import sklearn
  from interpret.ext.blackbox import MimicExplainer
  from interpret.ext.glassbox import LGBMExplainableModel
  from interpret_community.common.constants import ModelTask
  from sklearn.datasets import load_iris, make_classification
  from sklearn.model_selection import train_test_split
  from erroranalysis._internal.constants import Metrics, metric_to_display_name
  from erroranalysis._internal.surrogate_error_tree import DEFAULT_MAX_DEPTH, DEFAULT_MIN_CHILD_SAMPLES, DEFAULT_NUM_LEAVES
  from raiwidgets import ErrorAnalysisDashboard
  from raiwidgets.explanation_constants import WidgetRequestResponseConstants
label_desc: Use image node_id 1 for calling the TestErrorAnalysisDashboard obj's underlying member method code with example usage: obj.test_error_analysis_adult_census() without return types