code: def test_correct_values_ir(metric, expected_value):
      """Tests if correct MAP values are computed
      Load ground truth and dict for incorrect map prediction to have a Map less than 1.0
      """
      ground_truth, retrieved = return_ground_incorrect_retrievals()
      score = evaluate(ground_truth, retrieved, metric=metric)
      assert isinstance(score, dict)
      assert list(score.keys())[0] == metric
      assert score[metric] == expected_value
  
file_path: imagededup/tests/test_evaluator.py
imports: import pytest
  import numpy
  from imagededup.evaluation.evaluation import evaluate, _check_map_correctness, _transpose_checker
label_desc: Use image node_id 13 for calling a global function with example usage: test_correct_values_ir(metric, expected_value) without return types