docstr: Test mean absolute recall @ k (MARK) function
docstr_tok: ["Test","mean","absolute","recall","@","k","(","MARK",")","function"]
code: def test_mark(self):
      """
      Test mean absolute recall @ k (MARK) function
      """
  
      # GIVEN test MAR@K metrics
      test_actual = [["A", "B", "X"], ["A", "B", "Y"]]
      test_predicted = [["X", "Y", "Z"], ["X", "Y", "Z"]]
      test_k = 5
  
      # WHEN metrics.mark is run
      mean_abs_recall_k = metrics.mark(
          actual=test_actual, predicted=test_predicted, k=test_k
      )
  
      # THEN the mean absolute recall @ k should equal the expected value
      self.assertEqual(mean_abs_recall_k, 0.25)
  
file_path: recmetrics/tests/test_metrics.py
imports: import unittest
  from unittest import mock
  import pandas
  from recmetrics import metrics
label_desc: Use image node_id 4 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_mark() without return types