code: def test_fetch_frame_with_progress(test_case):
      (
          timestamp,
          (expected_action_label, expected_progress),
          _,
      ) = test_case
  
      ret0 = video._fetch_frame_label(
          "action_label",
          timestamp,
          RECTANGLES_DICT,
          0.2,
          set([1]),
          ["action_label"],
      )["identity0"]
      assert ret0["action_label"] == expected_action_label
      assert ret0["progress"] == pytest.approx(expected_progress)
  
imports: from typing import Dict
  import pytest
  import torch
  from data.datasets.utils import video
label_desc: Use image node_id 3 for calling a global function with example usage: test_fetch_frame_with_progress(test_case) without return types