{
  "built": {
    "at": null,
    "builder_refs": {},
    "commit": null,
    "repo": "billmallard/makerplane-data",
    "run_url": null,
    "runner": null
  },
  "checks": [
    {
      "blocking": true,
      "cannot_catch": "A pack_meta that is well formed but names the wrong id or cycle for the bytes inside.",
      "expected": "pack_meta present; kind is one the device knows",
      "id": "PACK-001",
      "measured": "id=highways-conus kind=highways cycle=2026q2r2 schema_version=1",
      "status": "pass",
      "title": "pack_meta is readable and names a known kind"
    },
    {
      "blocking": true,
      "cannot_catch": "A license tag or attribution that is present but wrong for the data.",
      "expected": "both non-empty",
      "id": "PACK-002",
      "measured": "missing: license",
      "status": "fail",
      "title": "Attribution and license are recorded in pack_meta"
    },
    {
      "blocking": true,
      "cannot_catch": "Whether the label matches where the data really came from. For a kind with a default label (ORIGIN_BY_KIND in packtools/report.py) the label comes from that table, not from the builder or the pack, so the check is tautological and always passes; measured says which. With --origin it shows only that the label given is one of the three.",
      "expected": "one of federal / community / user-supplied",
      "id": "PACK-003",
      "measured": "community (defaulted by kind highways, not read from the pack)",
      "since": "AER-699",
      "status": "pass",
      "title": "Origin label is federal, community or user-supplied"
    },
    {
      "blocking": false,
      "cannot_catch": "A recorded source that is not the one the build actually used, and an edition or sha256 that is well formed but wrong.",
      "expected": "at least one source, each with a non-empty edition and a 64-hex sha256",
      "id": "PACK-004",
      "measured": null,
      "note": "Retro record: this edition was published before pack-report/1 existed, and the upstream inputs it was built from were not recorded then and cannot be recovered from the pack.",
      "status": "not-run",
      "title": "Upstream sources are recorded"
    },
    {
      "blocking": true,
      "cannot_catch": "Wrong values the reader accepts. It shows the device can open and query these bytes, not that what it returns is right. The queries cover fixed points only: US kinds, 5 CONUS metros (Denver, Seattle, Atlanta, Los Angeles and Chicago); airports (Canada), Toronto and Vancouver; water, Puget Sound, Lake Michigan and Lake Ontario; navaids, idents DEN, SEA, LAX; procedures, airways V23, J80, V1; terrain, one native tile or the coarsest mosaic level. So it cannot catch a missing Alaska, Hawaii or Puerto Rico, or any state or province that holds none of those points.",
      "expected": "the reader opens the pack and every query returns data",
      "id": "ACC-001",
      "measured": "opened; 5/5 queries returned data",
      "status": "pass",
      "title": "Device acceptance: pyEfis's own reader opens the pack and answers a fixed query set"
    },
    {
      "blocking": true,
      "cannot_catch": "Wrong data in a structurally sound file, and an index whose contents do not match its table: quick_check does not verify index contents, which is SQLite's documented difference from integrity_check. IDX-001 covers the R-trees.",
      "expected": "ok",
      "id": "SQL-001",
      "measured": "ok",
      "status": "pass",
      "title": "SQLite structure is sound (PRAGMA quick_check)"
    },
    {
      "blocking": true,
      "cannot_catch": "A table that has rows but is missing most of them.",
      "expected": "0 empty tables, apart from those declared empty by design for the kind (water: waterway_lines)",
      "id": "ROW-001",
      "measured": 0,
      "status": "pass",
      "title": "No data table is empty"
    },
    {
      "blocking": false,
      "cannot_catch": "A change that keeps counts steady (rows replaced by wrong rows), any defect already present in the previous edition, and a loss under the threshold (for obstacles at 10%, about 65,000 rows).",
      "expected": "Provisional threshold: no table moves more than 10%; a larger move needs a build note",
      "id": "ROW-002",
      "measured": null,
      "not_run_reason": "no-previous",
      "note": "Retro record: no earlier edition is listed, so there is nothing to compare against. Editions published before the ones the manifest lists were pruned and are not known here.",
      "provisional": "no edition-to-edition baseline yet (one published pair per kind when set); a warn level for a person to look at, to be re-set once enough records exist (AER-4102)",
      "status": "not-run",
      "title": "Row counts against the previous edition"
    },
    {
      "blocking": true,
      "cannot_catch": "A table dropped together with a schema_version bump that should not have been; the bump is taken as the declaration that the drop is intended.",
      "expected": "every table in the previous edition is still present, unless schema_version changed",
      "id": "ROW-003",
      "measured": null,
      "not_run_reason": "no-previous",
      "note": "Retro record: no earlier edition is listed, so there is nothing to compare against. Editions published before the ones the manifest lists were pruned and are not known here.",
      "since": "AER-4102",
      "status": "not-run",
      "title": "No table of the previous edition has disappeared"
    },
    {
      "blocking": true,
      "cannot_catch": "An index that holds the right number of rows with wrong boxes or ids. rtreecheck tests the tree's internal consistency, not that each box encloses its feature.",
      "expected": "each declared R-tree present, its row count equal to its base table's, and rtreecheck() ok; no undeclared R-tree",
      "id": "IDX-001",
      "measured": "highway_rtree 909,542 = highway_lines 909,542, rtreecheck ok",
      "since": "AER-4102",
      "status": "pass",
      "title": "Every spatial index (R-tree) indexes every row of its table"
    },
    {
      "blocking": true,
      "cannot_catch": "A loss smaller than a region (one state inside a multi-state region), and features that are present but wrong.",
      "expected": "Provisional threshold: no region with 100+ features goes to zero (fail); no region drops more than 10% (warn)",
      "id": "OSM-001",
      "measured": null,
      "not_run_reason": "no-previous",
      "note": "Retro record: no earlier edition is listed, so there is nothing to compare against. Editions published before the ones the manifest lists were pruned and are not known here. This edition's per-region counts are recorded for the next one.",
      "provisional": "no edition-to-edition baseline yet (one published pair per kind when set); a warn level for a person to look at, to be re-set once enough records exist (AER-4102)",
      "since": "makerplane-data#17",
      "status": "not-run",
      "title": "Feature counts per region against the previous edition"
    },
    {
      "blocking": false,
      "cannot_catch": "Losses inside a state.",
      "expected": "no state goes to zero",
      "id": "OSM-002",
      "measured": null,
      "note": "Needs state and province boundaries; planned for catalogue v2 (TV7). OSM-001 bins by region meanwhile.",
      "status": "not-run",
      "title": "Feature counts per state or province against the previous edition"
    },
    {
      "blocking": true,
      "cannot_catch": "A well-formed box around wrong geometry.",
      "expected": "0 bad boxes",
      "id": "OSM-004",
      "measured": 0,
      "status": "pass",
      "title": "Every feature's bounding box is well formed"
    },
    {
      "blocking": false,
      "cannot_catch": "Anything; it is for a person to read, not a test.",
      "expected": "an image a person can look at",
      "id": "OSM-005",
      "measured": null,
      "note": "Rendered by the report site (TV5).",
      "status": "not-run",
      "title": "Coverage map image"
    },
    {
      "blocking": true,
      "cannot_catch": "A column whose meaning changed without its name changing.",
      "expected": "declared schema_version equals the one the column set implies",
      "id": "OSM-003",
      "measured": "declared 1, columns say 1",
      "since": "AER-1715",
      "status": "pass",
      "title": "highway_lines columns agree with the declared schema_version"
    }
  ],
  "gated": true,
  "metrics": {
    "ACC-001": [
      {
        "count": 2877,
        "min": 1,
        "ok": true,
        "query": "road lines within 10 nm of Denver"
      },
      {
        "count": 3219,
        "min": 1,
        "ok": true,
        "query": "road lines within 10 nm of Seattle"
      },
      {
        "count": 4319,
        "min": 1,
        "ok": true,
        "query": "road lines within 10 nm of Atlanta"
      },
      {
        "count": 7254,
        "min": 1,
        "ok": true,
        "query": "road lines within 10 nm of Los Angeles"
      },
      {
        "count": 3778,
        "min": 1,
        "ok": true,
        "query": "road lines within 10 nm of Chicago"
      }
    ],
    "OSM-001": {
      "highway_lines": {
        "alaska": 0,
        "canada-east": 113545,
        "canada-west": 3457,
        "conus": 909542,
        "mexico-central-america": 180792,
        "us-central": 229054,
        "us-east": 514080,
        "us-south": 353197,
        "us-west": 174911
      }
    }
  },
  "notice": "Experimental / Amateur-Built use only. Not certified. This data is provided as-is with no warranty and any use of the data is at your own risk.",
  "origin": "community",
  "pack": {
    "bytes": 115793920,
    "cycle": "2026q2r2",
    "id": "highways-conus",
    "kind": "highways",
    "schema_version": "1",
    "sha256": "484479ecfe344171030cbda7b587e23af2c24e030f6ae1f038f54ba5aeeb0a57"
  },
  "previous": null,
  "record": "retro",
  "retro": {
    "commit": "0dc3dcd2bbe2337d6a08a2846af9c395ea561ffb",
    "probe_refs": {
      "pyEfis": "31110ec077522536e440a2bda9f1eae7083495de"
    },
    "run_url": null,
    "runner": "local",
    "written_at": "2026-11-01T00:51:25Z"
  },
  "schema": "pack-report/1",
  "sources": [],
  "summary": {
    "fail": 1,
    "not_run": 6,
    "pass": 8,
    "warn": 0
  },
  "tables": {
    "highway_lines": {
      "prev": null,
      "rows": 909542
    }
  }
}
