{
  "schema": "martybytes-pr-feedback-calibration/v1",
  "cases": [
    {
      "id": "boundary-loop",
      "changedFiles": ["src/range.js", "test/range.test.js"],
      "diff": "diff --git a/src/range.js b/src/range.js\n@@ -11,2 +11,2 @@\n const values = []\n- for (let i = start; i < end; i++) values.push(i)\n+ for (let i = start; i <= end; i++) values.push(i)\n",
      "expected": [
        {"id": "off-by-one", "file": "src/range.js", "line": 12, "category": "correctness"}
      ],
      "findings": [
        {"id": "boundary-fix", "file": "src/range.js", "line": 12, "category": "correctness", "action": "fix", "nextStep": "Stop before the exclusive upper bound and add a boundary assertion.", "stipulatedDisposition": "actionable"},
        {"id": "boundary-duplicate", "file": "src/range.js", "line": 12, "category": "correctness", "action": "test", "nextStep": "Add another assertion for the same exclusive-bound defect.", "stipulatedDisposition": "not-actionable"}
      ]
    },
    {
      "id": "failure-path",
      "changedFiles": ["src/load-config.js", "test/load-config.test.js"],
      "diff": "diff --git a/test/load-config.test.js b/test/load-config.test.js\n@@ -17,1 +17,2 @@\n test('loads valid JSON', () => { /* stipulated passing example */ })\n+test('uses defaults when absent', () => { /* stipulated passing example */ })\n",
      "expected": [
        {"id": "missing-invalid-json-test", "file": "test/load-config.test.js", "line": 18, "category": "test"}
      ],
      "findings": [
        {"id": "add-failure-test", "file": "test/load-config.test.js", "line": 18, "category": "test", "action": "test", "nextStep": "Add an invalid-JSON case and assert the documented error shape.", "stipulatedDisposition": "actionable"},
        {"id": "unrelated-refactor", "file": "src/logger.js", "line": 4, "category": "design", "action": "fix", "nextStep": "Rename the logger helpers across the repository.", "stipulatedDisposition": "not-actionable"}
      ]
    },
    {
      "id": "clean-doc-change",
      "changedFiles": ["docs/configuration.md"],
      "diff": "diff --git a/docs/configuration.md b/docs/configuration.md\n@@ -6,2 +6,2 @@\n ## Output\n-Set the output path.\n+Set the output path before starting the command.\n",
      "expected": [],
      "findings": [
        {"id": "vague-design-comment", "file": "docs/configuration.md", "line": 7, "category": "design", "action": "question", "nextStep": "Could this whole section be reorganized?", "stipulatedDisposition": "needs-discussion"}
      ]
    }
  ]
}
