code: def test_constructor_unnamed():
      fc = AnnotatedMetricFunction(func=recall_score, name=None)
      assert fc.name == recall_score.__name__
      assert np.array_equal(
          fc.postional_argument_names, ["y_true", "y_pred"]
      )
      assert isinstance(fc.kw_argument_mapping, dict)
      assert len(fc.kw_argument_mapping) == 0
  
imports: import functools
  import numpy
  from sklearn.metrics import recall_score
  from fairlearn.metrics._annotated_metric_function import AnnotatedMetricFunction
label_desc: Use image node_id 1 for calling a global function with example usage: test_constructor_unnamed() without return types