{
  "kind": "constructed-model",
  "schemaVersion": 1,
  "source": "https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf",
  "locator": "Sections 3.1-3.3, printed page 3",
  "assumptions": [
    "q depends on p. Committed means stable storage, not volatile cache acknowledgement.",
    "Each block label represents at most one in-flight version, not multiple separately submitted writes.",
    "This is a snapshot check, not a submission scheduler, transition validator or proof of eventual completion (liveness).",
    "The controller may complete pending blocks in either order.",
    "A successful block completion commits all included patches together.",
    "Torn writes, failed writes, recovery, caches and actual devices are outside this checker.",
    "Passing this ordering check does not supply atomic block writes or application transactions."
  ],
  "dependencies": {
    "p": [],
    "q": [
      "p"
    ]
  },
  "rows": [
    {
      "label": "Same block, together",
      "blocks": {
        "p": "X",
        "q": "X"
      },
      "committed": [],
      "inFlight": [
        "p",
        "q"
      ],
      "safe": true
    },
    {
      "label": "Different blocks, both pending",
      "blocks": {
        "p": "X",
        "q": "Y"
      },
      "committed": [],
      "inFlight": [
        "p",
        "q"
      ],
      "safe": false
    },
    {
      "label": "Different blocks, p committed",
      "blocks": {
        "p": "X",
        "q": "Y"
      },
      "committed": [
        "p"
      ],
      "inFlight": [
        "q"
      ],
      "safe": true
    }
  ]
}
