1. Objective

Recover the original text of each biblical book as originally written, in its original language, by its original author.

  • Both the target books to reconstruct and the exact primary witnesses permitted for each book are defined in one place under sources.
  • Each entry in sources is either an immutable ULID set in src/sets/<ULID>.json (for example a pinned book snapshot or institution snapshot) or a direct item identifier (<institution>:<id>).

2. Permitted Evidence

A compilation under this specification operates on a strict allowlist. It may read only the entries listed under sources, the immutable set files (src/sets/<ULID>.json) and institutional catalogs (src/<institution>/index.json) they resolve to, and the XML files explicitly named by those catalog entries. A compiler must not roam src/ or ingest any unreferenced file.

Documented Metadata Fields

  • Dating: Date range, margin of error, and dating method (e.g., radiocarbon dating, paleography, colophon).
  • Provenance: Place of origin or writing.
  • Scientific analysis: Any physical or scientific dating results.
  • Physical and scribal evidence: Manuscript condition, scribal corrections, and transcription/copying errors.
  • Textual agreement: Patterns of agreement and disagreement across the listed manuscripts.

Handling Unknowns

If a metadata field is not documented for a source in its src/<institution>/index.json entry, it must remain unknown. Unknown facts must never be invented, guessed, or backfilled.

Exclusion Rule

Everything not explicitly included in this specification is excluded and must be ignored.

Everything not explicitly included in this specification is excluded and must be ignored. This total exclusion covers all outside material—including, without limitation, printed or critical editions, translations into other languages, modern textual reconstructions, manuscript images (facsimiles), external scholarly commentary, and any unreferenced files.

3. Source Corpus Layout

All manuscript transcriptions reside under src/<institution>/ with an index.json catalog per institution. Immutable source snapshots compiled from those catalogs reside in src/sets/<ULID>.json, so referencing a ULID pins the exact set of sources included at that point in time even as new material is added to src/ later.

File Layout

  • Immutable source sets: src/sets/<ULID>.json
  • Institutional catalog: src/<institution>/index.json
  • Single-file sources: src/<institution>/{source}.xml
  • Multi-file sources: src/<institution>/{source}.{part}.xml

File Formats

  • Source TEI XML: Stored verbatim, unchanged from the source publication.
  • Source non-TEI XML: Stored verbatim, unchanged, with its format documented in src/<institution>/index.json.
  • Non-XML sources: When a source institution does not publish XML, the transcription is encoded as TEI P5 XML and documented as such in src/<institution>/index.json.

4. Statistical Modeling of Variant Readings

The sole mission of this work is to recover the original text as originally written, in its original language, by its original author. Modeling decisions should be judged by a single standard: anything that furthers recovery of the original text is good, and anything that detracts from it is bad.

Surviving manuscripts frequently disagree and vary widely in age, provenance, preservation, and scribal accuracy. Simple majority voting should not be used. Instead, a compilation should apply an explicit statistical model to the permitted evidence to estimate, for each reading (the text attested by a manuscript at a given point, including an omission), both its probability of originality and an uncertainty interval.

Guidance on Uncertainty

  • Sparse, conflicting, or poorly documented evidence—including unknown metadata—should widen the uncertainty interval.
  • Consistent agreement among early, independent witnesses should narrow it.
  • Unknown metadata should remain unknown and widen uncertainty rather than being imputed.

Assessing Source Credibility & Modeling Guidance

  • Factors that may lower credibility: Frequent misspellings, copying errors, cross-throughs, heavy edits or later corrections, self-contradictions, internal inconsistencies, and other indicators of careless or unstable transmission should be weighed as potentially weakening a source's reliability.
  • Factors that may strengthen credibility: Conversely, clean and disciplined copying, low error rates, internal consistency, early dating, and independent agreement with other strong witnesses should be weighed as strengthening a source's reliability.
  • Physical deterioration and antiquity: Physical damage—such as tattered parchment, lacunae, or missing words in ancient sources like the Dead Sea Scrolls—should not count against a manuscript's credibility. Genuine deterioration consistent with antiquity can instead reinforce a witness's authenticity and early provenance, even though missing words themselves leave local uncertainty where text is absent.

This specification does not prescribe a specific statistical model; any defensible model that advances recovery of the original text may be used, provided it is clearly documented in the output.

5. Required Output Contents

  1. Compiled text: The selected original-language text for every book represented by sources, organized by book and numbered reference (chapter:line).
  2. Word-level witness coverage: For every word in the compiled text, which manuscripts attest it, which attest a different reading (and what that reading is), and which are lacunose or unreadable at that point.
  3. Variant apparatus: For every point of disagreement (any span within a line where surviving witnesses do not all agree), every attested reading, its supporting manuscripts, how the readings differ, and a model-defined severity/subcategory annotation (<note type="severity" n="<level>" subtype="<subcategory-id>">) referencing a subcategory declared in REPORT.md. Illustrative examples (non-prescriptive) include orthographic/scribal slips, stylistic or grammatical nuances, sound-alike confusions (which may reduce local confidence in the erring witness while strengthening confidence in its authenticity and increasing overall confidence in the better competing witness that lacks the error), and unexplained lexical divergences. The specification does not prescribe which subcategories, numeric scale, or statistical weighting a model must use; it only requires the conforming data structure so downstream tools can parse and display the model's choices.
  4. Probabilities and uncertainty: For every reading, the model's estimated probability of originality and its uncertainty interval.
  5. Manuscript evidence record: The documented metadata used for each manuscript (date range, dating method, and all other fields under evidence), explicitly noting which fields were unknown.
  6. Method description and structured compilation report: A clear, plain-language Markdown report (REPORT.md) with structured YAML frontmatter conforming to a parseable schema: specification_id, compilation_id, created_at, model_attribution, method_summary, disagreement_scale (min, max, description), disagreement_categories (id, label, description, count), disagreement_subcategories (id, label, level, level_label, description, local_confidence_effect, corpus_authenticity_effect, count), authenticity_signal, evidence_usage, and totals. Each model chooses its own categories, subcategories, numeric severity levels, and statistical weighting; the structure exists purely so parsers and viewers can render any conforming compilation without foreknowledge of its taxonomy.
  7. Model attribution: Complete, maximally detailed identification of the system or model that made the non-deterministic judgments (selecting readings and estimating probabilities)—including lab or provider, model family and exact name, exact version or release snapshot, variant or tier, reasoning or effort level, and any other relevant runtime or inference settings (such as temperature, thinking budget, or harness). Purely deterministic utilities that only copy, parse, or format data are not required to identify themselves.
  8. Specification reference: An explicit statement that the compilation was produced under this specification, citing its ID (01M88AX3YW2HWVPGHTREFJS181).

