{
  "schema": 1,
  "repository": "brunnojob/swift-offshore-ups-runtime-estimator",
  "source_commit": "527ae7d2af6d871c4370390ab0f8b9287886ee40",
  "generated_at": "2026-10-10T05:28:53.207508+00:00",
  "run_url": "https://github.com/brunnojob/swift-offshore-ups-runtime-estimator/actions/runs/38027628429",
  "inputs_sha256": {
    ".proof/scenarios.json": "29e826bbe07bcc06c0854f3d917880dc098157bf6d8b0e6be0d2ae1b973c5125",
    "examples/input.txt": "93af3c4c245b7d4b1bb30f79d8e77f407cb0704b1e80eb9c9fa1ec4506dc6d57"
  },
  "cases": [
    {
      "display": false,
      "name": "swiftc Sources/main.swift -o app && ./app --self-test && ./app < examples/input.txt",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "swiftc Sources/main.swift -o app && ./app --self-test && ./app < examples/input.txt"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 7.227,
      "output": "Tests passed\n{\"dischargedAh\":6.758955169362245,\"energyWh\":302.79166666666663,\"lowVoltage\":false,\"remainingHours\":5.731887007543569,\"stateOfCharge\":0.9324104483063774}\n",
      "output_sha256": "b35f1739fcaf46b0c9f514aac30f8cc83f402e37034de7b19055588bae05838c"
    },
    {
      "display": true,
      "name": "Application demonstration with checked output",
      "argv": [
        "./app"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 0.15,
      "output": "{\"dischargedAh\":6.758955169362245,\"energyWh\":302.79166666666663,\"lowVoltage\":false,\"remainingHours\":5.731887007543569,\"stateOfCharge\":0.9324104483063774}\n",
      "output_sha256": "94554c61683de91d1e876d51e47a33da338db0fc40d5994f8894e079ad653097"
    },
    {
      "display": true,
      "name": "Reject an empty capture",
      "argv": [
        "./app"
      ],
      "exit": 2,
      "expected_exit": 2,
      "passed": true,
      "seconds": 0.137,
      "output": "Missing input\n",
      "output_sha256": "59dde097c155045b6510b44b5d0ee86176974b3476c8b96718ac676f66134e97"
    },
    {
      "display": true,
      "name": "Reject malformed input",
      "argv": [
        "./app"
      ],
      "exit": 2,
      "expected_exit": 2,
      "passed": true,
      "seconds": 0.092,
      "output": "Invalid CSV row\n",
      "output_sha256": "64aaf8a3f81772044320e6481a9fe33ac80bfdb41f6deb590512cd62c2cd30b7"
    },
    {
      "display": true,
      "name": "Reject unsupported invocation",
      "argv": [
        "./app",
        "--unsupported"
      ],
      "exit": 2,
      "expected_exit": 2,
      "passed": true,
      "seconds": 0.121,
      "output": "Unsupported command arguments\n",
      "output_sha256": "a7217611e9bf4e2fd5cbbd1b8b97c5898f154b14da948e9e35008b59b8158bcd"
    },
    {
      "display": true,
      "name": "Reject an oversized input record",
      "argv": [
        "./app"
      ],
      "exit": 2,
      "expected_exit": 2,
      "passed": true,
      "seconds": 0.107,
      "output": "Input record too large\n",
      "output_sha256": "45eb187fdae97f09b79c4bcd5c03d9b942872125e5fb5b6a83011b36f8d62333"
    }
  ],
  "passed": true
}
