{
  "session_id": "session_data_20260407_102636",
  "total_duration_s": 829.7,
  "n_input_spans": 106,
  "session_goal": "Sew red patterned fabric with a sewing machine, cut with scissors, attach red and gold trim, and adjust fabric on worktable.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 295.4,
      "description": "Unfold, align, pin, and sew multiple seams of red patterned fabric.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 27.8,
          "description": "Unfold red patterned fabric on worktable and sew first seam.",
          "span_indices": [
            0,
            1,
            2
          ]
        },
        {
          "episode_id": 2,
          "start_time": 27.8,
          "end_time": 59.3,
          "description": "Reposition red patterned fabric and sew second seam.",
          "span_indices": [
            3,
            4,
            5
          ]
        },
        {
          "episode_id": 3,
          "start_time": 59.3,
          "end_time": 80.2,
          "description": "Fold red patterned fabric and sew third seam.",
          "span_indices": [
            6,
            7,
            8
          ]
        },
        {
          "episode_id": 4,
          "start_time": 80.2,
          "end_time": 106.3,
          "description": "Reposition and smooth fabric, sew fourth seam.",
          "span_indices": [
            9,
            10,
            11
          ]
        },
        {
          "episode_id": 5,
          "start_time": 106.3,
          "end_time": 122.3,
          "description": "Pin edges of red patterned fabric and sew fifth seam.",
          "span_indices": [
            12,
            13,
            14
          ]
        },
        {
          "episode_id": 6,
          "start_time": 122.3,
          "end_time": 147.1,
          "description": "Unfold new section of red patterned fabric and sew sixth seam.",
          "span_indices": [
            15,
            16,
            17
          ]
        },
        {
          "episode_id": 7,
          "start_time": 147.1,
          "end_time": 162.2,
          "description": "Align edges of red patterned fabric and sew seventh seam.",
          "span_indices": [
            18,
            19,
            20
          ]
        },
        {
          "episode_id": 8,
          "start_time": 162.2,
          "end_time": 181.3,
          "description": "Fold and align edges of red patterned fabric and sew eighth seam.",
          "span_indices": [
            21,
            22,
            23
          ]
        },
        {
          "episode_id": 9,
          "start_time": 181.3,
          "end_time": 198.4,
          "description": "Reposition and smooth red patterned fabric and sew ninth seam.",
          "span_indices": [
            24,
            25,
            26
          ]
        },
        {
          "episode_id": 10,
          "start_time": 198.4,
          "end_time": 213.3,
          "description": "Align edges of red patterned fabric and sew tenth seam.",
          "span_indices": [
            27,
            28,
            29
          ]
        },
        {
          "episode_id": 11,
          "start_time": 213.3,
          "end_time": 231.2,
          "description": "Pin edges of red patterned fabric and sew eleventh seam.",
          "span_indices": [
            30,
            31,
            32
          ]
        },
        {
          "episode_id": 12,
          "start_time": 231.2,
          "end_time": 259.1,
          "description": "Unfold new section of red patterned fabric and sew twelfth seam.",
          "span_indices": [
            33,
            34,
            35
          ]
        },
        {
          "episode_id": 13,
          "start_time": 259.1,
          "end_time": 275.9,
          "description": "Align edges of red patterned fabric and sew thirteenth seam.",
          "span_indices": [
            36,
            37,
            38
          ]
        },
        {
          "episode_id": 14,
          "start_time": 275.9,
          "end_time": 295.4,
          "description": "Fold and align edges of red patterned fabric and sew fourteenth seam.",
          "span_indices": [
            39,
            40,
            41
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 295.4,
      "end_time": 573.0,
      "description": "Sew edges and attach red trim onto red patterned fabric with sewing machine.",
      "episodes": [
        {
          "episode_id": 15,
          "start_time": 295.4,
          "end_time": 339.0,
          "description": "Adjust red patterned fabric on sewing table and sew first edge.",
          "span_indices": [
            42,
            43,
            44,
            45
          ]
        },
        {
          "episode_id": 16,
          "start_time": 339.0,
          "end_time": 362.0,
          "description": "Reposition red patterned fabric and sew red trim onto it.",
          "span_indices": [
            46,
            47,
            48
          ]
        },
        {
          "episode_id": 17,
          "start_time": 362.0,
          "end_time": 378.0,
          "description": "Adjust red patterned fabric and sew edge.",
          "span_indices": [
            49,
            50,
            51
          ]
        },
        {
          "episode_id": 18,
          "start_time": 378.0,
          "end_time": 397.0,
          "description": "Adjust red patterned fabric and sew another edge.",
          "span_indices": [
            52,
            53,
            54
          ]
        },
        {
          "episode_id": 19,
          "start_time": 397.0,
          "end_time": 448.0,
          "description": "Sew three edges of red patterned fabric and cut thread.",
          "span_indices": [
            55,
            56,
            57,
            58,
            59,
            60,
            61
          ]
        },
        {
          "episode_id": 20,
          "start_time": 448.0,
          "end_time": 479.0,
          "description": "Adjust red patterned fabric and sew edge, then cut thread.",
          "span_indices": [
            62,
            63,
            64
          ]
        },
        {
          "episode_id": 21,
          "start_time": 479.0,
          "end_time": 515.0,
          "description": "Adjust and sew two edges of red patterned fabric, then cut thread.",
          "span_indices": [
            65,
            66,
            67,
            68,
            69
          ]
        },
        {
          "episode_id": 22,
          "start_time": 515.0,
          "end_time": 573.0,
          "description": "Adjust, sew edges, attach red trim, and final adjust fabric.",
          "span_indices": [
            70,
            71,
            72,
            73,
            74,
            75,
            76,
            77
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 573.0,
      "end_time": 829.7,
      "description": "Cut red patterned fabric, position gold trim, and sew fabric pieces with sewing machine.",
      "episodes": [
        {
          "episode_id": 23,
          "start_time": 573.0,
          "end_time": 675.0,
          "description": "Adjust sewing machine and cut red patterned fabric into pieces with scissors.",
          "span_indices": [
            78,
            79,
            80,
            81,
            82,
            83,
            84,
            85,
            86,
            87,
            88,
            89,
            90,
            91,
            92
          ]
        },
        {
          "episode_id": 24,
          "start_time": 675.0,
          "end_time": 707.0,
          "description": "Arrange red fabric pieces and gold trim, then cut more fabric.",
          "span_indices": [
            93,
            94,
            95
          ]
        },
        {
          "episode_id": 25,
          "start_time": 707.0,
          "end_time": 755.0,
          "description": "Position gold trim, align fabric, and thread sewing machine.",
          "span_indices": [
            96,
            97,
            98
          ]
        },
        {
          "episode_id": 26,
          "start_time": 755.0,
          "end_time": 829.7,
          "description": "Sew red fabric pieces and gold trim with sewing machine and adjust fabric.",
          "span_indices": [
            99,
            100,
            101,
            102,
            103,
            104,
            105
          ]
        }
      ]
    }
  ]
}