{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Identify how many devices or rooms an explicitly targeted household command covers.",
  "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
  "choices": [
    "Single device",
    "One room",
    "Whole home",
    "Other explicit scope",
    "Need scope"
  ],
  "actions": {
    "Single device": {
      "action": "preview_jev_home_command_scope",
      "payload": {
        "decision": "Single device"
      },
      "pending": true
    },
    "One room": {
      "action": "preview_jev_home_command_scope",
      "payload": {
        "decision": "One room"
      },
      "pending": true
    },
    "Whole home": {
      "action": "preview_jev_home_command_scope",
      "payload": {
        "decision": "Whole home"
      },
      "pending": true
    },
    "Other explicit scope": {
      "action": "preview_jev_home_command_scope",
      "payload": {
        "decision": "Other explicit scope"
      },
      "pending": true
    },
    "Need scope": {
      "action": "preview_jev_home_command_scope",
      "payload": {
        "decision": "Need scope"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Named desk lamp",
      "expected": "Single device",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn on the desk lamp.\",\n    \"catalog\": [\n      \"Desk lamp: one device in the office.\"\n    ]\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Kitchen lights",
      "expected": "One room",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn off all lights in the kitchen.\",\n    \"catalog\": [\n      \"Kitchen ceiling light\",\n      \"Kitchen counter light\",\n      \"Hall light\"\n    ]\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Lights everywhere",
      "expected": "Whole home",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn off every light in the whole house.\",\n    \"catalog\": [\n      \"Kitchen ceiling light\",\n      \"Hall light\",\n      \"Bedroom light\"\n    ]\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Two rooms",
      "expected": "Other explicit scope",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn off all lights in the kitchen and hall only.\",\n    \"catalog\": [\n      \"Kitchen light\",\n      \"Hall light\",\n      \"Bedroom light\"\n    ]\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "One lamp in a room",
      "expected": "Single device",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn on the corner lamp in the kitchen.\",\n    \"catalog\": [\n      \"Corner lamp: one kitchen device\",\n      \"Kitchen ceiling light: separate device\"\n    ]\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Unresolved reference",
      "expected": "Need scope",
      "request": {
        "context": "{\n  \"task\": \"Identify how many devices or rooms an explicitly targeted household command covers.\",\n  \"evidence\": {\n    \"command\": \"Turn those off.\",\n    \"catalog\": null\n  }\n}",
        "question": "Classify the explicit target set using the supplied device catalog. Single device: one named device, even with a room name. One room: every device of a kind in one room. Whole home: every device of a kind everywhere. Other explicit scope: a clear set outside these, such as two specified rooms. Need scope: command, target or required catalog mapping is missing or ambiguous. Classify coverage only; do not execute the command or infer device state.",
        "choices": [
          "Single device",
          "One room",
          "Whole home",
          "Other explicit scope",
          "Need scope"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
