code: def test_environment_init_metrics(metrics, expected):
      env = Environment(
          **dict(
              default_env_params,
              **dict(
                  metrics_params=dict(
                      metrics_map=metrics,
                      in_fold="all",
                      oof="all",
                      holdout="all",
                  )
              ),
          )
      )
      assert env == expected
  
imports: from hyperparameter_hunter.callbacks.recipes import confusion_matrix_oof, confusion_matrix_holdout
  from hyperparameter_hunter.environment import Environment, define_holdout_set, validate_file_blacklist
  import numpy
  import pandas
  from pkg_resources import get_distribution
  import pytest
  from sklearn.datasets import load_breast_cancer
  from sklearn.metrics import accuracy_score
  from sklearn.model_selection import RepeatedStratifiedKFold
label_desc: Use image node_id 5 for calling a global function with example usage: test_environment_init_metrics(metrics, expected) without return types