{
  "schemaVersion": "spacetime.benchmark.v1",
  "id": "OJAI-COMP-001",
  "title": "Ojai / CA-33 terrain compiler",
  "measuredAt": "2026-10-20T19:34:09.410Z",
  "classification": "Real-data local benchmark; injected faults tested separately",
  "dataset": {
    "provider": "USGS 3D Elevation Program",
    "sourceUrl": "https://elevation.nationalmap.gov/arcgis/rest/services/3DEPElevation/ImageServer",
    "width": 512,
    "height": 512,
    "crs": "EPSG:26911",
    "verticalDatum": "NAVD88",
    "pixelSpacingM": 15.446957781427955,
    "captureDate": null,
    "retrievedAt": "2026-10-20T19:27:37.644758+00:00",
    "sourceSha256": "b7c5c094915a628b74c1a0d72fcd612c6458b45f233256e849691c636ec61fcb"
  },
  "environment": {
    "runtime": "v24.19.0",
    "platform": "linux x64",
    "os": "Linux 6.18.55",
    "cpu": "INTEL(R) XEON(R) PLATINUM 8573C",
    "logicalCpuCount": 9,
    "process": "single Node.js process; warm in-memory numeric lookup; no browser/GPU/network"
  },
  "metrics": [
    {
      "id": "pack-size",
      "label": "Compiled terrain pack",
      "value": 1.0007648468017578,
      "unit": "MiB",
      "meaning": "1,049,378 bytes: explicit metadata and 262,144 Float32 heights."
    },
    {
      "id": "query-p95",
      "label": "Local lookup p95",
      "value": 1.356000000015456,
      "unit": "µs",
      "meaning": "10,000 warm in-memory bilinear lookups; per-call timer included. Not end-to-end SDK, network, browser or device latency."
    },
    {
      "id": "coverage",
      "label": "Finite source cells",
      "value": 100,
      "unit": "%",
      "meaning": "262,144 of 262,144 retained cells finite. This is grid completeness, not mission or sensor coverage."
    },
    {
      "id": "roundtrip",
      "label": "Serialization difference",
      "value": 0,
      "unit": "m",
      "meaning": "Maximum absolute difference across all retained Float32 cells after pack decode. This is exact serialization, not ground accuracy."
    }
  ],
  "faultChecks": [
    {
      "name": "Corrupted bytes",
      "status": "blocked",
      "meaning": "Injected bit flip fails expected SHA-256 before sampling."
    },
    {
      "name": "Wrong horizontal frame",
      "status": "blocked",
      "meaning": "Injected incompatible frame is refused; runtime does not guess a projection."
    },
    {
      "name": "Wrong vertical datum",
      "status": "blocked",
      "meaning": "Injected unresolved height reference is refused."
    },
    {
      "name": "Stale receipt",
      "status": "blocked",
      "meaning": "Injected stale retrieval receipt fails the declared 30-day test policy; this is not a source-acquisition freshness claim."
    },
    {
      "name": "Unknown acquisition date",
      "status": "blocked",
      "meaning": "Actual mixed-mosaic acquisition date is unknown; strict known-capture-date policy refuses it."
    },
    {
      "name": "Incorrect payload identity",
      "status": "blocked",
      "meaning": "Injected lineage mismatch is refused even with a recomputed outer digest."
    },
    {
      "name": "Outside coverage",
      "status": "blocked",
      "meaning": "Out-of-extent query returns unknown; no extrapolation."
    },
    {
      "name": "Invalid coordinate",
      "status": "blocked",
      "meaning": "Nonfinite coordinate returns unknown."
    },
    {
      "name": "Missing terrain cell",
      "status": "blocked",
      "meaning": "Injected missing cell returns unknown; validity is preserved."
    }
  ],
  "reproducibility": {
    "command": "node scripts/benchmarks/run.mjs --output /tmp/spacetime-ojai-repro",
    "sourceCommit": null,
    "sourceCommitMeaning": "Exact source file SHA-256 digests are recorded below; no fabricated commit identity.",
    "scriptHashes": {
      "runtime.mjs": "0a4a43fbe6576aeda0edf1065e8deea8991536d494ee41e14ddb9881dbeded3c",
      "run.mjs": "7f9466e13bc5c23f7c44791b08b64373336f4a7e559994dba7e021390fa106eb"
    },
    "seed": "LCG seed20261020; state=(1664525*state+1013904223) mod2^32; fractional pixel-center positions in retained grid",
    "sampleCount": 10000,
    "warmupCount": 1000,
    "encodeMeasuredRuns": 10,
    "analyticalOracle": "2x2 planar grid: midpoint15m and endpoint0/30m recovered exactly; outside samples unknown",
    "receiptPolicy": {
      "frame": "EPSG:26911",
      "verticalDatum": "NAVD88",
      "evaluationTime": "2026-10-20T19:27:37.644758+00:00",
      "maxReceiptAgeDays": 30,
      "requireCaptureDate": false
    },
    "packSha256": "34ca012965ce7688eaa59eb8f3278e8f61b6f57bb0faec05a207e2990e11c100",
    "networkCallsDuringReplay": 0,
    "offlineReplaySamples": 100,
    "offlineMethod": "Same runtime evaluated in isolated JavaScript realm without fetch, XMLHttpRequest, WebSocket, require or imports; 100 answers equal ordinary execution. Not an OS-level network-disabled device test."
  },
  "details": {
    "queryP50Us": 0.572000000005346,
    "queryP95Us": 1.356000000015456,
    "queryP99Us": 1.7789999999990869,
    "encodeP50Ms": 0.504012000000003,
    "encodeP95Ms": 0.9789200000000022,
    "rawJsonBaselineBytes": 4738377,
    "rawPackBytes": 1049378,
    "jsonToPackRatio": 4.515414845746719,
    "gzipJsonBytes": 1558405,
    "gzipPackBytes": 891087,
    "consistency": {
      "count": 16,
      "rmsDifferenceM": 0.6362206851154746,
      "maxAbsDifferenceM": 1.7829589845017608,
      "scope": "Same-source service sampling consistency; not independent accuracy.",
      "comparisons": [
        {
          "x": 288082.1834802394,
          "y": 3819022.7233793302,
          "gridM": 385.6227722167918,
          "epqsM": 385.167144775,
          "differenceM": 0.4556274417918189
        },
        {
          "x": 290059.3940762622,
          "y": 3819022.7233793302,
          "gridM": 834.5682373047135,
          "epqsM": 833.62322998,
          "differenceM": 0.9450073247135151
        },
        {
          "x": 292036.604672285,
          "y": 3819022.7233793302,
          "gridM": 913.146850585973,
          "epqsM": 912.567443848,
          "differenceM": 0.5794067379729313
        },
        {
          "x": 294013.81526830775,
          "y": 3819022.7233793302,
          "gridM": 1178.326416015641,
          "epqsM": 1178.210083008,
          "differenceM": 0.11633300764083288
        },
        {
          "x": 288082.1834802394,
          "y": 3817045.5127833076,
          "gridM": 592.6013183595018,
          "epqsM": 590.818359375,
          "differenceM": 1.7829589845017608
        },
        {
          "x": 290059.3940762622,
          "y": 3817045.5127833076,
          "gridM": 341.99154663084437,
          "epqsM": 342.408477783,
          "differenceM": -0.4169311521556551
        },
        {
          "x": 292036.604672285,
          "y": 3817045.5127833076,
          "gridM": 575.5944824217761,
          "epqsM": 575.815490723,
          "differenceM": -0.22100830122394655
        },
        {
          "x": 294013.81526830775,
          "y": 3817045.5127833076,
          "gridM": 577.7882080078803,
          "epqsM": 577.958496094,
          "differenceM": -0.17028808611974
        },
        {
          "x": 288082.1834802394,
          "y": 3815068.3021872845,
          "gridM": 297.1884460448268,
          "epqsM": 298.379058838,
          "differenceM": -1.1906127931732158
        },
        {
          "x": 290059.3940762622,
          "y": 3815068.3021872845,
          "gridM": 218.5131072998017,
          "epqsM": 218.467895508,
          "differenceM": 0.0452117918017052
        },
        {
          "x": 292036.604672285,
          "y": 3815068.3021872845,
          "gridM": 304.6144104004416,
          "epqsM": 304.747589111,
          "differenceM": -0.13317871055841124
        },
        {
          "x": 294013.81526830775,
          "y": 3815068.3021872845,
          "gridM": 245.68199157714616,
          "epqsM": 245.671310425,
          "differenceM": 0.010681152146162276
        },
        {
          "x": 288082.1834802394,
          "y": 3813091.091591262,
          "gridM": 208.5193176269486,
          "epqsM": 208.122467041,
          "differenceM": 0.3968505859486129
        },
        {
          "x": 290059.3940762622,
          "y": 3813091.091591262,
          "gridM": 205.15071105956915,
          "epqsM": 205.124160767,
          "differenceM": 0.026550292569140765
        },
        {
          "x": 292036.604672285,
          "y": 3813091.091591262,
          "gridM": 226.62341308593528,
          "epqsM": 226.606704712,
          "differenceM": 0.016708373935273357
        },
        {
          "x": 294013.81526830775,
          "y": 3813091.091591262,
          "gridM": 205.42506408691378,
          "epqsM": 205.423538208,
          "differenceM": 0.001525878913781753
        }
      ]
    },
    "receipts": [
      {
        "name": "source-dem.tif",
        "bytes": 1049864,
        "sha256": "b7c5c094915a628b74c1a0d72fcd612c6458b45f233256e849691c636ec61fcb"
      },
      {
        "name": "terrain.f32",
        "bytes": 1048576,
        "sha256": "996a01f14f93cc2d27a9e3386c5cef4558a27d3be68ffa1023ff08900714c0d1"
      },
      {
        "name": "source-manifest.json",
        "bytes": 3002,
        "sha256": "04de59ba4823b3a6bda342ba7ce7f6b389bc53457e8bdbe15e7bff789d359a3d"
      },
      {
        "name": "epqs-checks.json",
        "bytes": 17646,
        "sha256": "9a15a46bacd92efb28177cc692c084f5768f222554a10e20540dd930dee7fcc9"
      },
      {
        "name": "imagery.jpg",
        "bytes": 347659,
        "sha256": "e62e7ed64594e16565192afdbefd8ea76090422fead56f6ea55409630bbe52c9"
      },
      {
        "name": "imagery-manifest.json",
        "bytes": 2241,
        "sha256": "3c31571b3ab12fd4595b134cdffc39bcf7b1e9bc024d4e2f1f6304d584547728"
      },
      {
        "name": "routes.json",
        "bytes": 4670,
        "sha256": "42f84418fbc5415c2302e20a89da79ffe3146f21ce02e738d28670d0c5d0416e"
      }
    ],
    "checksum": 4937496.440923276
  },
  "limitations": [
    "No independent surveyed control or field navigation validation. Absolute terrain accuracy and positioning integrity are not established.",
    "The export samples a mixed-resolution USGS mosaic at 15.447 m spacing; spacing is not native source resolution or accuracy.",
    "Acquisition date is not established per pixel. Retrieval time is not capture time; terrain is not current-conditions evidence.",
    "EPQS comparisons use the same USGS source family and compare sampling behavior, not independent accuracy.",
    "Injected faults test declared software behavior; they do not establish real-world detection rates or an integrity guarantee.",
    "Timing measures warm local numeric lookups and in-memory encoding on the recorded host; it excludes download, reprojection, source decoding and real-world data admission.",
    "Offline evidence is capability-isolated local replay, not a disconnected physical-device or navigation test."
  ],
  "artifacts": [
    {
      "label": "Full results JSON",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/results.json"
    },
    {
      "label": "Reproduction bundle",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/reproduce.zip"
    },
    {
      "label": "Compiled terrain pack",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/pack.bin"
    },
    {
      "label": "Source and frame manifest",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/source-manifest.json"
    },
    {
      "label": "Retained source raster",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/source-dem.tif"
    },
    {
      "label": "Sampling check evidence",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/sampling-consistency.json"
    },
    {
      "label": "Aligned NAIP imagery",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/imagery.jpg"
    },
    {
      "label": "Imagery source receipt",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/imagery-manifest.json"
    },
    {
      "label": "Representation fidelity study",
      "href": "/spacetime/benchmarks/ojai-ca33-v1/terrain-fidelity.json"
    }
  ]
}
