{
  "schema_version": 1,
  "status": "verified",
  "reason": "The same test had an assertion failure before and passed after. Inspect the assertion and source before accepting its meaning.",
  "requirement": "Reject uploads of exactly 8 MiB while accepting smaller uploads.",
  "source": {
    "kind": "user_instruction",
    "text": "Uploads must be smaller than 8 MiB; exactly 8 MiB must be rejected."
  },
  "before": {
    "commit": "ef8bbe0a0d6a5a73426e1a75275405bf6fa7bed2",
    "command": [
      "/tmp/alluvia-protect-launch-demo-env/bin/python",
      "-I",
      "/tmp/alluvia-protect-launch-demo-env/lib/python3.13/site-packages/alluvia/checks_runner.py",
      "/tmp/alluvia-check-60u9okwq/before/repo",
      "/tmp/alluvia-check-60u9okwq/before/repo",
      "/tmp/alluvia-protect-demo-9lue825k/upload-example",
      "test_upload_policy.py",
      "test_upload_policy.py::test_upload_limit_is_exclusive",
      "/tmp/alluvia-check-60u9okwq/before/evidence.json",
      "89ce153ada0e82542140809b598a918fa1143e190ac6d76635c61f2c1ac93fbd"
    ],
    "returncode": 1,
    "timed_out": false,
    "duration_seconds": 0.1222,
    "stdout": "F\n================================== FAILURES ==================================\n_______________________ test_upload_limit_is_exclusive _______________________\n\n    def test_upload_limit_is_exclusive():\n        limit = 8 * 1024 * 1024\n        assert accepts_upload(limit - 1)\n>       assert not accepts_upload(limit)\nE       assert not True\nE        +  where True = accepts_upload(8388608)\n\ntest_upload_policy.py:7: AssertionError\n========================== short test summary info ===========================\nFAILED test_upload_policy.py::test_upload_limit_is_exclusive - assert not True\n1 failed in 0.01s\n",
    "stderr": "",
    "output_truncated": false,
    "archive_too_large": false,
    "selected_nodeids": [
      "test_upload_policy.py::test_upload_limit_is_exclusive"
    ],
    "selected_count": 1,
    "phases": [
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "setup",
        "outcome": "passed",
        "assertion": false,
        "wasxfail": null,
        "longrepr": "",
        "duration_seconds": 3.9789999846107094e-05
      },
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "call",
        "outcome": "failed",
        "assertion": true,
        "wasxfail": null,
        "longrepr": "def test_upload_limit_is_exclusive():\n        limit = 8 * 1024 * 1024\n        assert accepts_upload(limit - 1)\n>       assert not accepts_upload(limit)\nE       assert not True\nE        +  where True = accepts_upload(8388608)\n\ntest_upload_policy.py:7: AssertionError",
        "duration_seconds": 8.14989998616511e-05
      },
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "teardown",
        "outcome": "passed",
        "assertion": false,
        "wasxfail": null,
        "longrepr": "",
        "duration_seconds": 4.348800030129496e-05
      }
    ],
    "collection_errors": [],
    "origin_violations": [],
    "test_intact": true,
    "evidence_complete": true
  },
  "after": {
    "commit": "2e47eaa774a0cd9bb9336bb0fee2c0181f846228",
    "command": [
      "/tmp/alluvia-protect-launch-demo-env/bin/python",
      "-I",
      "/tmp/alluvia-protect-launch-demo-env/lib/python3.13/site-packages/alluvia/checks_runner.py",
      "/tmp/alluvia-check-60u9okwq/after/repo",
      "/tmp/alluvia-check-60u9okwq/after/repo",
      "/tmp/alluvia-protect-demo-9lue825k/upload-example",
      "test_upload_policy.py",
      "test_upload_policy.py::test_upload_limit_is_exclusive",
      "/tmp/alluvia-check-60u9okwq/after/evidence.json",
      "89ce153ada0e82542140809b598a918fa1143e190ac6d76635c61f2c1ac93fbd"
    ],
    "returncode": 0,
    "timed_out": false,
    "duration_seconds": 0.1215,
    "stdout": ".\n1 passed in 0.00s\n",
    "stderr": "",
    "output_truncated": false,
    "archive_too_large": false,
    "selected_nodeids": [
      "test_upload_policy.py::test_upload_limit_is_exclusive"
    ],
    "selected_count": 1,
    "phases": [
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "setup",
        "outcome": "passed",
        "assertion": false,
        "wasxfail": null,
        "longrepr": "",
        "duration_seconds": 3.865200005748193e-05
      },
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "call",
        "outcome": "passed",
        "assertion": false,
        "wasxfail": null,
        "longrepr": "",
        "duration_seconds": 3.78409999939322e-05
      },
      {
        "nodeid": "test_upload_policy.py::test_upload_limit_is_exclusive",
        "when": "teardown",
        "outcome": "passed",
        "assertion": false,
        "wasxfail": null,
        "longrepr": "",
        "duration_seconds": 3.208600037396536e-05
      }
    ],
    "collection_errors": [],
    "origin_violations": [],
    "test_intact": true,
    "evidence_complete": true
  },
  "test": {
    "path": "test_upload_policy.py",
    "selector": "test_upload_policy.py::test_upload_limit_is_exclusive",
    "sha256": "89ce153ada0e82542140809b598a918fa1143e190ac6d76635c61f2c1ac93fbd"
  },
  "artifacts": {
    "test": "test/test_upload_policy.py",
    "report": "report.json",
    "readme": "README.md"
  }
}
