{
  "version": "reference-checks-1",
  "testedAt": "2026-11-04T01:18:43.409Z",
  "scope": "Fifteen predeclared deterministic tests of the reference parser and existence validator used by FlickerFaith. This is not a model-answer benchmark or a test of doctrinal accuracy.",
  "limitations": [
    "Recognized references are checked for possible chapter and verse numbers.",
    "A valid reference does not establish accurate quotation or interpretation.",
    "Unknown book names can be missed by the parser; no recognized reference is not a pass for truth.",
    "This small developer-selected fixture set does not estimate error rates in real conversations."
  ],
  "passed": 15,
  "total": 15,
  "sourceHashes": {
    "functions/bible/citation_verifier.js": "64c0736511784a06aed6d1b466cd4b3076216b83a241664eab0e23aea70a7f43",
    "functions/bible/verse_store.js": "502202b919468bb93d6458839bafd8323ff91dd5a503a37af3a642fea7b7c278",
    "functions/bible/verse_counts.json": "84cf21eaf3ef1fda2780c941974f0b16e4b32d7ec55c5fcf947babf9ddd68fca",
    "functions/bible/spanish_books.json": "0e406413c00d4091034e2e4998c78ba6d034d5c02c73c072dc3b56b638525a62"
  },
  "cases": [
    {
      "id": "john-valid",
      "text": "John 3:16",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "John 3:16"
      ],
      "impossibleReferences": []
    },
    {
      "id": "psalm-valid",
      "text": "Psalm 23:1-6",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "Psalms 23:1-6"
      ],
      "impossibleReferences": []
    },
    {
      "id": "james-valid",
      "text": "James 1:19",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "James 1:19"
      ],
      "impossibleReferences": []
    },
    {
      "id": "romans-range",
      "text": "Romans 8:38-39",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "Romans 8:38-39"
      ],
      "impossibleReferences": []
    },
    {
      "id": "single-chapter",
      "text": "Jude 1:24-25",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "Jude 1:24-25"
      ],
      "impossibleReferences": []
    },
    {
      "id": "spanish-john",
      "text": "Juan 3:16",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "John 3:16"
      ],
      "impossibleReferences": []
    },
    {
      "id": "spanish-psalm",
      "text": "Salmos 23:1",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "Psalms 23:1"
      ],
      "impossibleReferences": []
    },
    {
      "id": "alternate-numbering",
      "text": "3 John 1:15",
      "expected": "valid",
      "actual": "valid",
      "passed": true,
      "recognized": 1,
      "validReferences": [
        "3 John 1:15"
      ],
      "impossibleReferences": []
    },
    {
      "id": "chapter-overflow",
      "text": "Philippians 5:1",
      "expected": "impossible",
      "actual": "impossible",
      "passed": true,
      "recognized": 1,
      "validReferences": [],
      "impossibleReferences": [
        {
          "ref": "Philippians 5:1",
          "reason": "chapter"
        }
      ]
    },
    {
      "id": "psalm-overflow",
      "text": "Psalm 23:7",
      "expected": "impossible",
      "actual": "impossible",
      "passed": true,
      "recognized": 1,
      "validReferences": [],
      "impossibleReferences": [
        {
          "ref": "Psalms 23:7",
          "reason": "verse"
        }
      ]
    },
    {
      "id": "john-overflow",
      "text": "John 3:37",
      "expected": "impossible",
      "actual": "impossible",
      "passed": true,
      "recognized": 1,
      "validReferences": [],
      "impossibleReferences": [
        {
          "ref": "John 3:37",
          "reason": "verse"
        }
      ]
    },
    {
      "id": "jude-overflow",
      "text": "Jude 1:26",
      "expected": "impossible",
      "actual": "impossible",
      "passed": true,
      "recognized": 1,
      "validReferences": [],
      "impossibleReferences": [
        {
          "ref": "Jude 1:26",
          "reason": "verse"
        }
      ]
    },
    {
      "id": "range-overflow",
      "text": "Romans 8:38-40",
      "expected": "impossible",
      "actual": "impossible",
      "passed": true,
      "recognized": 1,
      "validReferences": [],
      "impossibleReferences": [
        {
          "ref": "Romans 8:38-40",
          "reason": "verse_end"
        }
      ]
    },
    {
      "id": "unknown-book",
      "text": "Hezekiah 1:1",
      "expected": "unrecognized",
      "actual": "unrecognized",
      "passed": true,
      "recognized": 0,
      "validReferences": [],
      "impossibleReferences": []
    },
    {
      "id": "no-reference",
      "text": "God helps those who help themselves.",
      "expected": "unrecognized",
      "actual": "unrecognized",
      "passed": true,
      "recognized": 0,
      "validReferences": [],
      "impossibleReferences": []
    }
  ]
}
