{
  "scope": "Generated independent A/B tasks, no external deadlines. Core requirements A60/B30; A divisible in 15-minute chunks, B30 indivisible. Setup10 per task visit; switch5 between different tasks inside a block. None are observed or recommended universal durations.",
  "cases": {
    "one_long_block": {
      "blocks": [
        {
          "id": "one_120",
          "capacity": 120,
          "spent": 115,
          "unused": 5,
          "segments": [
            {
              "kind": "setup",
              "task": "A",
              "start": 0,
              "end": 10
            },
            {
              "kind": "work",
              "task": "A",
              "start": 10,
              "end": 70
            },
            {
              "kind": "switch",
              "task": "B",
              "start": 70,
              "end": 75
            },
            {
              "kind": "setup",
              "task": "B",
              "start": 75,
              "end": 85
            },
            {
              "kind": "work",
              "task": "B",
              "start": 85,
              "end": 115
            }
          ]
        }
      ],
      "overhead_policy": {
        "setup_per_visit": 10,
        "switch_within_block": 5
      },
      "capacity": 120,
      "core_work": 90,
      "setup": 20,
      "switch": 5,
      "spent": 115,
      "unused": 5,
      "completed_work": {
        "A": 60,
        "B": 30
      },
      "remaining_work": {
        "A": 0,
        "B": 0
      },
      "all_tasks_complete": true
    },
    "two_blocks_draft_only": {
      "blocks": [
        {
          "id": "first_60",
          "capacity": 60,
          "spent": 40,
          "unused": 20,
          "segments": [
            {
              "kind": "setup",
              "task": "A",
              "start": 0,
              "end": 10
            },
            {
              "kind": "work",
              "task": "A",
              "start": 10,
              "end": 40
            }
          ]
        },
        {
          "id": "second_60",
          "capacity": 60,
          "spent": 40,
          "unused": 20,
          "segments": [
            {
              "kind": "setup",
              "task": "A",
              "start": 0,
              "end": 10
            },
            {
              "kind": "work",
              "task": "A",
              "start": 10,
              "end": 40
            }
          ]
        }
      ],
      "overhead_policy": {
        "setup_per_visit": 10,
        "switch_within_block": 5
      },
      "capacity": 120,
      "core_work": 60,
      "setup": 20,
      "switch": 0,
      "spent": 80,
      "unused": 40,
      "completed_work": {
        "A": 60,
        "B": 0
      },
      "remaining_work": {
        "A": 0,
        "B": 30
      },
      "all_tasks_complete": false
    },
    "two_blocks_smaller_A_action_and_B": {
      "blocks": [
        {
          "id": "first_60",
          "capacity": 60,
          "spent": 40,
          "unused": 20,
          "segments": [
            {
              "kind": "setup",
              "task": "A",
              "start": 0,
              "end": 10
            },
            {
              "kind": "work",
              "task": "A",
              "start": 10,
              "end": 40
            }
          ]
        },
        {
          "id": "second_60",
          "capacity": 60,
          "spent": 40,
          "unused": 20,
          "segments": [
            {
              "kind": "setup",
              "task": "B",
              "start": 0,
              "end": 10
            },
            {
              "kind": "work",
              "task": "B",
              "start": 10,
              "end": 40
            }
          ]
        }
      ],
      "overhead_policy": {
        "setup_per_visit": 10,
        "switch_within_block": 5
      },
      "capacity": 120,
      "core_work": 60,
      "setup": 20,
      "switch": 0,
      "spent": 80,
      "unused": 40,
      "completed_work": {
        "A": 30,
        "B": 30
      },
      "remaining_work": {
        "A": 30,
        "B": 0
      },
      "all_tasks_complete": false
    },
    "counterfactual_zero_overhead": {
      "blocks": [
        {
          "id": "first_60",
          "capacity": 60,
          "spent": 60,
          "unused": 0,
          "segments": [
            {
              "kind": "work",
              "task": "A",
              "start": 0,
              "end": 60
            }
          ]
        },
        {
          "id": "second_60",
          "capacity": 60,
          "spent": 30,
          "unused": 30,
          "segments": [
            {
              "kind": "work",
              "task": "B",
              "start": 0,
              "end": 30
            }
          ]
        }
      ],
      "overhead_policy": {
        "setup_per_visit": 0,
        "switch_within_block": 0
      },
      "capacity": 120,
      "core_work": 90,
      "setup": 0,
      "switch": 0,
      "spent": 90,
      "unused": 30,
      "completed_work": {
        "A": 60,
        "B": 30
      },
      "remaining_work": {
        "A": 0,
        "B": 0
      },
      "all_tasks_complete": true
    }
  },
  "searches": [
    {
      "capacities": [
        120
      ],
      "candidate_allocations": 14,
      "valid_allocations": 14,
      "full_completion_allocations": 2,
      "scope": "Declared 15-minute A chunks, B indivisible, once per task per block, setup10 per visit and switch5 inside a block only."
    },
    {
      "capacities": [
        60,
        60
      ],
      "candidate_allocations": 25,
      "valid_allocations": 21,
      "full_completion_allocations": 0,
      "scope": "Declared 15-minute A chunks, B indivisible, once per task per block, setup10 per visit and switch5 inside a block only."
    }
  ],
  "two_short_blocks_completion_lower_bound": 125,
  "lower_bound_limit": "125 is a necessary lower bound for full completion under these rules, not a feasible 125-minute schedule or general scheduling theorem.",
  "invalid_plans": [
    {
      "case": "over_capacity",
      "result": "rejected_as_expected",
      "reason": "Block over capacity including overhead"
    },
    {
      "case": "over_completed",
      "result": "rejected_as_expected",
      "reason": "Work counted beyond the defined task"
    },
    {
      "case": "invalid_chunk",
      "result": "rejected_as_expected",
      "reason": "A uses declared 15-minute work chunks"
    },
    {
      "case": "split_indivisible_B",
      "result": "rejected_as_expected",
      "reason": "B is indivisible in this model"
    },
    {
      "case": "unknown_task",
      "result": "rejected_as_expected",
      "reason": "Unknown task"
    },
    {
      "case": "negative_work",
      "result": "rejected_as_expected",
      "reason": "Invalid work amount"
    },
    {
      "case": "repeat_context_in_block",
      "result": "rejected_as_expected",
      "reason": "One visit per task in a block is the declared model"
    }
  ],
  "existing_worksheet_comparison": {
    "results": {
      "core_only": {
        "capacity": 120,
        "planned": 90,
        "remaining": 30
      },
      "one_block_with_overhead": {
        "capacity": 120,
        "planned": 115,
        "remaining": 5
      },
      "two_block_completion_lower_bound": {
        "capacity": 120,
        "planned": 125,
        "remaining": -5
      },
      "partial_plan": {
        "capacity": 120,
        "planned": 80,
        "remaining": 40
      }
    },
    "scope": "Executed existing weeklyTotals on entered totals only; not an independent scheduling algorithm. Placeholder actual=0 fields excluded; no actual-time observation."
  }
}
