{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Judge the usability of supplied page text and parser observations before proposing extraction or OCR.",
  "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
  "choices": [
    "Usable text",
    "OCR candidate",
    "Review"
  ],
  "actions": {
    "Usable text": {
      "action": "preview_jev_pdf_text_layer_usability",
      "payload": {
        "decision": "Usable text"
      },
      "pending": true
    },
    "OCR candidate": {
      "action": "preview_jev_pdf_text_layer_usability",
      "payload": {
        "decision": "OCR candidate"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_pdf_text_layer_usability",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Readable page",
      "expected": "Usable text",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"Order reference: O-17. The shipment contains four replacement filters.\",\n    \"parser\": \"Text layer covers the page content; no text-bearing image regions.\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Image-only content",
      "expected": "OCR candidate",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"\",\n    \"parser\": \"Page contains a scan with visible text; no text layer.\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Watermark only",
      "expected": "OCR candidate",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"DRAFT\",\n    \"parser\": \"Only watermark is extracted; the body is a text-bearing scanned image.\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Unknown empty extraction",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"\",\n    \"parser\": \"Unavailable\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Broken character mapping",
      "expected": "OCR candidate",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"�� �□□ ��\",\n    \"parser\": \"Text objects exist; Unicode mapping is broken and body text is unreadable.\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Conflicting coverage",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Judge the usability of supplied page text and parser observations before proposing extraction or OCR.\",\n  \"evidence\": {\n    \"text\": \"Section one: project scope.\",\n    \"parser\": \"One report says full text; another reports missing scanned paragraphs. Disagreement unresolved.\"\n  }\n}",
        "question": "Judge the supplied page extraction. Usable text means readable substantive page content is present and the parser reports no missing text-bearing image regions. OCR candidate means evidence explicitly shows unreadable extraction or text-bearing page images not represented by usable extracted text. Review means extraction or page-content facts are missing or contradictory. Empty text alone does not prove the page is blank or scanned. Do not claim to inspect a PDF or perform OCR.",
        "choices": [
          "Usable text",
          "OCR candidate",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
