{
  "scope": "Git / Ruff / pytest · 一次性工作区",
  "input": "def fee(amount):\n    return 0 if amount > 100 else 5\n",
  "result": [
    {
      "command": "git -c core.hooksPath=/dev/null apply --check change.patch",
      "exit": 0,
      "output": ""
    },
    {
      "command": "git -c core.hooksPath=/dev/null apply --check change.patch",
      "exit": 1,
      "output": "error: patch failed: amount.py:1\nerror: amount.py: patch does not apply"
    }
  ],
  "checks": {
    "干净副本可应用": true,
    "上下文变化被拒绝": true
  }
}
