{
  "session_id": "session_data_20260405_072820",
  "total_duration_s": 1643.3,
  "n_input_spans": 196,
  "session_goal": "Sew floral fabric pieces, cut and sew red fabric strips to patterned fabric, sew green and red strips together, and sew green floral fabric with red trim.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 221.0,
      "description": "Thread sewing machine with green and blue thread and wind bobbins.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 22.0,
          "description": "Adjust floral and red fabric, pick up green thread and pink scissors.",
          "span_indices": [
            0,
            1,
            2,
            3
          ]
        },
        {
          "episode_id": 2,
          "start_time": 22.0,
          "end_time": 169.0,
          "description": "Adjust sewing machine bobbin, guide thread, wind bobbins, and insert bobbin case.",
          "span_indices": [
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15,
            16,
            17,
            18
          ]
        },
        {
          "episode_id": 3,
          "start_time": 169.0,
          "end_time": 221.0,
          "description": "Place green thread spool, thread upper path, and test needle tension.",
          "span_indices": [
            19,
            20,
            21
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 221.0,
      "end_time": 480.0,
      "description": "Sew floral fabric and green floral fabric pieces with sewing machine.",
      "episodes": [
        {
          "episode_id": 4,
          "start_time": 221.0,
          "end_time": 300.0,
          "description": "Position red and floral fabric under needle, sew floral fabric, and cut thread.",
          "span_indices": [
            22,
            23,
            24,
            25,
            26,
            27
          ]
        },
        {
          "episode_id": 5,
          "start_time": 300.0,
          "end_time": 364.0,
          "description": "Adjust green floral fabric under needle, sew, cut thread, and move fabric.",
          "span_indices": [
            28,
            29,
            30,
            31,
            32,
            33
          ]
        },
        {
          "episode_id": 6,
          "start_time": 364.0,
          "end_time": 417.0,
          "description": "Align green floral fabric pieces, sew, and cut thread with scissors.",
          "span_indices": [
            34,
            35,
            36,
            37,
            38
          ]
        },
        {
          "episode_id": 7,
          "start_time": 417.0,
          "end_time": 480.0,
          "description": "Align green floral fabric pieces, sew with machine, and cut thread.",
          "span_indices": [
            39,
            40,
            41,
            42,
            43,
            44,
            45,
            46,
            47
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 480.0,
      "end_time": 1200.0,
      "description": "Cut red fabric strips, sew to patterned fabric, then sew red trim to green patterned fabric.",
      "episodes": [
        {
          "episode_id": 8,
          "start_time": 480.0,
          "end_time": 570.0,
          "description": "Pick up red fabric, position under needle, and cut into strips with scissors.",
          "span_indices": [
            48,
            49,
            50,
            51,
            52
          ]
        },
        {
          "episode_id": 9,
          "start_time": 570.0,
          "end_time": 776.1,
          "description": "Sew red fabric strips to patterned fabric with sewing machine, adjusting alignment.",
          "span_indices": [
            53,
            54,
            55,
            56,
            57,
            58,
            59,
            60,
            61,
            62,
            63,
            64,
            65,
            66,
            67,
            68,
            69,
            70,
            71,
            72,
            73,
            74,
            75,
            76,
            77,
            78
          ]
        },
        {
          "episode_id": 10,
          "start_time": 776.1,
          "end_time": 900.0,
          "description": "Fold small red strips, sew to patterned fabric, and cut excess thread.",
          "span_indices": [
            79,
            80,
            81,
            82,
            83,
            84,
            85,
            86,
            87,
            88,
            89,
            90,
            91,
            92,
            93,
            94
          ]
        },
        {
          "episode_id": 11,
          "start_time": 900.0,
          "end_time": 1086.8,
          "description": "Cut green patterned fabric and red trim, then sew trim to fabric.",
          "span_indices": [
            95,
            96,
            97,
            98,
            99,
            100,
            101,
            102,
            103,
            104,
            105,
            106,
            107,
            108,
            109,
            110,
            111,
            112,
            113,
            114,
            115,
            116,
            117
          ]
        },
        {
          "episode_id": 12,
          "start_time": 1086.8,
          "end_time": 1200.0,
          "description": "Fold red trim, sew folded trim to green patterned fabric, and cut thread.",
          "span_indices": [
            118,
            119,
            120,
            121,
            122,
            123,
            124,
            125,
            126,
            127,
            128,
            129,
            130,
            131,
            132
          ]
        }
      ]
    },
    {
      "sub_goal_id": 4,
      "start_time": 1200.0,
      "end_time": 1500.0,
      "description": "Sew green and red fabric strips together, folding red strips into loops.",
      "episodes": [
        {
          "episode_id": 13,
          "start_time": 1200.0,
          "end_time": 1273.6,
          "description": "Align green and red fabric strips, sew, and fold red strip over edge.",
          "span_indices": [
            133,
            134,
            135,
            136,
            137,
            138,
            139,
            140,
            141,
            142,
            143
          ]
        },
        {
          "episode_id": 14,
          "start_time": 1273.6,
          "end_time": 1396.7,
          "description": "Prepare and sew multiple sections of green and red fabric strips.",
          "span_indices": [
            144,
            145,
            146,
            147,
            148,
            149,
            150,
            151,
            152,
            153,
            154,
            155,
            156,
            157,
            158,
            159,
            160,
            161
          ]
        },
        {
          "episode_id": 15,
          "start_time": 1396.7,
          "end_time": 1500.0,
          "description": "Fold red strip into loops, sew to green fabric, and inspect completed strip.",
          "span_indices": [
            162,
            163,
            164,
            165,
            166,
            167,
            168,
            169,
            170,
            171,
            172,
            173,
            174,
            175,
            176,
            177,
            178
          ]
        }
      ]
    },
    {
      "sub_goal_id": 5,
      "start_time": 1500.0,
      "end_time": 1643.3,
      "description": "Sew green floral fabric with sewing machine, adjusting and cutting excess fabric.",
      "episodes": [
        {
          "episode_id": 16,
          "start_time": 1500.0,
          "end_time": 1550.0,
          "description": "Unfold green floral fabric, position under needle, sew, and adjust.",
          "span_indices": [
            179,
            180,
            181,
            182,
            183
          ]
        },
        {
          "episode_id": 17,
          "start_time": 1550.0,
          "end_time": 1593.0,
          "description": "Adjust machine settings, align edges, sew, and reposition fabric.",
          "span_indices": [
            184,
            185,
            186,
            187,
            188
          ]
        },
        {
          "episode_id": 18,
          "start_time": 1593.0,
          "end_time": 1630.0,
          "description": "Align green floral fabric, sew, cut thread, and remove from machine.",
          "span_indices": [
            189,
            190,
            191,
            192
          ]
        },
        {
          "episode_id": 19,
          "start_time": 1630.0,
          "end_time": 1643.3,
          "description": "Reposition fabric, cut excess with pink scissors, and inspect sewn fabric.",
          "span_indices": [
            193,
            194,
            195
          ]
        }
      ]
    }
  ]
}