{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.",
  "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
  "choices": [
    "Targeted assertion shown",
    "Gap shown",
    "No behavior change",
    "Need test evidence"
  ],
  "actions": {
    "Targeted assertion shown": {
      "action": "preview_jev_targeted_test_gap",
      "payload": {
        "decision": "Targeted assertion shown"
      },
      "pending": true
    },
    "Gap shown": {
      "action": "preview_jev_targeted_test_gap",
      "payload": {
        "decision": "Gap shown"
      },
      "pending": true
    },
    "No behavior change": {
      "action": "preview_jev_targeted_test_gap",
      "payload": {
        "decision": "No behavior change"
      },
      "pending": true
    },
    "Need test evidence": {
      "action": "preview_jev_targeted_test_gap",
      "payload": {
        "decision": "Need test evidence"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Failure branch asserted",
      "expected": "Targeted assertion shown",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"reject an empty token with error EMPTY_TOKEN\",\n    \"testsCompleteForReview\": true,\n    \"test\": \"expect(() => parseToken(\\\"\\\")).toThrow(\\\"EMPTY_TOKEN\\\")\"\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Only success tested",
      "expected": "Gap shown",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"reject an empty token with error EMPTY_TOKEN\",\n    \"testsCompleteForReview\": true,\n    \"tests\": [\n      \"expect(parseToken(\\\"valid\\\").ok).toBe(true)\"\n    ]\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Formatting only",
      "expected": "No behavior change",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"Indentation changes only; expressions and behavior are unchanged.\",\n    \"testsCompleteForReview\": true,\n    \"tests\": []\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Boundary asserted",
      "expected": "Targeted assertion shown",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"accept a limit equal to 10; reject values above 10\",\n    \"testsCompleteForReview\": true,\n    \"tests\": [\n      \"expect(accept(10)).toBe(true)\",\n      \"expect(accept(11)).toBe(false)\"\n    ]\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Invocation without assertion",
      "expected": "Gap shown",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"reject an empty token with error EMPTY_TOKEN\",\n    \"testsCompleteForReview\": true,\n    \"test\": \"try { parseToken(\\\"\\\"); } catch (_) {} // no assertion\"\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Subset unknown",
      "expected": "Need test evidence",
      "request": {
        "context": "{\n  \"task\": \"Compare a specific behavior change with supplied test assertions, without inferring whole-repository coverage or test execution.\",\n  \"evidence\": {\n    \"change\": \"reject an empty token with error EMPTY_TOKEN\",\n    \"tests\": [\n      \"one unrelated success test\"\n    ],\n    \"testsCompleteForReview\": false\n  }\n}",
        "question": "Compare changed behavior with supplied tests. Targeted assertion shown: a test reaches the changed branch or boundary and asserts its required result. Gap shown: the stated-complete review set lacks that assertion. No behavior change: documentation or formatting only. Need test evidence: change, expected result, review completeness or relevant assertion is missing or conflicting. An unrelated passing test is not coverage. Do not run tests.",
        "choices": [
          "Targeted assertion shown",
          "Gap shown",
          "No behavior change",
          "Need test evidence"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
