{
  "session_id": "session_data_20260405_153345",
  "total_duration_s": 1004.4,
  "n_input_spans": 55,
  "session_goal": "Cut and sew beige patterned fabric, attach yellow fabric strips, and assemble final piece with sewing machine.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 78.0,
      "description": "Adjust beige fabric, thread sewing machine, and pin fabric pieces for sewing.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 3.0,
          "description": "Adjust and move beige patterned fabric on table.",
          "span_indices": [
            0,
            1
          ]
        },
        {
          "episode_id": 2,
          "start_time": 3.0,
          "end_time": 49.0,
          "description": "Prepare sewing machine by pulling thread, threading needle, and adjusting tension.",
          "span_indices": [
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9
          ]
        },
        {
          "episode_id": 3,
          "start_time": 49.0,
          "end_time": 78.0,
          "description": "Arrange beige patterned fabric pieces and pin them for sewing.",
          "span_indices": [
            10,
            11,
            12,
            13,
            14
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 78.0,
      "end_time": 375.0,
      "description": "Sew beige patterned fabric, then fold, cut, and trim pieces with scissors and seam ripper.",
      "episodes": [
        {
          "episode_id": 4,
          "start_time": 78.0,
          "end_time": 158.0,
          "description": "Position fabric under needle, adjust settings, and sew beige patterned fabric.",
          "span_indices": [
            15,
            16,
            17,
            18,
            19,
            20
          ]
        },
        {
          "episode_id": 5,
          "start_time": 158.0,
          "end_time": 204.0,
          "description": "Unfold, inspect, and spread sewn beige patterned fabric on table.",
          "span_indices": [
            21,
            22,
            23
          ]
        },
        {
          "episode_id": 6,
          "start_time": 204.0,
          "end_time": 292.0,
          "description": "Fold beige fabric, align for cutting, and cut into sections with pink scissors.",
          "span_indices": [
            24,
            25,
            26,
            27,
            28,
            29,
            30,
            31
          ]
        },
        {
          "episode_id": 7,
          "start_time": 292.0,
          "end_time": 339.0,
          "description": "Trim excess from beige fabric and cut with pink-handled scissors.",
          "span_indices": [
            32,
            33,
            34
          ]
        },
        {
          "episode_id": 8,
          "start_time": 339.0,
          "end_time": 375.0,
          "description": "Trim beige fabric with red seam ripper and align pieces for sewing.",
          "span_indices": [
            35,
            36,
            37,
            38
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 375.0,
      "end_time": 706.0,
      "description": "Cut yellow fabric into strips, sew to beige fabric, and trim and arrange sewn strips.",
      "episodes": [
        {
          "episode_id": 9,
          "start_time": 375.0,
          "end_time": 449.0,
          "description": "Cut yellow fabric into strips and align with beige patterned fabric pieces.",
          "span_indices": [
            39,
            40,
            41,
            42
          ]
        },
        {
          "episode_id": 10,
          "start_time": 449.0,
          "end_time": 565.0,
          "description": "Position yellow fabric strip along beige fabric and sew with sewing machine.",
          "span_indices": [
            43,
            44
          ]
        },
        {
          "episode_id": 11,
          "start_time": 565.0,
          "end_time": 600.0,
          "description": "Trim excess threads and inspect sewn beige and yellow fabric piece.",
          "span_indices": [
            45,
            46
          ]
        },
        {
          "episode_id": 12,
          "start_time": 600.0,
          "end_time": 694.0,
          "description": "Sew yellow trim onto beige fabric strip and cut sewn strip with pink scissors.",
          "span_indices": [
            47,
            48
          ]
        },
        {
          "episode_id": 13,
          "start_time": 694.0,
          "end_time": 706.0,
          "description": "Place cut sewn fabric strip on table and inspect yellow fabric pieces.",
          "span_indices": [
            49,
            50
          ]
        }
      ]
    },
    {
      "sub_goal_id": 4,
      "start_time": 706.0,
      "end_time": 830.4,
      "description": "Unfold large beige fabric, align smaller piece, and sew together to complete assembly.",
      "episodes": [
        {
          "episode_id": 14,
          "start_time": 706.0,
          "end_time": 755.0,
          "description": "Unfold large beige patterned fabric and align smaller beige piece on edge.",
          "span_indices": [
            51,
            52
          ]
        },
        {
          "episode_id": 15,
          "start_time": 755.0,
          "end_time": 830.4,
          "description": "Sew smaller beige piece onto large beige fabric and adjust completed work.",
          "span_indices": [
            53,
            54
          ]
        }
      ]
    }
  ]
}