{
  "lab_id": "building-location-code-map",
  "synthetic_fixture": true,
  "environment": {
    "python": "3.14.8",
    "platform": "Darwin",
    "processor": "Python standard library"
  },
  "run_utc": "2026-10-30T07:35:13.556284+00:00",
  "status": "PASS",
  "assertion_count": 4,
  "actual": {
    "resolved": [
      {
        "record": "R01",
        "status": "active",
        "historical_code": "F1-E01",
        "current_code": "F1-E01"
      },
      {
        "record": "R02",
        "status": "active",
        "historical_code": "F1-E01",
        "current_code": "F1-E01"
      },
      {
        "record": "R03",
        "status": "retired",
        "historical_code": "OLD-01",
        "current_code": "F1-W01"
      },
      {
        "record": "R04",
        "status": "unknown",
        "historical_code": "",
        "current_code": ""
      }
    ],
    "same_current_location": [
      "R01",
      "R02"
    ],
    "retired_requires_note": [
      "R03"
    ],
    "unknown": [
      "R04"
    ]
  },
  "assertions": [
    {
      "field": "resolved",
      "pass": true,
      "actual": [
        {
          "record": "R01",
          "status": "active",
          "historical_code": "F1-E01",
          "current_code": "F1-E01"
        },
        {
          "record": "R02",
          "status": "active",
          "historical_code": "F1-E01",
          "current_code": "F1-E01"
        },
        {
          "record": "R03",
          "status": "retired",
          "historical_code": "OLD-01",
          "current_code": "F1-W01"
        },
        {
          "record": "R04",
          "status": "unknown",
          "historical_code": "",
          "current_code": ""
        }
      ],
      "expected": [
        {
          "record": "R01",
          "status": "active",
          "historical_code": "F1-E01",
          "current_code": "F1-E01"
        },
        {
          "record": "R02",
          "status": "active",
          "historical_code": "F1-E01",
          "current_code": "F1-E01"
        },
        {
          "record": "R03",
          "status": "retired",
          "historical_code": "OLD-01",
          "current_code": "F1-W01"
        },
        {
          "record": "R04",
          "status": "unknown",
          "historical_code": "",
          "current_code": ""
        }
      ]
    },
    {
      "field": "same_current_location",
      "pass": true,
      "actual": [
        "R01",
        "R02"
      ],
      "expected": [
        "R01",
        "R02"
      ]
    },
    {
      "field": "retired_requires_note",
      "pass": true,
      "actual": [
        "R03"
      ],
      "expected": [
        "R03"
      ]
    },
    {
      "field": "unknown",
      "pass": true,
      "actual": [
        "R04"
      ],
      "expected": [
        "R04"
      ]
    }
  ],
  "details": {
    "mapping_review": [],
    "policy": "Only active/retired states are interpreted;retired locations need a known active successor. Empty aliases are not links."
  },
  "limits": "Synthetic record checks only;not a real building inspection,safety/legal verdict,Excel app test,physical receipt or authenticity verification."
}