{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.",
  "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
  "choices": [
    "Ready",
    "Clarify",
    "NeedSchema"
  ],
  "actions": {
    "Ready": {
      "action": "preview_jev_analytics_question_clarity",
      "payload": {
        "decision": "Ready"
      },
      "pending": true
    },
    "Clarify": {
      "action": "preview_jev_analytics_question_clarity",
      "payload": {
        "decision": "Clarify"
      },
      "pending": true
    },
    "NeedSchema": {
      "action": "preview_jev_analytics_question_clarity",
      "payload": {
        "decision": "NeedSchema"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Best is undefined",
      "expected": "Clarify",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"Who are our best customers?\",\n    \"schema\": \"customers(id); orders(customer_id,total,created_at)\",\n    \"definitions\": \"No definition of best.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Metric and period supplied",
      "expected": "Ready",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"Count orders by customer for September 2026.\",\n    \"schema\": \"orders(id,customer_id,created_at)\",\n    \"definitions\": \"Count each order ID once; period is 2026-09-01 inclusive to 2026-10-01 exclusive in UTC.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "All-time request",
      "expected": "Ready",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"Count all customers ever created.\",\n    \"schema\": \"customers(id,created_at)\",\n    \"definitions\": \"One row per customer; no rows are deleted.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Active lacks policy",
      "expected": "Clarify",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"How many active workspaces do we have?\",\n    \"schema\": \"workspaces(id); events(workspace_id,at,kind)\",\n    \"definitions\": \"No active-workspace definition.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Comparison absent",
      "expected": "Clarify",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"Did weekly signups improve?\",\n    \"schema\": \"signups(id,created_at)\",\n    \"definitions\": \"Signup means a newly created account. Comparison weeks and improvement measure are unspecified.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Schema missing",
      "expected": "NeedSchema",
      "request": {
        "context": "{\n  \"task\": \"Identify whether a natural-language analytics question lacks a material definition needed for a unique interpretation.\",\n  \"evidence\": {\n    \"question\": \"Count orders by customer for the stated month.\",\n    \"schema\": null,\n    \"definitions\": \"September 2026 UTC; count distinct orders.\"\n  }\n}",
        "question": "Using the complete supplied schema and known policies, choose Ready if the question has a defined metric, population, period and comparison where relevant. Choose Clarify if an essential definition is missing and different reasonable choices change the answer. Use NeedSchema when the relevant schema is absent. Do not demand a period for an explicitly all-time question or for a task that does not need one. Do not compute results or invent definitions.",
        "choices": [
          "Ready",
          "Clarify",
          "NeedSchema"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
