{
  "runType": "fixture replay",
  "externalProviderCalls": 0,
  "livePublicApiCalls": 0,
  "fixtureFile": "fixture-response.json",
  "fixtureSha256": "c599551cb616a11bdaec53fc06354196bbe1967cbc9459cd0447cb9d752b5c15",
  "endpoint": "https://library.example.test/api/occupancy",
  "connector": {
    "id": "a09bf3d9-1ff0-4d21-b6c7-78c4b6227c73",
    "status": "connected",
    "latestDatasetId": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
    "lastRead": "2026-10-05T21:02:48.940Z"
  },
  "dataset": {
    "id": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
    "sourceId": "connector:a09bf3d9-1ff0-4d21-b6c7-78c4b6227c73",
    "filename": "Library occupancy API · fixture replay",
    "profile": {
      "rows": 6,
      "columns": [
        {
          "name": "branch",
          "type": "text",
          "missing": 0,
          "unique": 2
        },
        {
          "name": "observed_at",
          "type": "text",
          "missing": 0,
          "unique": 3
        },
        {
          "name": "occupancy_pct",
          "type": "number",
          "missing": 0,
          "unique": 6,
          "numericCount": 6,
          "min": 42,
          "max": 87,
          "mean": 65.66666666666667
        }
      ]
    },
    "sample": [
      {
        "branch": "North",
        "observed_at": "2026-09-15T09:00:00Z",
        "occupancy_pct": 42
      },
      {
        "branch": "North",
        "observed_at": "2026-09-15T12:00:00Z",
        "occupancy_pct": 74
      },
      {
        "branch": "North",
        "observed_at": "2026-09-15T15:00:00Z",
        "occupancy_pct": 87
      },
      {
        "branch": "South",
        "observed_at": "2026-09-15T09:00:00Z",
        "occupancy_pct": 51
      },
      {
        "branch": "South",
        "observed_at": "2026-09-15T12:00:00Z",
        "occupancy_pct": 78
      },
      {
        "branch": "South",
        "observed_at": "2026-09-15T15:00:00Z",
        "occupancy_pct": 62
      }
    ]
  },
  "test": {
    "id": "test-crowding",
    "validationState": "verified",
    "binding": {
      "kind": "connection",
      "nodeId": "api-occupancy",
      "canvas": "my",
      "contentRevision": 1,
      "datasetVersionId": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
      "connectionId": "a09bf3d9-1ff0-4d21-b6c7-78c4b6227c73",
      "service": "Library occupancy API · fixture replay",
      "rows": 6,
      "at": "2026-10-05T21:02:48.938Z",
      "by": "agent"
    }
  },
  "computation": {
    "id": "e0265bb2-1e94-416f-9f6b-f6cca88d05f2",
    "status": "completed",
    "spec": {
      "title": "test-crowding",
      "idempotencyKey": "research:8799bf91-61f8-4065-a3d1-45586a986b17",
      "branchId": null,
      "baselineExperimentId": null,
      "inputs": [
        {
          "id": "input1",
          "datasetId": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
          "columns": {
            "occupancy_pct": {
              "type": "number",
              "unit": "1"
            }
          }
        }
      ],
      "parameters": {},
      "steps": [
        {
          "id": "result",
          "tool": "filter",
          "inputs": [
            "input1"
          ],
          "config": {
            "column": "occupancy_pct",
            "operator": "gte",
            "value": 70
          }
        }
      ],
      "output": "result",
      "test": {
        "testId": "test-crowding",
        "revision": 1,
        "method": "numerical",
        "hypothesis": "At least two of the six fixture records reach 70% occupancy.",
        "falsifying": "Fewer than two rows reach 70% occupancy.",
        "conditions": "If fewer than two rows reach 70%, the proposed rule fails this replay.",
        "origin": "agent"
      }
    },
    "inputVersions": [
      {
        "inputId": "input1",
        "datasetId": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
        "sourceId": "connector:a09bf3d9-1ff0-4d21-b6c7-78c4b6227c73",
        "created": "2026-10-05T21:02:48.940Z",
        "hash": "b3840d27f4ae41f9f4cb1b52707b03a156dc11015ef717f72aaaf259016510aa",
        "columns": {
          "occupancy_pct": {
            "type": "number",
            "unit": "1"
          }
        },
        "refs": [
          {
            "nodeId": "api-occupancy",
            "canvas": "my",
            "revision": 4,
            "branchId": null
          }
        ]
      }
    ],
    "result": {
      "outputVersionId": "e0265bb2-1e94-416f-9f6b-f6cca88d05f2:output",
      "output": {
        "kind": "table",
        "rows": [
          {
            "branch": "North",
            "observed_at": "2026-09-15T12:00:00Z",
            "occupancy_pct": 74
          },
          {
            "branch": "North",
            "observed_at": "2026-09-15T15:00:00Z",
            "occupancy_pct": 87
          },
          {
            "branch": "South",
            "observed_at": "2026-09-15T12:00:00Z",
            "occupancy_pct": 78
          }
        ],
        "rowCount": 3,
        "columns": {
          "branch": {
            "type": "string",
            "unit": "1"
          },
          "observed_at": {
            "type": "string",
            "unit": "1"
          },
          "occupancy_pct": {
            "type": "number",
            "unit": "1"
          }
        },
        "units": {
          "branch": "1",
          "observed_at": "1",
          "occupancy_pct": "1"
        },
        "summary": {
          "inputRows": 6,
          "retainedRows": 3,
          "excludedRows": 3
        }
      },
      "receipts": [
        {
          "id": "result",
          "tool": "filter",
          "inputRefs": [
            "input1"
          ],
          "config": {
            "column": "occupancy_pct",
            "operator": "gte",
            "value": 70
          },
          "methodVersion": "canvas/1",
          "inputFingerprint": "6e80b1f49bd5985a79b4170713886d4c71b4bba24c354b965a6a59763d473abf",
          "resultHash": "e56dc3b259279ae56874673e0a3bc7788956568600c504439b303a5634ced78f",
          "outputVersionId": "e0265bb2-1e94-416f-9f6b-f6cca88d05f2:result",
          "reusedFrom": null,
          "rowCount": 3,
          "elapsedMs": 0
        }
      ],
      "stepResults": {},
      "provenance": {
        "softwareVersion": "canvas-compute/1.0.0",
        "inputHashes": [
          {
            "datasetId": "dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce",
            "hash": "b3840d27f4ae41f9f4cb1b52707b03a156dc11015ef717f72aaaf259016510aa"
          }
        ],
        "parameters": {},
        "seeds": [],
        "reusedSteps": [],
        "elapsedMs": 6
      }
    }
  },
  "verification": {
    "experimentIdAndRevision": {
      "id": "experiment:test:test-crowding:1",
      "revision": 1
    },
    "candidateAssertionRevision": {
      "candidateId": "hypothesis-crowding",
      "revision": 1
    },
    "laneId": "lane:test:experiment:test:test-crowding:1",
    "metrics": {
      "Rows at or above alert": {
        "value": 3,
        "units": "count"
      }
    },
    "sample": {
      "kind": "sample",
      "achieved": 3,
      "required": 2,
      "unit": "row",
      "exclusions": []
    },
    "conditions": [
      "If fewer than two rows reach 70%, the proposed rule fails this replay.",
      "Fixture rows are illustrative."
    ],
    "actionReceipts": [
      "receipt:8799bf91-61f8-4065-a3d1-45586a986b17"
    ],
    "startedAt": "2026-10-05T21:02:48.975Z",
    "endedAt": "2026-10-05T21:02:49.082Z",
    "actualCost": 0,
    "registeredThreshold": {
      "comparison": "gte",
      "value": 2,
      "metric": "Rows at or above alert",
      "units": "count"
    },
    "observedVerdict": "met",
    "observedVerdictReason": "The measured value met the registered threshold.",
    "collector": {
      "kind": "computation",
      "actor": "test-runner"
    },
    "fixture": false,
    "kind": "original",
    "supersedes": null,
    "createdAt": "2026-10-05T21:02:49.085Z"
  },
  "alternative": {
    "branchId": "0328b336-e732-410f-8723-acfa5593bbca",
    "experimentId": "bb5d128a-8f60-4261-89a5-473ab88151a3",
    "status": "completed",
    "output": {
      "kind": "table",
      "rows": [
        {
          "branch": "North",
          "observed_at": "2026-09-15T15:00:00Z",
          "occupancy_pct": 87
        }
      ],
      "rowCount": 1,
      "columns": {
        "branch": {
          "type": "string",
          "unit": "1"
        },
        "observed_at": {
          "type": "string",
          "unit": "1"
        },
        "occupancy_pct": {
          "type": "number",
          "unit": "1"
        }
      },
      "units": {
        "branch": "1",
        "observed_at": "1",
        "occupancy_pct": "1"
      },
      "summary": {
        "inputRows": 6,
        "retainedRows": 1,
        "excludedRows": 5
      }
    },
    "changedDependencies": {
      "inputIds": [],
      "parameterNames": [],
      "stepIds": [
        "result"
      ],
      "removedStepIds": [],
      "unaffectedStepIds": [],
      "graphRefs": []
    }
  },
  "comparison": {
    "baselineExperimentId": "e0265bb2-1e94-416f-9f6b-f6cca88d05f2",
    "experimentId": "bb5d128a-8f60-4261-89a5-473ab88151a3",
    "changedDependencies": {
      "inputIds": [],
      "parameterNames": [],
      "stepIds": [
        "result"
      ],
      "removedStepIds": [],
      "unaffectedStepIds": [],
      "graphRefs": []
    },
    "numericalChanges": [
      {
        "path": "rows[0].occupancy_pct",
        "before": 74,
        "after": 87,
        "delta": 13
      },
      {
        "path": "rowCount",
        "before": 3,
        "after": 1,
        "delta": -2
      },
      {
        "path": "summary.retainedRows",
        "before": 3,
        "after": 1,
        "delta": -2
      },
      {
        "path": "summary.excludedRows",
        "before": 3,
        "after": 5,
        "delta": 2
      }
    ],
    "sameOutput": false,
    "baselineRetained": true
  },
  "events": [
    {
      "type": "connector.configured",
      "payload": "{\"nodeId\":\"api-occupancy\",\"connectionId\":\"a09bf3d9-1ff0-4d21-b6c7-78c4b6227c73\"}"
    },
    {
      "type": "watch.state",
      "payload": "{\"state\":\"active\",\"reason\":\"\",\"epoch\":1,\"modelCapability\":\"unavailable\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":2}"
    },
    {
      "type": "agent.canvas_woven",
      "payload": "{\"sourceRevision\":2,\"policyRevision\":1,\"added\":[\"hypothesis-crowding\",\"direction-crowding\",\"test-crowding\"],\"updated\":[],\"linked\":[\"weave:709115f40f7ab4a33378948fa373d381\",\"weave:3bf5c780dc74c35b59efb710c4cecc06\",\"weave:7feb35150ccb1574fa0a411a1b5f1a38\"],\"retired\":[],\"omitted\":[],\"budgetRetired\":[],\"removed\":[]}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"my\",\"revision\":2}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":3}"
    },
    {
      "type": "discovery.test.wired",
      "payload": "{\"testId\":\"test-crowding\",\"planRevision\":1,\"ports\":[\"context\",\"settings\"]}"
    },
    {
      "type": "connector.sample_received",
      "payload": "{\"nodeId\":\"api-occupancy\",\"datasetVersionId\":\"dataset:c6e568c417856bfe3f2e8964fbbf0a96a44c5683ad3cfc72b4edbbc9335e30ce\",\"rows\":6,\"calls\":1,\"complete\":true}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":4}"
    },
    {
      "type": "discovery.test.need_bound",
      "payload": "{\"testId\":\"test-crowding\",\"needId\":\"occupancy-feed\",\"kind\":\"connection\"}"
    },
    {
      "type": "discovery.experiment.registered",
      "payload": "{\"experimentId\":\"experiment:test:test-crowding:1\",\"planVersion\":1,\"authorizationKind\":\"automation-policy\"}"
    },
    {
      "type": "discovery.lane.dispatched",
      "payload": "{\"laneId\":\"lane:test:experiment:test:test-crowding:1\",\"experimentId\":\"experiment:test:test-crowding:1\",\"experimentRevision\":1,\"state\":\"open\",\"completedActions\":[],\"pendingActions\":[{\"state\":\"queued\",\"type\":\"compute\"}],\"usageUsd\":0,\"remainingUsd\":null,\"omissions\":[],\"at\":\"2026-10-05T21:02:48.975Z\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":5}"
    },
    {
      "type": "discovery.test.run_started",
      "payload": "{\"testId\":\"test-crowding\",\"planRevision\":1,\"experimentId\":\"experiment:test:test-crowding:1\",\"laneId\":\"lane:test:experiment:test:test-crowding:1\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":6}"
    },
    {
      "type": "agent.canvas_woven",
      "payload": "{\"sourceRevision\":6,\"policyRevision\":1,\"added\":[\"test-context:test-crowding:1\",\"test-settings:test-crowding:1\"],\"updated\":[\"direction-crowding\",\"test-crowding\"],\"linked\":[\"weave:6cfe8b9a3d836b6eeb23005e4ca1d545\",\"weave:99cebb3984a2b8f76cb6d426a610526f\"],\"retired\":[],\"omitted\":[],\"budgetRetired\":[],\"removed\":[]}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"my\",\"revision\":4}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":7}"
    },
    {
      "type": "discovery.test.wired",
      "payload": "{\"testId\":\"test-crowding\",\"planRevision\":1,\"ports\":[\"data\"]}"
    },
    {
      "type": "experiment.queued",
      "payload": "{\"experimentId\":\"e0265bb2-1e94-416f-9f6b-f6cca88d05f2\",\"title\":\"test-crowding\",\"branchId\":null}"
    },
    {
      "type": "discovery.result.recorded",
      "payload": "{\"resultId\":\"result:test:lane:test:experiment:test:test-crowding:1\",\"laneId\":\"lane:test:experiment:test:test-crowding:1\",\"observedVerdict\":\"met\",\"killTripped\":false}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":8}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":9}"
    },
    {
      "type": "experiment.completed",
      "payload": "{\"experimentId\":\"e0265bb2-1e94-416f-9f6b-f6cca88d05f2\",\"nodeId\":\"experiment:e0265bb2-1e94-416f-9f6b-f6cca88d05f2\",\"branchId\":null,\"outputVersionId\":\"e0265bb2-1e94-416f-9f6b-f6cca88d05f2:output\",\"testId\":\"test-crowding\",\"testRevision\":1}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":10}"
    },
    {
      "type": "discovery.test.verified",
      "payload": "{\"testId\":\"test-crowding\",\"planRevision\":1,\"experimentId\":\"experiment:test:test-crowding:1\",\"laneId\":\"lane:test:experiment:test:test-crowding:1\",\"resultId\":\"result:test:lane:test:experiment:test:test-crowding:1\",\"verdict\":\"met\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":11}"
    },
    {
      "type": "discovery.test.derived",
      "payload": "{\"testId\":\"test-crowding\",\"planRevision\":1,\"resultId\":\"result:test:lane:test:experiment:test:test-crowding:1\",\"derivedNodeId\":\"derived:result:test:lane:test:experiment:test:test-crowding:1\",\"derivedKind\":\"candidate\"}"
    },
    {
      "type": "research.outcome",
      "payload": "{\"runId\":\"test-lane:be50ab48d7fcd2aeaa7fad3ea45786508362bdc49de707f197a2f0123b0b4ef7\",\"status\":\"completed\",\"reason\":\"The test computation was measured, judged and recorded.\",\"cause\":\"completed\",\"initiator\":\"run:test-lane:be50ab48d7fcd2aeaa7fad3ea45786508362bdc49de707f197a2f0123b0b4ef7\",\"executor\":\"api\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":12}"
    },
    {
      "type": "agent.canvas_woven",
      "payload": "{\"sourceRevision\":12,\"policyRevision\":1,\"added\":[\"experiment:e0265bb2-1e94-416f-9f6b-f6cca88d05f2\",\"derived:result:test:lane:test:experiment:test:test-crowding:1\"],\"updated\":[\"hypothesis-crowding\",\"direction-crowding\",\"test-crowding\"],\"linked\":[\"weave:f421bf255a6bbb9b4fdc0c95467b7ddb\",\"weave:310f120ac70a2d1e2a12575134ea8359\",\"weave:815dbac68bed300408ff77a1638900bb\"],\"retired\":[],\"omitted\":[],\"budgetRetired\":[],\"removed\":[]}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"my\",\"revision\":5}"
    },
    {
      "type": "branch.created",
      "payload": "{\"id\":\"0328b336-e732-410f-8723-acfa5593bbca\",\"parentRevision\":5,\"changedDependencies\":[]}"
    },
    {
      "type": "experiment.queued",
      "payload": "{\"experimentId\":\"bb5d128a-8f60-4261-89a5-473ab88151a3\",\"title\":\"Alternative: 85% alert\",\"branchId\":\"0328b336-e732-410f-8723-acfa5593bbca\"}"
    },
    {
      "type": "graph.updated",
      "payload": "{\"canvas\":\"agent\",\"revision\":13}"
    },
    {
      "type": "experiment.completed",
      "payload": "{\"experimentId\":\"bb5d128a-8f60-4261-89a5-473ab88151a3\",\"nodeId\":\"experiment:bb5d128a-8f60-4261-89a5-473ab88151a3\",\"branchId\":\"0328b336-e732-410f-8723-acfa5593bbca\",\"outputVersionId\":\"bb5d128a-8f60-4261-89a5-473ab88151a3:output\"}"
    }
  ]
}