6. Output Format & Packaging

Outputs must be encoded in TEI P5 XML, following the TEI Critical Apparatus (Ch. 13) ↗ and TEI Certainty (Ch. 22) ↗ guidelines:

  • Represent each point of disagreement as an <app> element (TEI Guidelines, Chapter 13).
  • Record the selected compiled reading as <lem>.
  • Record every attested reading—including the selected one—as <rdg> with a wit attribute listing its supporting manuscripts.
  • Declare all manuscripts in <listWit>.
  • Record each reading's estimated probability using <certainty> with degree in [0, 1] (TEI Guidelines, Chapter 22), and record the uncertainty interval in a <note> attached to the same reading.
  • Place the method description, full model attribution (lab, model, version, variant, effort level, and configuration), specification ID, and compilation ID in <teiHeader>.

Directory Layout

outputs/<specification-id>/<compilation-id>/
  • One TEI P5 XML file per compiled book.
  • A single manifest (record) file (manifest.json) listing all book files, full model attribution (lab, model, version, variant, effort level, and relevant configuration), the compilation ID, and a statement citing this specification's ID (01M88AX3YW2HWVPGHTREFJS181).
  • A structured Markdown compilation report (REPORT.md) with YAML frontmatter containing specification_id, compilation_id, created_at, model_attribution, method_summary, model-defined disagreement_categories (unprescribed taxonomy with id, label, description, count), evidence_usage, and totals, followed by a plain-language Markdown narrative of what was performed.

7. Pinned Books & Sources

specifications/01M88AX3YW2HWVPGHTREFJS181.yaml defines its entire scope in a single sources list of immutable ULID snapshots (archives/sets/<ULID>.json), eliminating any split between books and sources. If new manuscripts are added to archives/ later, bun run sets mints a new ULID while older specifications remain pinned to their exact historical set. Use bun run sources to resolve metadata and XML paths programmatically.

targets 66 biblical books The exact books this specification aims to reconstruct (39 Old Testament · 27 New Testament)

Old Testament (39 books · עבריתܐܪܡܝܐ)

Genesis Gen
28 manuscripts עבריתܐܪܡܝܐ
Exodus Exod
42 manuscripts עברית
Leviticus Lev
19 manuscripts עברית
Numbers Num
13 manuscripts עברית
Deuteronomy Deut
65 manuscripts עברית
Joshua Josh
4 manuscripts עברית
Judges Judg
5 manuscripts עברית
1 Samuel 1Sam
5 manuscripts עברית
2 Samuel 2Sam
5 manuscripts עברית
1 Kings 1Kgs
4 manuscripts עברית
2 Kings 2Kgs
2 manuscripts עברית
Isaiah Isa
23 manuscripts עברית
Jeremiah Jer
7 manuscripts עבריתܐܪܡܝܐ
Ezekiel Ezek
8 manuscripts עברית
Hosea Hos
4 manuscripts עברית
Joel Joel
4 manuscripts עברית
Amos Amos
5 manuscripts עברית
Obadiah Obad
3 manuscripts עברית
Jonah Jonah
5 manuscripts עברית
Micah Mic
4 manuscripts עברית
Nahum Nah
3 manuscripts עברית
Habakkuk Hab
3 manuscripts עברית
Zephaniah Zeph
5 manuscripts עברית
Haggai Hag
4 manuscripts עברית
Zechariah Zech
5 manuscripts עברית
Malachi Mal
3 manuscripts עברית
1 Chronicles 1Chr
1 manuscript עברית
2 Chronicles 2Chr
2 manuscripts עברית
Psalms Ps
39 manuscripts עברית
Job Job
5 manuscripts עברית
Proverbs Prov
4 manuscripts עברית
Ruth Ruth
5 manuscripts עברית
Song of Songs Song
5 manuscripts עברית
Ecclesiastes Eccl
3 manuscripts עברית
Lamentations Lam
5 manuscripts עברית
Esther Esth
1 manuscript עברית
Daniel Dan
9 manuscripts עבריתܐܪܡܝܐ
Ezra Ezra
2 manuscripts עבריתܐܪܡܝܐ
Nehemiah Neh
1 manuscript עברית

New Testament (27 books · Ἑλληνική)

sources 1,289 manuscripts 2,059 XML files Self-contained allowlist of every permitted manuscript and its inline metadata inside specifications/01M88AX3YW2HWVPGHTREFJS181.yaml
Showing 25 of 1,289 manuscripts