{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Choose a supplied text span for an already-focused field in a bounded UI task.",
  "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
  "choices": [
    "A",
    "B",
    "C",
    "None"
  ],
  "actions": {
    "A": {
      "action": "preview_jev_focused_field_value",
      "payload": {
        "decision": "A"
      },
      "pending": true
    },
    "B": {
      "action": "preview_jev_focused_field_value",
      "payload": {
        "decision": "B"
      },
      "pending": true
    },
    "C": {
      "action": "preview_jev_focused_field_value",
      "payload": {
        "decision": "C"
      },
      "pending": true
    },
    "None": {
      "action": "preview_jev_focused_field_value",
      "payload": {
        "decision": "None"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Place search",
      "expected": "B",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"In Maps, search for Green Park.\",\n    \"focusedField\": \"Place search\",\n    \"candidates\": {\n      \"A\": \"In Maps, search for Green Park\",\n      \"B\": \"Green Park\",\n      \"C\": \"Maps\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Document title",
      "expected": "A",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"Name the document Autumn Launch Notes.\",\n    \"focusedField\": \"Document title\",\n    \"candidates\": {\n      \"A\": \"Autumn Launch Notes\",\n      \"B\": \"Autumn\",\n      \"C\": \"Name the document\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Full search phrase",
      "expected": "C",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"Search the library for coastal bird migration.\",\n    \"focusedField\": \"Library search\",\n    \"candidates\": {\n      \"A\": \"birds\",\n      \"B\": \"library\",\n      \"C\": \"coastal bird migration\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Two values in request",
      "expected": "B",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"Set the title to Budget Review and the folder to Finance.\",\n    \"focusedField\": \"Document title\",\n    \"candidates\": {\n      \"A\": \"Finance\",\n      \"B\": \"Budget Review\",\n      \"C\": \"Set the title\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Missing complete value",
      "expected": "None",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"Name it Notes for Friday Planning.\",\n    \"focusedField\": \"Document title\",\n    \"candidates\": {\n      \"A\": \"Notes\",\n      \"B\": \"Friday\",\n      \"C\": \"Planning\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Unknown focus",
      "expected": "None",
      "request": {
        "context": "{\n  \"task\": \"Choose a supplied text span for an already-focused field in a bounded UI task.\",\n  \"evidence\": {\n    \"request\": \"Use Green Park in the search field.\",\n    \"focusedField\": null,\n    \"candidates\": {\n      \"A\": \"Green Park\",\n      \"B\": \"search field\",\n      \"C\": \"Use Green Park\"\n    }\n  }\n}",
        "question": "Choose A, B or C containing the shortest complete value explicitly requested for the focused field. Exclude surrounding action instructions and unrelated values; preserve required parts of the value. Choose None if focus is unknown, the request is ambiguous or no candidate provides the complete value. Return an existing span label only; do not invent personal data, rewrite text or fill the form.",
        "choices": [
          "A",
          "B",
          "C",
          "None"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
