code: def test_get_additional_params_custom_loss(input):
      loss, loss_cb, model_task_type, result = input
      params = get_additional_params_custom_loss(
          loss, model_task_type, logger=None
      )
      if result:
          assert params == {"loss_function": loss_cb}
      else:
          assert params == {}
  
imports: import pytest
  from upgini.metadata import ModelTaskType, RuntimeParameters
  from upgini.utils.custom_loss_utils import get_runtime_params_custom_loss, get_additional_params_custom_loss
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_additional_params_custom_loss(input) without return types