# Session 137: Four endpoint counts rank one solved layout first

**The four comparisons together recognized the Second Koan’s true spacing among 1,000 candidates. They did not reliably recognize the other solved passages.** This tests the suggestion from [Session 135](/sessions/135.html): comparing the starts and ends of words separately can reveal preferences that disappear when averaged.

We took the literal recovered runes of each of the seven solved LP1 text groups. Every candidate has exactly the same rune sequence, outer endpoints, word count and set of word lengths with their multiplicities. One candidate uses the printed spacing; the other 999 are distinct random permutations of the lengths. These are alternative layouts for a test, not alternative translations.

We withheld one complete passage and used the other six to learn four separate weights: how informative is a match between the previous word’s last rune and the next word’s first, last and last, first and first, or first and last? We used smoothed log odds for each count. A baseline collapsed them into the earlier one-number contrast, allowing the six training groups to choose its direction. No word identities, known phrases or test-group labels were fitted.

| Held-out plaintext | Rank of the true layout out of 1,000 |
|---|---:|
| Second Koan | 1 |
| Wisdom | 6 |
| Divinity | 88 |
| Warning | 92 |
| Instruction | 180–188 (tie) |
| Koan | 266 |
| Welcome | 598 |

The four-count score put **four of seven** true layouts in the top 100 and **two** in the top 10. We had required five and three, respectively. The one-number baseline placed none in the top 100 when ties were counted conservatively. Keeping the comparisons separate helped, but the top rank on Second Koan needs a harder control: would it still hold against alternatives that move only one real break?

[Next: one-boundary swaps and exact ties](/sessions/138.html) · [Rules written before scoring](layout_batch_137_140_plan.txt) · [Driver](whole_layouts_137_140.py) · [Every group’s ranks and training weights](whole_layouts_137_140_results.json) · [Candidate score arrays](whole_layouts_137_140_scores.npz).
