{
  "session_id": "session_data_20260404_195003",
  "total_duration_s": 1651.9,
  "n_input_spans": 160,
  "session_goal": "Sew blue patterned fabric, attach blue striped trim, trim threads, hem, and cut fabric using green pattern.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 300.0,
      "description": "Sew blue patterned fabric, change thread, and cut thread with red scissors.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 177.0,
          "description": "Observe workspace then position and sew blue patterned fabric.",
          "span_indices": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24,
            25
          ]
        },
        {
          "episode_id": 2,
          "start_time": 177.0,
          "end_time": 211.5,
          "description": "Place blue thread spool and thread sewing machine needle.",
          "span_indices": [
            26,
            27,
            28
          ]
        },
        {
          "episode_id": 3,
          "start_time": 211.5,
          "end_time": 300.0,
          "description": "Continue sewing blue patterned fabric and cut sewing thread with red scissors.",
          "span_indices": [
            29,
            30,
            31,
            32,
            33,
            34,
            35,
            36,
            37,
            38
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 300.0,
      "end_time": 600.0,
      "description": "Attach blue striped trim and small fabric strips to blue patterned fabric.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 300.0,
          "end_time": 358.0,
          "description": "Cut and align blue striped trim, fold small blue fabric strip.",
          "span_indices": [
            39,
            40,
            41,
            42,
            43
          ]
        },
        {
          "episode_id": 2,
          "start_time": 358.0,
          "end_time": 476.0,
          "description": "Sew blue striped trim to blue patterned fabric, cut threads, and inspect.",
          "span_indices": [
            44,
            45,
            46,
            47,
            48,
            49,
            50,
            51,
            52,
            53,
            54,
            55,
            56,
            57,
            58,
            59,
            60
          ]
        },
        {
          "episode_id": 3,
          "start_time": 476.0,
          "end_time": 517.0,
          "description": "Sew small blue fabric strip and additional trim to blue patterned fabric.",
          "span_indices": [
            61,
            62,
            63,
            64,
            65
          ]
        },
        {
          "episode_id": 4,
          "start_time": 517.0,
          "end_time": 568.0,
          "description": "Fold and sew blue fabric pieces together, adjust neckline.",
          "span_indices": [
            66,
            67,
            68
          ]
        },
        {
          "episode_id": 5,
          "start_time": 568.0,
          "end_time": 600.0,
          "description": "Sew remaining blue striped trim, cut excess, and adjust finished garment.",
          "span_indices": [
            69,
            70,
            71,
            72,
            73,
            74
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 600.0,
      "end_time": 1147.0,
      "description": "Trim threads, sew with vintage machine, fold, and hem blue patterned fabric.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 600.0,
          "end_time": 900.0,
          "description": "Trim threads and sew blue patterned fabric with vintage sewing machine.",
          "span_indices": [
            75,
            76,
            77,
            78,
            79,
            80,
            81,
            82,
            83,
            84,
            85,
            86,
            87,
            88,
            89,
            90,
            91,
            92,
            93,
            94,
            95,
            96,
            97,
            98,
            99,
            100,
            101
          ]
        },
        {
          "episode_id": 2,
          "start_time": 900.0,
          "end_time": 998.2,
          "description": "Sew blue patterned fabric sections and cut threads with red scissors.",
          "span_indices": [
            102,
            103,
            104,
            105,
            106,
            107,
            108,
            109,
            110,
            111,
            112,
            113,
            114,
            115
          ]
        },
        {
          "episode_id": 3,
          "start_time": 998.2,
          "end_time": 1068.2,
          "description": "Fold blue patterned fabric, align, sew, and cut threads with red scissors.",
          "span_indices": [
            116,
            117,
            118,
            119,
            120,
            121,
            122
          ]
        },
        {
          "episode_id": 4,
          "start_time": 1068.2,
          "end_time": 1114.0,
          "description": "Fold fabric, inspect seams, align edges, and sew with sewing machine.",
          "span_indices": [
            123,
            124,
            125,
            126,
            127
          ]
        },
        {
          "episode_id": 5,
          "start_time": 1114.0,
          "end_time": 1147.0,
          "description": "Fold edge for hemming, align, sew, and lift blue patterned fabric.",
          "span_indices": [
            128,
            129,
            130,
            131
          ]
        }
      ]
    },
    {
      "sub_goal_id": 4,
      "start_time": 1147.0,
      "end_time": 1329.9,
      "description": "Mark and cut blue patterned fabric using green fabric and blue pen on bed.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 1147.0,
          "end_time": 1167.0,
          "description": "Spread blue fabric, align green patterned fabric, and mark with blue pen.",
          "span_indices": [
            132,
            133,
            134,
            135,
            136,
            137
          ]
        },
        {
          "episode_id": 2,
          "start_time": 1167.0,
          "end_time": 1214.0,
          "description": "Position blue fabric under presser foot, sew, adjust sewing machine, and sew.",
          "span_indices": [
            138,
            139,
            140,
            141,
            142,
            143
          ]
        },
        {
          "episode_id": 3,
          "start_time": 1214.0,
          "end_time": 1329.9,
          "description": "Carry blue fabric to patterned bed, mark with blue marker, cut with scissors, smooth.",
          "span_indices": [
            144,
            145,
            146,
            147,
            148,
            149,
            150,
            151,
            152,
            153,
            154,
            155,
            156,
            157,
            158,
            159
          ]
        }
      ]
    }
  ]
}