{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "2026 bình thường, lịch sử mới lạ",
    "quality_profile": "showcase",
    "views": [
      {
        "id": "y2026",
        "label": "Năm 2026",
        "focus": [
          "exp",
          "obs3",
          "normal"
        ],
        "note": "Poisson với trung bình 4.9: P(≤3) ≈ 27%. Thấy 3 ca nằm trong dao động bình thường."
      },
      {
        "id": "hist",
        "label": "Hơn 30 năm",
        "focus": [
          "exp",
          "zero",
          "odd",
          "more",
          "sel"
        ],
        "note": "Gần 0 ca mỗi năm mới bất thường. Chuẩn hoá thêm chỉ kéo kỳ vọng xuống chút; tác giả cho là chọn lọc người khoẻ."
      }
    ],
    "legend": {
      "mode": "hidden"
    }
  },
  "lanes": [
    {
      "id": "obs",
      "label": "Quan sát"
    },
    {
      "id": "test",
      "label": "So với kỳ vọng"
    },
    {
      "id": "why",
      "label": "Giải thích (tác giả)"
    }
  ],
  "phases": [
    {
      "id": "p1",
      "label": "Kiểm Poisson",
      "fromCol": 0,
      "toCol": 1,
      "variant": "emphasis"
    },
    {
      "id": "p2",
      "label": "Khoảng chênh còn lại",
      "fromCol": 2,
      "toCol": 4,
      "variant": "dashed"
    }
  ],
  "mainPath": [
    "exp",
    "zero",
    "odd",
    "sel"
  ],
  "nodes": [
    {
      "id": "exp",
      "lane": "test",
      "col": 0,
      "type": "backend",
      "label": "Kỳ vọng 4.9 ca",
      "sublabel": "đã chuẩn hoá tuổi",
      "width": 160
    },
    {
      "id": "obs3",
      "lane": "obs",
      "col": 0,
      "type": "external",
      "label": "2026: 3 ca",
      "sublabel": "P(≤3) ≈ 27%",
      "width": 150
    },
    {
      "id": "normal",
      "lane": "obs",
      "col": 1,
      "type": "frontend",
      "label": "Bình thường",
      "sublabel": "sai số ~58%",
      "width": 150
    },
    {
      "id": "zero",
      "lane": "test",
      "col": 1,
      "type": "external",
      "label": "Lịch sử: gần 0 ca",
      "sublabel": "hơn 30 năm",
      "width": 170
    },
    {
      "id": "odd",
      "lane": "test",
      "col": 2,
      "type": "security",
      "label": "Bất thường",
      "sublabel": "p-value còn thấp hơn",
      "width": 160
    },
    {
      "id": "more",
      "lane": "why",
      "col": 3,
      "type": "backend",
      "label": "Chuẩn hoá thêm",
      "sublabel": "chỉ giảm chút ít",
      "width": 150
    },
    {
      "id": "sel",
      "lane": "why",
      "col": 4,
      "type": "frontend",
      "label": "Selection bias",
      "sublabel": "người đi khoẻ hơn",
      "width": 160
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "exp",
      "to": "obs3",
      "variant": "dashed"
    },
    {
      "id": "e2",
      "from": "obs3",
      "to": "normal"
    },
    {
      "id": "e3",
      "from": "exp",
      "to": "zero",
      "variant": "emphasis"
    },
    {
      "id": "e4",
      "from": "zero",
      "to": "odd",
      "variant": "emphasis"
    },
    {
      "id": "e5",
      "from": "odd",
      "to": "sel",
      "label": "khả năng cao",
      "variant": "emphasis"
    },
    {
      "id": "e6",
      "from": "odd",
      "to": "more",
      "label": "giảm ít",
      "variant": "dashed",
      "role": "branch"
    }
  ],
  "cards": [
    {
      "dot": "rose",
      "title": "Lưu ý",
      "items": [
        "Selection bias là giải thích của tác giả",
        "Chưa kiểm bằng dữ liệu sức khoẻ người dự"
      ]
    }
  ]
}