{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.",
  "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
  "choices": [
    "Change requested",
    "No change requested",
    "Review"
  ],
  "actions": {
    "Change requested": {
      "action": "preview_jev_pr_change_request_detection",
      "payload": {
        "decision": "Change requested"
      },
      "pending": true
    },
    "No change requested": {
      "action": "preview_jev_pr_change_request_detection",
      "payload": {
        "decision": "No change requested"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_pr_change_request_detection",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Direct rename",
      "expected": "Change requested",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"Please rename result to deliveryStatus in this function.\",\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Polite request",
      "expected": "Change requested",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"Could you add a test for an empty input before we merge?\",\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Approval",
      "expected": "No change requested",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"Thanks for the clarification. This looks good to me; no changes needed.\",\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Quoted request rejected",
      "expected": "No change requested",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"The earlier note said \\\"remove the retry\\\". I disagree with that suggestion; please keep the current retry unchanged.\",\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Explanation only",
      "expected": "No change requested",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"Why is the retry count three? I am asking to understand the existing behavior, not requesting a change.\",\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Missing comment context",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Determine whether the current reviewer is asking for a code change, using attribution and surrounding comment context.\",\n  \"evidence\": {\n    \"comment\": \"That part, maybe.\",\n    \"previousThread\": null,\n    \"authorRole\": \"reviewer\"\n  }\n}",
        "question": "Classify the current reviewer comment. Change requested means the reviewer asks for a concrete code modification, including polite questions used as requests. No change requested means approval, explanation, or quoted suggestions the reviewer explicitly declines. Review means intent or attribution is unresolved. Interpret quoted text through the reviewer's own stance; a question seeking explanation alone is not a change request. Do not judge patch correctness or apply changes.",
        "choices": [
          "Change requested",
          "No change requested",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
