{
  "captured": "2026-10-14T19:24:32.218028+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "8139d29b46719301e0352e143feaa7fefd65ec976b31d119a685684ad550990c",
    "broken_sha256": "4a3dbe45dab0364ea87c5ad42f197dbba29d5d36320b3abac9d0c8e5f3e4acd1",
    "rule_sha256": "88be07fdd9f24f7814fe1cb2f5583c44aeb2b1e2970e8f9697458db0f32d7d66"
  },
  "rule": "When cancelOnServer rejects, the optimistic cancelling state must be replaced with the previous order before reporting the error.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "src/useCancellation.js",
        "--rules",
        "optimistic-failure-restores-state",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"src/useCancellation.js\",\n  \"name\": \"src/useCancellation.js\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"optimistic-failure-restores-state\",\n      \"said\": \"When cancelOnServer rejects, the optimistic cancelling state must be replaced with the previous order before reporting the error.\",\n      \"broken\": 0.87,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "src/useCancellation.js",
        "--rules",
        "optimistic-failure-restores-state",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"src/useCancellation.js\",\n  \"name\": \"src/useCancellation.js\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
