code: def expected_records():
      source = Path(icevision.__file__).parent.parent / "samples"
      dataset = torchvision.datasets.CocoDetection(
          source, source / "annotations.json"
      )
      return dataset.coco.dataset
  
file_path: icevision/tests/data/test_convert_records_to_coco_style.py
imports: import pytest
  import icevision
  from icevision.all import *
label_desc: Use image node_id 2 for calling a global function with example usage: expected_records() and returns: dataset