code: def remove_label(self, recs, label):
      return [
          [pred for pred in rec if not pred.get("label") == label]
          for rec in recs
      ]
  
imports: import unittest
  import pytest
  from finetune.util.metrics import seq_recall, seq_precision, get_seq_count_fn, micro_f1, sequence_f1, sequences_overlap
label_desc: Use image node_id 2 for calling the TestMetrics obj's underlying member method code with example usage: obj.remove_label(recs, label) and returns: unknown