# One writer, several sources: the coding scheme (working file, v0.1, 2026-11-30)

For How to Write Matthew from Revelation v3.0 (#1812). The plan was adopted 2026-11-30 19:29. This file merges the two halves of the existing taxonomy and fixes how a row is coded before any row is coded.

The two halves are:

- Section S of v2.1: five operations Matthew performs on the Septuagint, at places no one disputes, plus the four measures of S.7.
- EPISODES.md §2: thirteen operations, profiled on ten episodes of Revelation from the prophets and ten of Matthew from the prophets.

## 0. The unit

A row is one place in a source set against one place in Matthew. A row is coded only if it is already sealed or already ledgered. No row enters this file without a prior record.

## 1. Operations (each yes or no per row)

| # | Operation | Taken from | Test |
|---|---|---|---|
| O1 | Phrase kept | S.2 | A run of two or more lemmas carried in order, with the person or referent changed. |
| O2 | Saying staged as event | S.3; ep. "oracle → realized event" | Source speech, oracle or figure becomes a narrated act with agents on a day. |
| O3 | Inverse staging | ep. "event → vision or future" | A source event becomes a sign, vision or prediction. |
| O4 | Retold with another bearer | S.4 | The source's roles are kept and the persons in them are exchanged. |
| O5 | Conflation | S.5; ep. "fuses" | Two or more sources are joined in one line, figure or scene. |
| O6 | Spread | ep. | One source place is used at two or more Matthew places. |
| O7 | Compressed | ep. | The Matthew place is shorter than the source place, in words. |
| O8 | Expanded | ep. (the converse) | The Matthew place is longer than the source place, in words. |
| O9 | Numbers or series added | ep. | |
| O10 | Numbers kept | ep. | |
| O11 | Numbers dropped | ep. | |
| O12 | Persons added | ep. | |
| O13 | Proper names added | ep. | |
| O14 | Source's names kept | ep. | |
| O15 | Scope widened | ep. | For example, a nation becomes the earth. |
| O16 | Scope narrowed | ep. | For example, a nation becomes one family or one child. |
| O17 | Open turn | S.6 | The source is invoked and reversed in the open ("you have heard … but I say"). |

O7 and O8 split the single episodes row "target shorter than source". That row counted compression only, and the expanding transforms (ruling 2026-11-26) need their own count.

## 2. Measures (one value per row)

| # | Measure | Values |
|---|---|---|
| M1 | Order kept | Computed per source block: rank correlation of source order against Matthew order (S.7). Not coded per row. |
| M2 | Stems shared | A count of lemmas, on the transform-tolerant lemmas (merciful → giving mercy), not surface stems. S.7's five-letter stems are redone. |
| M3 | Source's judgment | kept / reversed / none |
| M4 | Source named | formula / named without formula / not named |
| M5 | Voice at source | the figure's own voice / a prophet or narrator / another speaker |
| M6 | Voice in Matthew | Jesus's speech / narration / another speaker |

## 3. What the row supplies (one value per row; the function axis)

| # | Function | What it covers |
|---|---|---|
| F1 | Speech of the figure | sayings and discourse |
| F2 | Cast | persons, followers, companions, adversaries as persons |
| F3 | Circumstance | place, ruler, date, institution of state, the land |
| F4 | Practice | rite, meal, order of a community, rule, discipline |
| F5 | Fulfilment and authority | what is said to be fulfilled, the warrant |
| F6 | Offices of the figure | titles and roles: shepherd, judge, priest, Logos, Son of Man |
| F7 | Plot event | something that happens and moves the story |

## 4. Sources

- **Septuagint, named:** Matthew's formula citations.
- **Septuagint, tacit:** coded apart from the named citations, since S.7 shows the two behave differently.
- **Revelation:** the ledger, 158 rows.
- **Philo:** coded only where it comes through a place Revelation holds (ruling 2026-11-27). Coded as a joint row with Revelation, never alone.
- **The letters:** the sealed pairs of section E.
- **Josephus:** the sealed pairs of section J. Josephus is read as a source, never as a control (ruling 2026-11-27).
- **The Dead Sea Scrolls:** the two sealed lists, 37 + 26 rows.
- **Thomas:** coded on the same scheme as a second book written at the same verses (section T). Kept out of the source totals.
- **Calibration, not Matthew:** the ten episodes of Revelation from the prophets (EPISODES.md §2), coded on this scheme, so that Revelation's own handling of a source sits in the same table.

## 5. The prediction, to be sealed before coding

The prediction is a table of source against function: the share of each source's rows expected in each function, with the expected direction of M4–M6. It is written, hashed and timestamped as `PREDICTION.sealed.md` before any row is coded.

The prediction as stated in the plan (2026-11-30), to be put in numbers at sealing:

- Revelation supplies F1 and F6, in the figure's voice, never named.
- The letters supply F2.
- Josephus supplies F3.
- The scrolls supply F4.
- The Septuagint supplies F5 when named, and F7 and F6 when tacit.
- Philo through Revelation supplies F6.

What would count against it is a source whose rows spread evenly across the functions, or two sources with the same profile.

## 6. Coding procedure

1. One coder (this session) codes every row on §1–§3 from the seated texts: Nestle 1904, Swete, Cohn–Wendland, Niese, the ETCBC scrolls through the Septuagint–Hebrew bridge. The output is `rows.coded.json`, one record per row with its ledger or seal id.
2. A blind second reader codes a random 20 per cent, stratified by source. The reader is given the two places and the definitions, but neither the prediction nor the source totals. Agreement is reported per operation (Cohen's κ), and operations below 0.6 are reported as unstable, not dropped.
3. The table is source × (O, M, F), with counts and shares.
4. The table is checked against the sealed prediction. The result is written into this file as a record, whatever it shows.

## 7. Inventory to be filled at coding

| Source | Rows | Record |
|---|---|---|
| Septuagint, named | | S rows plus EPISODES Matthew-from-prophets 1–10 |
| Septuagint, tacit | | S rows; 2BG.4 list |
| Revelation | 158 | map/ledger.md |
| Philo with Revelation | | the places fixed by In the Midst of the Seven (#1758) |
| The letters | | section E sealed pairs |
| Josephus | | section J sealed pairs |
| The scrolls | 63 | dss/rows_sealed.py, dss/rows2_sealed.py |
| Thomas (sibling) | | section T sealed pairs |
| Revelation from the prophets (calibration) | 10 | EPISODES.md §2 |

## 8. Result of the first coding (2026-11-30, recorded under §3 and §6.4)

The test was run by `test.py` on the codes in `codes.py`, after `test.py` checked the seal's hash. Full figures are in `result.json`.

**What was coded.**
- 366 rows: every row that held under its own record's rule.
- 45 rows left out:
  - 38 failed their sealed check: letters 3, Josephus 6, scrolls 10, Septuagint 19 (5 named, 14 tacit).
  - The scrolls' 5 example rows, read before sealing.
  - 1 scrolls row marked "counted apart" in its record.
  - 1 Philo row graded weak.
- One coder, not blind. A coding note, written before the first row was coded, is at the head of `codes.py`.
- This round coded function (F) and the reversal measure (M3) by hand.
- The voice and speech measures (M5, M6) were not hand-coded. They were read from the speaker maps of `speaker/z1.py`, written before the earlier count.
- Owed:
  - M2 (lemmas shared), on one lemma instrument for every source.
  - The operations O1–O17.
  - The blind second reader.

**Function shares, observed (per cent of the source's rows).**

| Source | n | F1 speech | F2 cast | F3 circumstance | F4 practice | F5 fulfilment | F6 offices | F7 event | Modal (predicted) |
|---|---|---|---|---|---|---|---|---|---|
| Septuagint, named | 37 | 0 | 0 | 0 | 24.3 | 67.6 | 8.1 | 0 | F5 (F5) ✓ |
| Septuagint, tacit | 29 | 44.8 | 3.4 | 0 | 10.3 | 0 | 13.8 | 27.6 | F1 (F7) ✗ |
| Revelation | 158 | 61.4 | 3.2 | 1.3 | 2.5 | 1.3 | 7.6 | 22.8 | F1 (F1) ✓ |
| Philo, with Revelation | 9 | 66.7 | 0 | 0 | 0 | 0 | 22.2 | 11.1 | F1 (F6) ✗ |
| The letters | 49 | 69.4 | 2.0 | 0 | 12.2 | 0 | 8.2 | 8.2 | F1 (F1) ✓ |
| Josephus | 32 | 18.8 | 18.8 | 34.4 | 6.2 | 3.1 | 0 | 18.8 | F3 (F3) ✓ |
| The scrolls | 52 | 40.4 | 3.8 | 0 | 32.7 | 5.8 | 13.5 | 3.8 | F1 (F4) ✗ |

**The rule.**
- Modal function matched for 4 of 7 sources (5 needed to hold).
- The table rejects one common profile: chi-square 386.9, permutation p = 0.0001 over 10,000 draws.
- No two sources predicted to differ are within 0.15.

**Verdict: PARTIAL.** It does not hold, because the modal match is 4 and the rule needs 5. It does not fail, because the match is above 3, the profiles differ, and no predicted pair converges.

**The misses, as they stand.**
- *The scrolls.* Speech comes first (40.4) and practice second (32.7). Practice is still higher in the scrolls than in any other source; the next is the named Septuagint at 24.3, which comes from the antitheses.
- *The tacit Septuagint.* Speech (44.8) comes before event (27.6).
- *Philo with Revelation.* Speech (66.7) comes before offices (22.2), on 9 rows.

In all three misses the observed mode is speech. Speech is also the mode for Revelation and the letters. Matthew is about 60 per cent Jesus's speech on the map used, so what any source supplies tends to land in speech. This is recorded as an observation about F1, not as a reason to re-score. Under §3, the rule as sealed is the result.

**The letters' second function.** The letters were predicted to supply cast second (35 per cent). They supply cast in 2.0 per cent of their rows; their second function is practice (12.2). The letters' material is speech. That supports v2.1's finding that it concentrates in the discourses, and goes against section E's heading ("give the teacher a cast").

**Measures against their sealed ranges (§2 of the prediction).**

| Measure | Source | Observed | Sealed range | In range? |
|---|---|---|---|---|
| M4 named | every source | as predicted | as predicted | yes |
| M5 figure's voice at source | Revelation | 27.8 | 20–35 | yes |
| M5 figure's voice at source | all others | 0 | as predicted | yes |
| M6 Jesus's speech in Matthew | Revelation | 71.5 | ≥ 60 | yes |
| M6 | Philo | 66.7 | ≥ 50 | yes |
| M6 | letters | 87.8 | ≥ 60 | yes |
| M6 | Septuagint, named | 67.6 | ≤ 30 | no |
| M6 | Septuagint, tacit | 65.5 | 30–60 | no |
| M6 | Josephus | 40.6 | ≤ 20 | no |
| M6 | scrolls | 75.0 | 30–60 | no |
| M3 reversed | Septuagint, named | 10.8 | ≤ 5 | no |
| M3 reversed | all others | within | as predicted | yes |
| M2 | all sources | not run | — | owed |

Notes on the out-of-range measures:
- *Named Septuagint, M6.* Many of the formula citations are spoken by Jesus ("it is written", "have you not read").
- *Named Septuagint, M3.* The antitheses reverse the law they cite, and they are formula citations.
- *Josephus, M6.* Over a third of its rows land in speech.

## 9. M2 and the script-decidable operations (2026-11-30, asked 20:13)

**M2, lemmas shared, on one instrument (`m2.py`; outputs `m2-stem5.json` and `m2-stem4.json`).**

The instrument is the expanded lemmas that `dss/thorough.py` builds, applied the same way to every Greek text:
- a word's family is taken after any preverb is removed;
- stop words are dropped;
- the fixed opposites (OPP) count as shared.

The family key was run two ways:
- five letters, as `thorough.py` keys it;
- four letters, on both the word and the word without its preverb.

The four-letter run was added after the five-letter run missed families an inflection changes (REV005, Matthew 19:28 against Revelation 3:21: καθίσεσθε / καθίσαι, θρόνους / θρόνῳ). Both are reported; they rank the sources the same way.

Every Greek row is also scored against a baseline:
- the same source place set against 20 Matthew spans of the same length, drawn at random;
- the excess over that baseline is reported alongside the raw count.

Scrolls and Josephus are handled differently:
- *Scrolls.* Counted through the Greek–Hebrew bridge (`dss/bridge.json`), against Hebrew families in the named lines. This is a different instrument and is reported apart. Lines were found for 43 of the 52 rows.
- *Josephus.* The rows name a work and patterns, not a place. The count is taken at the places the sealed check found: the first place, and the best place, which is inflated.

| Source | n | Median shared (5-letter) | Median shared (4-letter) | Excess over exchanged (5 / 4) | Sealed |
|---|---|---|---|---|---|
| Septuagint, named | 37 | 4 | 5 | +3.70 / +4.50 | ≥ 3 ✓ |
| Septuagint, tacit | 29 | 3 | 3 | +2.55 / +2.90 | 2 ✗ (one higher) |
| Revelation | 158 | 1 | 2 | +1.00 / +1.65 | 1 ✓ at 5 letters, ✗ at 4 |
| Philo, with Revelation | 9 | 2 | 2 | +1.90 / +1.68 | 1 ✗ |
| The letters | 49 | 2 | 3 | +1.85 / +2.20 | 1 ✗ |
| Josephus (first place; best place) | 32 | 2 (3) | 2.5 (4) | +1.40 / +1.38 at the first place | 1 ✗ |
| The scrolls, through the bridge | 52 | 3 | 3 | +0.75 | 0 ✗ (the prediction assumed no count across the language was possible) |

What the measure shows:
- Excess over the baseline puts the sources in one order on both keys: named scripture, tacit scripture, the letters and Philo, then Revelation with Josephus, then the scrolls.
- Of the Greek sources, Matthew keeps the fewest of Revelation's words.
- This confirms S.7's crude count on the shared instrument with a baseline: the rows between Matthew and Revelation are the loosest of any Greek source. The sealed ranges put Revelation lowest; the letters, Philo and Josephus were predicted at its level and come out above it.

**The operations a script can decide (`ops_auto.py`; output `ops_auto.json`).** Per cent of the source's coded rows.

| Source | O1 phrase kept | O5 conflation | O6 spread | O7 compressed | O8 expanded | O9 numbers added | O10 numbers kept | O11 numbers dropped | O13 names added | O14 names kept |
|---|---|---|---|---|---|---|---|---|---|---|
| Septuagint, named | 86 | 49 | 22 | 35 | 30 | 5 | 5 | 11 | 22 | 14 |
| Septuagint, tacit | 72 | 62 | 7 | 48 | 31 | 7 | 14 | 7 | 14 | 0 |
| Revelation | 22 | 50 | 15 | 59 | 19 | 17 | 4 | 31 | 25 | 4 |
| Philo, with Revelation | 25 | 100 | 0 | — | — | 12 | 0 | 50 | — | — |
| The letters | 35 | 76 | 4 | 37 | 39 | 27 | 8 | 10 | 14 | 6 |
| Josephus | 16 | 66 | — | — | — | 28 | 0 | 12 | — | — |
| The scrolls | — | 63 | 4 | — | — | — | — | — | — | — |

Notes on the table:
- *O13 and O14 (names).* A name is a capitalized word whose stem is never written lower case anywhere in the seated New Testament. The figure's own names and God's are excluded. Without that rule, Nestle's capitals at the start of a speech counted as names.
- *Not computed:* O6 for Josephus (its rows name a work, not a place); O7, O8, O13 and O14 for Josephus and Philo (the place there is a window or a whole section).

What Matthew does to Revelation, on these counts:
- It keeps a phrase in 22 per cent of rows, against 72–86 for scripture.
- It compresses in 59 per cent.
- It drops Revelation's numbers in 31 per cent: the highest rate of any source with ten or more rows.
- It adds names in 25 per cent, the highest of any source.

Revelation's numbers dropped and names added are the episodes file's finding (numbers cut one way, names the other), now counted over the whole ledger and not ten episodes.

**Still owed:** the operations that need a reader (O2, O3, O4, O12, O15, O16, O17), and the blind second reader for F, M3 and those operations.

## 10. The reader operations, the second reader, and the economy test (2026-11-30, asked 20:30)

**The reader operations.** The first coder hand-coded O2, O3, O4, O12, O15, O16 and O17 for all 366 rows (`codes.py`, OPS). For the Revelation rows the ledger's own move column was read with the two places.

| Source | O2 staged | O3 made sign | O4 another bearer | O12 persons added | O15 widened | O16 narrowed | O17 open turn |
|---|---|---|---|---|---|---|---|
| Septuagint, named | 32 | 0 | 16 | 8 | 0 | 3 | 11 |
| Septuagint, tacit | 14 | 0 | 21 | 10 | 3 | 0 | 0 |
| Revelation | 27 | 8 | 20 | 21 | 0 | 9 | 1 |
| Philo, with Revelation | 22 | 0 | 11 | 0 | 0 | 0 | 11 |
| The letters | 4 | 2 | 0 | 2 | 0 | 0 | 0 |
| Josephus | 0 | 12 | 9 | 0 | 0 | 0 | 0 |
| The scrolls | 12 | 0 | 12 | 2 | 2 | 0 | 2 |

**The blind second reader (§6.2).** 73 rows, a stratified fifth drawn with a fixed seed (`blind_sample.py`).
- What the reader was given: the two places as text, the record's one-line note, and SCHEME.md §1 and §3 with the coding note.
- What the reader was not given: the prediction, the totals, or the first coder's codes.
- Codes: `blind_codes.json`. Agreement: `agreement.json`.

Cohen's kappa against the first coder:

| Code | Kappa | Same code |
|---|---|---|
| F | 0.64 | 73% |
| O2 | 0.74 | |
| O17 | 1.0 | |
| O3 | 0.55 | |
| O4 | 0.19 | |
| O12 | 0.24 | |
| O16 | 0.15 | |
| O15 | 0.0 | |
| M3 reversed | 0.16 | |

Read against the 0.6 bar set in §6.2:
- *Stable:* F, O2 and O17.
- *Unstable* (reported, not dropped): O3, O4, O12, O15, O16 and M3.

Where the two readers differ on F, the second reader moves rows out of speech:
- Revelation into events, 9 of 32 rows against 5;
- the letters into practice, 3 of 10 against 0;
- Josephus into circumstance, 5 of 6 against 3.

**The economy test.** Sealed in `OCCAM.sealed.md` (sha256 `357a7d2d…`, 01:32 UTC) before it was run. Run by `occam.py`; output `occam.json`.
- Extant sources without Revelation reach 354 of Matthew's 1,068 verses (33.1%). With Revelation and Philo-through-Revelation, they reach 544 (50.9%).
- Revelation reaches 190 verses that no other source reaches.
- Within the received account's posited bins:
  - DOUBLE (the remit of Q) goes from 40.2% to 63.6%.
  - OWN (the remit of M) goes from 34.8% to 55.5%.
  - Together, 131 verses.
- P1, P2 and P3 held.

## 11. Corrections after the two reviews (DeepSeek, ChatGPT; 2026-11-30, 20:41)

- **The open turn is not stable.** §10 listed O17 (kappa 1.0) among the stable codes. Each reader coded it on one row, the same row. One row decides nothing, and O17 is not counted as passing the bar. The codes that passed are F and O2.
- **The second reader's boundaries.** On another bearer (O4), the second reader coded 35 of the 73 rows and the first coded 14; on widening (O15), 9 against none. The unstable codes differ where each reader draws the boundary of the operation. What is owed is a sharper definition, then a second reading.
- **The scrolls: 53 held, 52 coded.** The two lists held 30 and 23 rows. The row left out of the coding is DSS041 (26:74 with 11Q19 64:9–10), which `dss/rows_sealed.py` counts apart as a reading. Two coded rows hold only on restored letters (DSS042, DSS068).
- **The economy test's denominator.** The 1,068 verses include 21:44. The proxy for the strata does not place it, and no coded row reaches it. So 1,068 − 544 = 524 verses are unreached: 523 in the bins and 21:44.
