{
  "format": "probability-flow/causal-graph",
  "version": "1.4.5",
  "name": "Did the car exceed the speed limit?",
  "hypothesis": "v4",
  "produced_by": {
    "library": "probability-flow 1.5.0",
    "generator": "examples/speeding_camera.py",
    "source": "elicit/docs/speeding_figures.pdf + speeding_camera_game.html"
  },
  "variables": [
    {
      "id": "v0",
      "name": "The calibration had expired",
      "description": "The camera's calibration certificate was out of date on the day. Councils are supposed to recertify annually and sometimes do not."
    },
    {
      "id": "v1",
      "name": "The limit on that stretch was 30 mph",
      "description": "What the posted limit actually was where the car was photographed. The defence says the stretch is 40."
    },
    {
      "id": "v2",
      "name": "The car was travelling above 30 mph",
      "description": "The car's actual speed, independently of what any device recorded or what the limit happened to be."
    },
    {
      "id": "v3",
      "name": "The camera was correctly calibrated",
      "description": "Whether the device was measuring accurately that day. An expired certificate makes this much less likely but does not settle it."
    },
    {
      "id": "v4",
      "name": "The car exceeded the speed limit",
      "description": "The claim under debate. It is not caused by the speed and the limit -- it is another way of saying them both, which is why the arrows into it are constitutive and its rows are exactly 0 or 1.",
      "definitional": true
    },
    {
      "id": "v5",
      "name": "The camera recorded a violation",
      "description": "What the device output. It is evidence about the speed only to the extent the device was working."
    },
    {
      "id": "v6",
      "name": "The calibration had expired:report",
      "description": "Bob produces the calibration record.",
      "evidence_for": "v0",
      "label": "report"
    },
    {
      "id": "v7",
      "name": "The limit on that stretch was 30 mph:report",
      "description": "Alice produces the signage schedule for that stretch.",
      "evidence_for": "v1",
      "label": "report"
    },
    {
      "id": "v8",
      "name": "The car was travelling above 30 mph:report",
      "description": "Alice produces a witness to the car's speed.",
      "evidence_for": "v2",
      "label": "report"
    },
    {
      "id": "v9",
      "name": "The camera was correctly calibrated:report",
      "description": "Bob produces the device's self-test log.",
      "evidence_for": "v3",
      "label": "report"
    },
    {
      "id": "v10",
      "name": "The camera recorded a violation:report",
      "description": "Alice produces the camera's output.",
      "evidence_for": "v5",
      "label": "report"
    }
  ],
  "edges": [
    {
      "source": "v0",
      "target": "v3",
      "kind": "causal"
    },
    {
      "source": "v1",
      "target": "v4",
      "kind": "constitutive"
    },
    {
      "source": "v2",
      "target": "v4",
      "kind": "constitutive"
    },
    {
      "source": "v2",
      "target": "v5",
      "kind": "causal"
    },
    {
      "source": "v3",
      "target": "v5",
      "kind": "causal"
    },
    {
      "source": "v0",
      "target": "v6",
      "kind": "causal"
    },
    {
      "source": "v1",
      "target": "v7",
      "kind": "causal"
    },
    {
      "source": "v2",
      "target": "v8",
      "kind": "causal"
    },
    {
      "source": "v3",
      "target": "v9",
      "kind": "causal"
    },
    {
      "source": "v5",
      "target": "v10",
      "kind": "causal"
    }
  ],
  "cpds": [
    {
      "variable": "v0",
      "cpd": {
        "type": "table",
        "parents": [],
        "rows": [
          0.8,
          0.2
        ]
      }
    },
    {
      "variable": "v1",
      "cpd": {
        "type": "table",
        "parents": [],
        "rows": [
          0.09999999999999998,
          0.9
        ]
      }
    },
    {
      "variable": "v2",
      "cpd": {
        "type": "table",
        "parents": [],
        "rows": [
          0.7,
          0.3
        ]
      }
    },
    {
      "variable": "v3",
      "cpd": {
        "type": "table",
        "parents": [
          "v0"
        ],
        "rows": [
          [
            0.050000000000000044,
            0.95
          ],
          [
            0.8,
            0.2
          ]
        ]
      }
    },
    {
      "variable": "v4",
      "cpd": {
        "type": "logical",
        "operator": "and",
        "constituents": [
          {
            "node": "v1"
          },
          {
            "node": "v2"
          }
        ]
      }
    },
    {
      "variable": "v5",
      "cpd": {
        "type": "independent_evidence",
        "parents": [
          "v2",
          "v3"
        ],
        "baseline": 0.02,
        "weights": {
          "v2": 0.5997595026492366,
          "v3": 0.0
        },
        "gates": [
          {
            "source": "v3",
            "modulates": "v2",
            "weight_when_gated": 8.784634845557521
          }
        ]
      }
    },
    {
      "variable": "v6",
      "cpd": {
        "type": "table",
        "parents": [
          "v0"
        ],
        "rows": [
          [
            0.95,
            0.05
          ],
          [
            0.15000000000000002,
            0.85
          ]
        ]
      }
    },
    {
      "variable": "v7",
      "cpd": {
        "type": "table",
        "parents": [
          "v1"
        ],
        "rows": [
          [
            0.95,
            0.05
          ],
          [
            0.050000000000000044,
            0.95
          ]
        ]
      }
    },
    {
      "variable": "v8",
      "cpd": {
        "type": "table",
        "parents": [
          "v2"
        ],
        "rows": [
          [
            0.9,
            0.1
          ],
          [
            0.19999999999999996,
            0.8
          ]
        ]
      }
    },
    {
      "variable": "v9",
      "cpd": {
        "type": "table",
        "parents": [
          "v3"
        ],
        "rows": [
          [
            0.7,
            0.3
          ],
          [
            0.09999999999999998,
            0.9
          ]
        ]
      }
    },
    {
      "variable": "v10",
      "cpd": {
        "type": "table",
        "parents": [
          "v5"
        ],
        "rows": [
          [
            0.99,
            0.01
          ],
          [
            0.020000000000000018,
            0.98
          ]
        ]
      }
    }
  ]
}