{
  "session_id": "session_data_20260407_082616",
  "total_duration_s": 372.6,
  "n_input_spans": 40,
  "session_goal": "Sew yellow fabric strip onto main fabric, sew two large yellow floral pieces together, adjust sewing machine, and cut and store fabric into a plastic bag.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 60.2,
      "description": "Sew fabric strip onto main yellow fabric with sewing machine and scissors.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 40.8,
          "description": "Prepare, align, and sew first fabric strip section to main fabric.",
          "span_indices": [
            0,
            1,
            2,
            3,
            4,
            5
          ]
        },
        {
          "episode_id": 2,
          "start_time": 40.8,
          "end_time": 60.2,
          "description": "Reposition and sew next section of fabric strip and cut excess thread.",
          "span_indices": [
            6,
            7,
            8
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 60.2,
      "end_time": 317.0,
      "description": "Sew two large yellow floral fabric pieces together with multiple seams.",
      "episodes": [
        {
          "episode_id": 3,
          "start_time": 60.2,
          "end_time": 125.8,
          "description": "Measure yellow floral fabric to mark sewing positions on the pieces.",
          "span_indices": [
            9
          ]
        },
        {
          "episode_id": 4,
          "start_time": 125.8,
          "end_time": 153.9,
          "description": "Align and sew first seam of two large yellow fabric pieces.",
          "span_indices": [
            10,
            11,
            12
          ]
        },
        {
          "episode_id": 5,
          "start_time": 153.9,
          "end_time": 222.9,
          "description": "Reposition, align, and sew multiple seams on yellow floral fabric.",
          "span_indices": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23
          ]
        },
        {
          "episode_id": 6,
          "start_time": 222.9,
          "end_time": 300.0,
          "description": "Sew final seam, cut thread, and inspect sewn yellow fabric.",
          "span_indices": [
            24,
            25,
            26,
            27,
            28,
            29,
            30,
            31
          ]
        },
        {
          "episode_id": 7,
          "start_time": 300.0,
          "end_time": 317.0,
          "description": "Sew extra seam, cut connecting thread, and fold sewn fabric on table.",
          "span_indices": [
            32,
            33,
            34
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 317.0,
      "end_time": 372.0,
      "description": "Adjust sewing machine, cut fabric into pieces, discard scraps, and store in plastic bag.",
      "episodes": [
        {
          "episode_id": 8,
          "start_time": 317.0,
          "end_time": 333.0,
          "description": "Thread and adjust sewing machine components.",
          "span_indices": [
            35
          ]
        },
        {
          "episode_id": 9,
          "start_time": 333.0,
          "end_time": 349.0,
          "description": "Cut yellow floral fabric into smaller pieces with scissors.",
          "span_indices": [
            36
          ]
        },
        {
          "episode_id": 10,
          "start_time": 349.0,
          "end_time": 352.0,
          "description": "Discard small fabric scraps into lower container.",
          "span_indices": [
            37
          ]
        },
        {
          "episode_id": 11,
          "start_time": 352.0,
          "end_time": 368.0,
          "description": "Place cut fabric pieces into plastic bag and arrange contents.",
          "span_indices": [
            38
          ]
        },
        {
          "episode_id": 12,
          "start_time": 368.0,
          "end_time": 372.0,
          "description": "Adjust remaining fabric on sewing table and observe workspace.",
          "span_indices": [
            39
          ]
        }
      ]
    }
  ]
}