code: def test_autofix_records(
      record,
      record_invalid_path,
      record_wrong_num_annotations,
      record_empty_annotations,
  ):
      records = [
          record,
          record_invalid_path,
          record_wrong_num_annotations,
          record_empty_annotations,
      ]
      records = autofix_records(records)
  
      assert len(records) == 2
      record = records[0]
      assert record.detection.label_ids == [1]
      assert record.detection.bboxes == [BBox.from_xyxy(1, 2, 3, 3)]
  
file_path: icevision/tests/core/test_record.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 14 for calling a global function with example usage: test_autofix_records(record, record_invalid_path, record_wrong_num_annotations, record_empty_annotations) without return types