What does Moon Blocks, Holy Casts and Temple Verses conclude, in numbers, about “The Rite as a Protocol: Restart Rules, Stopping Rules and the Evenness of the Lot Tube”?

Answer: Chapter 6 reads the rite as a protocol, shows that the final share of confirmations means nothing when restarts are allowed, and finds that a worn lot tube is caught by an audit of 2400 confirmations with chance only 0.650.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs. Chapter 7 examines the entry on divination cups in Cheng Dachang's Yanfanlu and Cicero's De Divinatione, setting the illustrative Venus throw of four knucklebones, 0.0384, beside three holy casts.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.650, 2400

fair tube, 3000 confirmed lots: draws per lot 2.021
chi2 54.36(reject if > 77.93)
Nreject rate fairreject rate worn
3000.0800.085
6000.0450.165
12000.0550.330
24000.0400.650
worn tube: lots 1-10 share 0.2063 instead of 0.1667
Show the full program
# Chapter 6. p62: drawing a lot, confirming it, and auditing the tube.
# Model: a tube holds 60 numbered lots (a common size for verse sets).
# The asker draws one and casts once; a holy cast (q = 0.5) confirms
# the lot, otherwise the lot goes back and another is drawn. If
# confirmation ignores the lot number, the confirmed lot stays uniform
# and the mean number of draws is 1 / q. The audit: in an illustrative
# worn tube, lots 1 to 10 are slightly longer and drawn with weight
# 1.3. A chi-square test with 59 degrees of freedom (critical value
# 77.93 at the 5% level) is run on seeded samples of N confirmed lots,
# 200 repetitions each, to estimate the power of the audit.
import math
import random

LOTS = 60
CRIT = 77.93
REPS = 200


def draw(rng, cum):
    x = rng.random() * cum[-1]
    lo, hi = 0, len(cum) - 1
    while lo < hi:
        mid = (lo + hi) // 2
        if cum[mid] < x:
            lo = mid + 1
        else:
            hi = mid
    return lo


def confirmed_sample(rng, cum, n, q):
    counts = [0] * LOTS
    draws = 0
    for _ in range(n):
        while True:
            draws += 1
            lot = draw(rng, cum)
            if rng.random() < q:
                counts[lot] += 1
                break
    return counts, draws


def chi2(counts, n):
    e = n / LOTS
    return math.fsum([(c - e) ** 2 / e for c in counts])


def cumulative(weights):
    return [math.fsum(weights[:k + 1]) for k in range(len(weights))]


if __name__ == "__main__":
    rng = random.Random(20261112)
    fair = cumulative([1.0] * LOTS)
    worn = cumulative([1.3] * 10 + [1.0] * (LOTS - 10))
    counts, draws = confirmed_sample(rng, fair, 3000, 0.5)
    print("fair tube, 3000 confirmed lots: draws per lot {:.3f}".format(
        draws / 3000))
    print("  chi2 {:.2f}  (reject if > {})".format(
        chi2(counts, 3000), CRIT))
    print("  N       reject rate fair   reject rate worn")
    for n in (300, 600, 1200, 2400):
        rf = 0
        rw = 0
        for _ in range(REPS):
            cf, _ = confirmed_sample(rng, fair, n, 0.5)
            cw, _ = confirmed_sample(rng, worn, n, 0.5)
            rf += chi2(cf, n) > CRIT
            rw += chi2(cw, n) > CRIT
        print("  {:>4d}    {:.3f}              {:.3f}".format(
            n, rf / REPS, rw / REPS))
    print("worn tube: lots 1-10 share {:.4f} instead of {:.4f}".format(
        13.0 / 63.0, 10.0 / 60.0))

Single source and citation

Fan, Y. (2026). Rigid-Body Landing Probabilities of Moon Blocks, the Likelihood of Three Consecutive Holy Casts and Barnum Effects in Temple Oracle Verses (Version 1.0.0), Chapter 6: The Rite as a Protocol: Restart Rules, Stopping Rules and the Evenness of the Lot Tube. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-225 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026225,
  author    = {Fan, Yafu},
  title     = {Rigid-Body Landing Probabilities of Moon Blocks, the Likelihood of Three Consecutive Holy Casts and Barnum Effects in Temple Oracle Verses},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book