{
  "session_id": "session_data_20260407_180834",
  "total_duration_s": 1263.9,
  "n_input_spans": 135,
  "session_goal": "Sew pink and orange patterned fabric, pink patterned strips, pink/orange floral and green fabric strips, and large pink-orange floral fabric using a sewing machine and scissors.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 248.0,
      "description": "Prepare and sew pink and orange fabric and attach green fabric strip.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 42.0,
          "description": "Arrange pink and orange patterned fabric pieces on worktable.",
          "span_indices": [
            0,
            1
          ]
        },
        {
          "episode_id": 2,
          "start_time": 42.0,
          "end_time": 58.0,
          "description": "Adjust sewing machine components and position fabric under presser foot.",
          "span_indices": [
            2,
            3
          ]
        },
        {
          "episode_id": 3,
          "start_time": 58.0,
          "end_time": 71.0,
          "description": "Cut excess pink and orange fabric with scissors.",
          "span_indices": [
            4,
            5,
            6
          ]
        },
        {
          "episode_id": 4,
          "start_time": 71.0,
          "end_time": 132.0,
          "description": "Arrange and prepare pink and orange fabric pieces for sewing.",
          "span_indices": [
            7
          ]
        },
        {
          "episode_id": 5,
          "start_time": 132.0,
          "end_time": 152.0,
          "description": "Sew pink and orange fabric sections with sewing machine.",
          "span_indices": [
            8,
            9,
            10
          ]
        },
        {
          "episode_id": 6,
          "start_time": 152.0,
          "end_time": 157.0,
          "description": "Cut sewing thread from sewn fabric with scissors.",
          "span_indices": [
            11,
            12,
            13
          ]
        },
        {
          "episode_id": 7,
          "start_time": 157.0,
          "end_time": 177.0,
          "description": "Arrange and sew pink and orange fabric section.",
          "span_indices": [
            14,
            15
          ]
        },
        {
          "episode_id": 8,
          "start_time": 177.0,
          "end_time": 181.0,
          "description": "Cut sewing thread from sewn fabric.",
          "span_indices": [
            16,
            17,
            18
          ]
        },
        {
          "episode_id": 9,
          "start_time": 181.0,
          "end_time": 202.0,
          "description": "Fold and sew pink and orange fabric piece.",
          "span_indices": [
            19,
            20
          ]
        },
        {
          "episode_id": 10,
          "start_time": 202.0,
          "end_time": 243.0,
          "description": "Position and sew green fabric strip onto pink and orange fabric.",
          "span_indices": [
            21,
            22
          ]
        },
        {
          "episode_id": 11,
          "start_time": 243.0,
          "end_time": 248.0,
          "description": "Adjust sewn fabric and cut thread with scissors.",
          "span_indices": [
            23,
            24,
            25,
            26
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 248.0,
      "end_time": 308.0,
      "description": "Organize sewing accessories and thread the sewing machine.",
      "episodes": [
        {
          "episode_id": 12,
          "start_time": 248.0,
          "end_time": 267.0,
          "description": "Organize small sewing accessories on worktable.",
          "span_indices": [
            27
          ]
        },
        {
          "episode_id": 13,
          "start_time": 267.0,
          "end_time": 276.0,
          "description": "Thread sewing machine and adjust machine components.",
          "span_indices": [
            28
          ]
        },
        {
          "episode_id": 14,
          "start_time": 276.0,
          "end_time": 300.0,
          "description": "Arrange small sewing accessories on worktable.",
          "span_indices": [
            29
          ]
        },
        {
          "episode_id": 15,
          "start_time": 300.0,
          "end_time": 308.0,
          "description": "Thread the sewing machine.",
          "span_indices": [
            30
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 308.0,
      "end_time": 587.0,
      "description": "Sew pink patterned fabric strips and attach green fabric, then mark and cut.",
      "episodes": [
        {
          "episode_id": 16,
          "start_time": 308.0,
          "end_time": 384.0,
          "description": "Position and sew pink patterned fabric strip sections with sewing machine.",
          "span_indices": [
            31,
            32,
            33,
            34,
            35,
            36
          ]
        },
        {
          "episode_id": 17,
          "start_time": 384.0,
          "end_time": 452.0,
          "description": "Align and sew green fabric strip with pink patterned fabric.",
          "span_indices": [
            37,
            38,
            39,
            40,
            41,
            42
          ]
        },
        {
          "episode_id": 18,
          "start_time": 452.0,
          "end_time": 499.0,
          "description": "Mark pink patterned fabric with marking tool and cut along line.",
          "span_indices": [
            43,
            44,
            45,
            46
          ]
        },
        {
          "episode_id": 19,
          "start_time": 499.0,
          "end_time": 545.0,
          "description": "Fold and sew cut pink fabric pieces together.",
          "span_indices": [
            47,
            48,
            49
          ]
        },
        {
          "episode_id": 20,
          "start_time": 545.0,
          "end_time": 587.0,
          "description": "Sew long pink patterned fabric strip and remove from machine.",
          "span_indices": [
            50,
            51
          ]
        }
      ]
    },
    {
      "sub_goal_id": 4,
      "start_time": 587.0,
      "end_time": 900.0,
      "description": "Sew pink/orange floral and green fabric strips with repeated adjustments.",
      "episodes": [
        {
          "episode_id": 21,
          "start_time": 587.0,
          "end_time": 600.0,
          "description": "Position new pink patterned fabric piece and begin sewing.",
          "span_indices": [
            52,
            53
          ]
        },
        {
          "episode_id": 22,
          "start_time": 600.0,
          "end_time": 621.5,
          "description": "Position pink/orange floral fabric and align green fabric strip.",
          "span_indices": [
            54,
            55
          ]
        },
        {
          "episode_id": 23,
          "start_time": 621.5,
          "end_time": 705.0,
          "description": "Sew pink/orange floral and green fabric strips, adjusting alignment.",
          "span_indices": [
            56,
            57,
            58,
            59,
            60,
            61,
            62,
            63,
            64,
            65,
            66,
            67,
            68,
            69,
            70
          ]
        },
        {
          "episode_id": 24,
          "start_time": 705.0,
          "end_time": 771.0,
          "description": "Align green strip with new fabric section and sew.",
          "span_indices": [
            71,
            72,
            73,
            74,
            75,
            76,
            77,
            78
          ]
        },
        {
          "episode_id": 25,
          "start_time": 771.0,
          "end_time": 775.0,
          "description": "Cut sewing thread with scissors.",
          "span_indices": [
            79
          ]
        },
        {
          "episode_id": 26,
          "start_time": 775.0,
          "end_time": 839.0,
          "description": "Reposition strips under needle and sew with adjustments.",
          "span_indices": [
            80,
            81,
            82,
            83,
            84,
            85,
            86,
            87,
            88,
            89
          ]
        },
        {
          "episode_id": 27,
          "start_time": 839.0,
          "end_time": 900.0,
          "description": "Align green strip with new fabric section, sew, and inspect seams.",
          "span_indices": [
            90,
            91,
            92,
            93,
            94,
            95,
            96,
            97,
            98
          ]
        }
      ]
    },
    {
      "sub_goal_id": 5,
      "start_time": 900.0,
      "end_time": 1009.0,
      "description": "Sew green trim to pink-orange floral fabric strip and trim excess.",
      "episodes": [
        {
          "episode_id": 28,
          "start_time": 900.0,
          "end_time": 920.0,
          "description": "Sew initial section of green trim to fabric strip and adjust.",
          "span_indices": [
            99,
            100
          ]
        },
        {
          "episode_id": 29,
          "start_time": 920.0,
          "end_time": 949.0,
          "description": "Sew next sections of green trim and realign with fabric edge.",
          "span_indices": [
            101,
            102,
            103
          ]
        },
        {
          "episode_id": 30,
          "start_time": 949.0,
          "end_time": 994.0,
          "description": "Adjust position and sew middle to final sections of green trim.",
          "span_indices": [
            104,
            105,
            106,
            107
          ]
        },
        {
          "episode_id": 31,
          "start_time": 994.0,
          "end_time": 1009.0,
          "description": "Cut sewing thread and trim excess fabric from sewn strip edges.",
          "span_indices": [
            108,
            109
          ]
        }
      ]
    },
    {
      "sub_goal_id": 6,
      "start_time": 1009.0,
      "end_time": 1200.0,
      "description": "Fold sewn strip, then sew edges and side seams of large pink-orange floral fabric.",
      "episodes": [
        {
          "episode_id": 32,
          "start_time": 1009.0,
          "end_time": 1032.0,
          "description": "Fold sewn fabric strip and inspect seam quality.",
          "span_indices": [
            110
          ]
        },
        {
          "episode_id": 33,
          "start_time": 1032.0,
          "end_time": 1087.0,
          "description": "Unfold large pink-orange floral fabric, align under presser foot, and sew edge.",
          "span_indices": [
            111,
            112,
            113,
            114,
            115
          ]
        },
        {
          "episode_id": 34,
          "start_time": 1087.0,
          "end_time": 1163.0,
          "description": "Sew first, second, and third side seams of large fabric and trim excess.",
          "span_indices": [
            116,
            117,
            118,
            119,
            120,
            121
          ]
        },
        {
          "episode_id": 35,
          "start_time": 1163.0,
          "end_time": 1200.0,
          "description": "Fold large sewn fabric, sew final edge seam, and inspect.",
          "span_indices": [
            122,
            123,
            124,
            125
          ]
        }
      ]
    },
    {
      "sub_goal_id": 7,
      "start_time": 1200.0,
      "end_time": 1263.9,
      "description": "Sew edge of pink floral fabric and pick up green fabric strip.",
      "episodes": [
        {
          "episode_id": 36,
          "start_time": 1200.0,
          "end_time": 1262.3,
          "description": "Sew edge of pink floral fabric with sewing machine, adjusting for each seam.",
          "span_indices": [
            126,
            127,
            128,
            129,
            130,
            131,
            132,
            133
          ]
        },
        {
          "episode_id": 37,
          "start_time": 1262.3,
          "end_time": 1263.9,
          "description": "Pick up green fabric strip from sewing table.",
          "span_indices": [
            134
          ]
        }
      ]
    }
  ]
}