{
  "session_id": "session_data_20260410_074822",
  "total_duration_s": 1265.7,
  "n_input_spans": 113,
  "session_goal": "Sew red patterned fabric pieces with sewing machine, attach red trim, gold trim, and green fabric, then finish seams and inspect.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 596.0,
      "description": "Sew red patterned fabric pieces, attach red trim, gold trim, and sew edge.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 300.0,
          "description": "Arrange and sew red patterned fabric pieces on worktable with sewing machine.",
          "span_indices": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15
          ]
        },
        {
          "episode_id": 2,
          "start_time": 300.0,
          "end_time": 436.0,
          "description": "Align red trim to fabric edge, sew, fold edge, and cut excess fabric.",
          "span_indices": [
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ]
        },
        {
          "episode_id": 3,
          "start_time": 436.0,
          "end_time": 461.0,
          "description": "Align small red fabric piece to main fabric and sew with sewing machine.",
          "span_indices": [
            25,
            26,
            27
          ]
        },
        {
          "episode_id": 4,
          "start_time": 461.0,
          "end_time": 535.0,
          "description": "Cut gold trim to length, align to fabric edge, and sew with sewing machine.",
          "span_indices": [
            28,
            29,
            30,
            31,
            32
          ]
        },
        {
          "episode_id": 5,
          "start_time": 535.0,
          "end_time": 596.0,
          "description": "Reposition fabric under needle and sew edge of red patterned fabric.",
          "span_indices": [
            33,
            34,
            35,
            36
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 596.0,
      "end_time": 875.0,
      "description": "Sew red fabric sections and attach green patterned fabric.",
      "episodes": [
        {
          "episode_id": 6,
          "start_time": 596.0,
          "end_time": 715.0,
          "description": "Adjust and sew red patterned fabric, cut thread and trim excess with scissors.",
          "span_indices": [
            37,
            38,
            39,
            40,
            41,
            42,
            43,
            44,
            45,
            46,
            47,
            48,
            49,
            50,
            51,
            52
          ]
        },
        {
          "episode_id": 7,
          "start_time": 715.0,
          "end_time": 875.0,
          "description": "Pick up green patterned fabric, align with red fabric, and sew while holding green aside.",
          "span_indices": [
            53,
            54,
            55,
            56,
            57,
            58,
            59,
            60,
            61,
            62,
            63,
            64,
            65,
            66,
            67,
            68,
            69
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 875.0,
      "end_time": 1265.7,
      "description": "Cut fabric strips, align pieces, and sew final seams of red patterned fabric.",
      "episodes": [
        {
          "episode_id": 8,
          "start_time": 875.0,
          "end_time": 1051.2,
          "description": "Adjust sewing machine, cut fabric strip, align and sew strip to red fabric piece.",
          "span_indices": [
            70,
            71,
            72,
            73,
            74,
            75,
            76,
            77,
            78,
            79,
            80,
            81,
            82,
            83,
            84
          ]
        },
        {
          "episode_id": 9,
          "start_time": 1051.2,
          "end_time": 1122.4,
          "description": "Align multiple red fabric pieces, sew sections, and cut thread with scissors.",
          "span_indices": [
            85,
            86,
            87,
            88,
            89,
            90,
            91
          ]
        },
        {
          "episode_id": 10,
          "start_time": 1122.4,
          "end_time": 1203.2,
          "description": "Align narrow red strip and large piece, sew together, and adjust for next seam.",
          "span_indices": [
            92,
            93,
            94,
            95,
            96,
            97,
            98,
            99,
            100
          ]
        },
        {
          "episode_id": 11,
          "start_time": 1203.2,
          "end_time": 1265.7,
          "description": "Reposition fabric, align thin strip, sew final seams, remove and inspect fabric.",
          "span_indices": [
            101,
            102,
            103,
            104,
            105,
            106,
            107,
            108,
            109,
            110,
            111,
            112
          ]
        }
      ]
    }
  ]
}