{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.",
  "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
  "choices": [
    "One behavior",
    "Mixed behaviors",
    "Obscured intent",
    "Review"
  ],
  "actions": {
    "One behavior": {
      "action": "preview_jev_unit_test_concept_review",
      "payload": {
        "decision": "One behavior"
      },
      "pending": true
    },
    "Mixed behaviors": {
      "action": "preview_jev_unit_test_concept_review",
      "payload": {
        "decision": "Mixed behaviors"
      },
      "pending": true
    },
    "Obscured intent": {
      "action": "preview_jev_unit_test_concept_review",
      "payload": {
        "decision": "Obscured intent"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_unit_test_concept_review",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Related output fields",
      "expected": "One behavior",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"formats a receipt\",\n    \"setup\": \"One completed purchase.\",\n    \"action\": \"formatReceipt(purchase)\",\n    \"assertions\": [\n      \"Receipt has the purchase identifier.\",\n      \"Receipt shows the purchase total.\",\n      \"Receipt shows the currency.\"\n    ]\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Two independent jobs",
      "expected": "Mixed behaviors",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"checks account utilities\",\n    \"setup\": \"Independent account and email template fixtures.\",\n    \"action\": \"calculateBalance(account); renderWelcome(template)\",\n    \"assertions\": [\n      \"Balance is correct.\",\n      \"Welcome email includes the logo.\"\n    ]\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Named table cases",
      "expected": "One behavior",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"rejects malformed postal codes\",\n    \"setup\": \"Named cases: too short, invalid characters, too long.\",\n    \"action\": \"validatePostalCode for each named case\",\n    \"assertions\": [\n      \"Each malformed code is rejected with the expected reason.\"\n    ]\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Purpose lost in setup",
      "expected": "Obscured intent",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"test_all\",\n    \"setup\": \"Several unrelated objects are mutated through numbered setup phases. Full code is supplied but no phase corresponds to a stated scenario.\",\n    \"action\": \"A sequence of unrelated helpers.\",\n    \"assertions\": [\n      \"A final aggregate is compared with an unexplained constant; the expected behavior cannot be identified from the supplied code.\"\n    ]\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Missing helper contract",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"test_process\",\n    \"setup\": null,\n    \"action\": \"process(x)\",\n    \"assertions\": null\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "One state transition",
      "expected": "One behavior",
      "request": {
        "context": "{\n  \"task\": \"Classify the conceptual scope and readability of a supplied unit test without executing it or measuring coverage.\",\n  \"evidence\": {\n    \"name\": \"closing a ticket records its resolution\",\n    \"setup\": \"One open ticket with a valid resolution.\",\n    \"action\": \"closeTicket(ticket, resolution)\",\n    \"assertions\": [\n      \"Status is closed.\",\n      \"Resolution text is stored.\",\n      \"Closed timestamp is recorded.\"\n    ]\n  }\n}",
        "question": "Review test intent from its name, setup, action and assertions. One behavior means checks describe one outcome, including several related assertions or clearly named table cases. Mixed behaviors means unrelated jobs are checked together. Obscured intent means supplied setup/assertions hide what behavior is being tested. Review takes precedence if essential context is missing or contradictory. Multiple assertions alone are not a defect. Do not execute tests or infer coverage.",
        "choices": [
          "One behavior",
          "Mixed behaviors",
          "Obscured intent",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
