{
  "fictional": true,
  "generatedForRelease": "2026-10-11",
  "engine": "lunar-typescript 1.8.6",
  "policy": "branch-midnight-v1",
  "provenance": "Synthetic inputs and copied or deliberately edited comparison values. No external website was tested. Agreement does not validate prediction or independently certify the engine.",
  "reproduce": "npx tsx scripts/build-bazi-compare-examples.ts",
  "samples": [
    {
      "id": "same-characters",
      "purpose": "External values copied from Kaucim to demonstrate agreement.",
      "request": {
        "input": {
          "solarYear": 2000,
          "solarMonth": 8,
          "solarDay": 16,
          "timeIndex": 6,
          "gender": "女"
        },
        "external": {
          "year": "庚辰",
          "month": "甲申",
          "day": "丙午",
          "time": "甲午"
        },
        "rules": {
          "dayBoundary": "midnight",
          "timeBasis": "clock",
          "dateBasis": "same"
        },
        "lang": "en"
      },
      "expected": {
        "version": "branch-midnight-v1",
        "rows": [
          {
            "key": "year",
            "ours": "庚辰",
            "external": "庚辰",
            "state": "same"
          },
          {
            "key": "month",
            "ours": "甲申",
            "external": "甲申",
            "state": "same"
          },
          {
            "key": "day",
            "ours": "丙午",
            "external": "丙午",
            "state": "same"
          },
          {
            "key": "time",
            "ours": "甲午",
            "external": "甲午",
            "state": "same"
          }
        ],
        "notices": []
      }
    },
    {
      "id": "edited-day-pillar",
      "purpose": "Day Pillar deliberately replaced to demonstrate a difference with unconfirmed cause.",
      "request": {
        "input": {
          "solarYear": 2000,
          "solarMonth": 8,
          "solarDay": 16,
          "timeIndex": 6,
          "gender": "女"
        },
        "external": {
          "year": "庚辰",
          "month": "甲申",
          "day": "甲子",
          "time": "甲午"
        },
        "rules": {
          "dayBoundary": "unknown",
          "timeBasis": "unknown",
          "dateBasis": "unknown"
        },
        "lang": "en"
      },
      "expected": {
        "version": "branch-midnight-v1",
        "rows": [
          {
            "key": "year",
            "ours": "庚辰",
            "external": "庚辰",
            "state": "same"
          },
          {
            "key": "month",
            "ours": "甲申",
            "external": "甲申",
            "state": "same"
          },
          {
            "key": "day",
            "ours": "丙午",
            "external": "甲子",
            "state": "different"
          },
          {
            "key": "time",
            "ours": "甲午",
            "external": "甲午",
            "state": "same"
          }
        ],
        "notices": [
          "unknown-rules"
        ]
      }
    },
    {
      "id": "unknown-hour",
      "purpose": "Unknown input hour remains unavailable even when a comparison hour was entered.",
      "request": {
        "input": {
          "solarYear": 2000,
          "solarMonth": 8,
          "solarDay": 16,
          "timeIndex": null,
          "gender": "女"
        },
        "external": {
          "year": "庚辰",
          "month": "甲申",
          "day": "丙午",
          "time": "甲午"
        },
        "rules": {
          "dayBoundary": "midnight",
          "timeBasis": "clock",
          "dateBasis": "same"
        },
        "lang": "en"
      },
      "expected": {
        "version": "branch-midnight-v1",
        "rows": [
          {
            "key": "year",
            "ours": "庚辰",
            "external": "庚辰",
            "state": "same"
          },
          {
            "key": "month",
            "ours": "甲申",
            "external": "甲申",
            "state": "same"
          },
          {
            "key": "day",
            "ours": "丙午",
            "external": "丙午",
            "state": "same"
          },
          {
            "key": "time",
            "ours": null,
            "external": "甲午",
            "state": "unavailable"
          }
        ],
        "notices": [
          "unknown-hour"
        ]
      }
    },
    {
      "id": "late-zi-term-review",
      "purpose": "Matching displayed values still need review on a known solar-term boundary.",
      "request": {
        "input": {
          "solarYear": 2024,
          "solarMonth": 2,
          "solarDay": 4,
          "timeIndex": 12,
          "gender": "女"
        },
        "external": {
          "year": "癸卯",
          "month": "乙丑",
          "day": "戊戌",
          "time": "壬子"
        },
        "rules": {
          "dayBoundary": "midnight",
          "timeBasis": "clock",
          "dateBasis": "same"
        },
        "lang": "en"
      },
      "expected": {
        "version": "branch-midnight-v1",
        "rows": [
          {
            "key": "year",
            "ours": "癸卯",
            "external": "癸卯",
            "state": "review"
          },
          {
            "key": "month",
            "ours": "乙丑",
            "external": "乙丑",
            "state": "review"
          },
          {
            "key": "day",
            "ours": "戊戌",
            "external": "戊戌",
            "state": "same"
          },
          {
            "key": "time",
            "ours": "壬子",
            "external": "壬子",
            "state": "same"
          }
        ],
        "notices": [
          "late-zi-term"
        ]
      }
    }
  ]
}
