{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.",
  "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
  "choices": [
    "Candidate A",
    "Candidate B",
    "Candidate C",
    "None of these",
    "Need evidence"
  ],
  "actions": {
    "Candidate A": {
      "action": "preview_jev_invoice_amount_role_selection",
      "payload": {
        "decision": "Candidate A"
      },
      "pending": true
    },
    "Candidate B": {
      "action": "preview_jev_invoice_amount_role_selection",
      "payload": {
        "decision": "Candidate B"
      },
      "pending": true
    },
    "Candidate C": {
      "action": "preview_jev_invoice_amount_role_selection",
      "payload": {
        "decision": "Candidate C"
      },
      "pending": true
    },
    "None of these": {
      "action": "preview_jev_invoice_amount_role_selection",
      "payload": {
        "decision": "None of these"
      },
      "pending": true
    },
    "Need evidence": {
      "action": "preview_jev_invoice_amount_role_selection",
      "payload": {
        "decision": "Need evidence"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "A is payable",
      "expected": "Candidate A",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"Candidate A: USD 44, text total due now. Candidate B: USD 40, text subtotal. Candidate C: USD 4, text tax.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "B is payable",
      "expected": "Candidate B",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"Candidate A: USD 40, text subtotal. Candidate B: USD 44, text total due now. Candidate C: USD 4, text tax.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "C is payable",
      "expected": "Candidate C",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"Candidate A: USD 40, text subtotal. Candidate B: USD 4, text tax. Candidate C: USD 44, text total due now.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "No total stated",
      "expected": "None of these",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"Complete excerpt: Candidate A is a subtotal; B is tax; C is a prior credit. No total due is stated.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Do not calculate a missing total",
      "expected": "None of these",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"Complete excerpt: Candidate A is USD 40 subtotal; B is USD 4 tax; C is USD 2 credit. No candidate is explicitly total due. Do not compute an amount.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Candidate list absent",
      "expected": "Need evidence",
      "request": {
        "context": "{\n  \"task\": \"Choose which supplied pre-parsed candidate is explicitly labeled total due in a fictional invoice excerpt.\",\n  \"evidence\": \"An invoice is mentioned, but neither its excerpt nor the pre-parsed candidate list is supplied.\"\n}",
        "question": "Select the candidate explicitly identified as total due. Candidate A: Candidate A is explicitly the total due. Candidate B: Candidate B is explicitly the total due. Candidate C: Candidate C is explicitly the total due. None of these: Complete excerpt identifies none as total due. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Candidate A",
          "Candidate B",
          "Candidate C",
          "None of these",
          "Need evidence"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
