What does Boundary Hours, Twins and Bone Weight conclude, in numbers, about “Five Night Boundaries: 11 p.m. to 5 a.m.”?
Answer: Chapters 2 and 3 hold thirty-nine questions about the past for the thirteen boundaries, Chapter 4 the eight twin-splitting rules, Chapters 5 and 6 read the fifty-two bone weights, Chapter 7 the sixty nayin years, and Chapter 8 demonstrates the procedure on a sample chart that contains no birth data and gives a pre-registered blind-judgement test: with a true accuracy of 0.65 it needs only 67 people. Marked boxes separate published evidence, runnable Python calculations, classical sources and the author's hypotheses.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations, classical sources and the author's hypotheses.
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.65
one question right 0.50 -> majority of three right 0.5000 one question right 0.55 -> majority of three right 0.5748 one question right 0.60 -> majority of three right 0.6480 one question right 0.70 -> majority of three right 0.7840 one question right 0.80 -> majority of three right 0.8960 true battery rate 0.60: 158 people, reject chance at 90 hits true battery rate 0.65: 69 people, reject chance at 42 hits true battery rate 0.70: 37 people, reject chance at 24 hits
Show the full program
# Chapter 2. p13: How good three questions must be, and how many people a test needs.
# Method. Each boundary carries three yes/no questions; each answer points
# to one side. If every answer independently points to the right side with
# probability q, a majority of three is right with q^3 + 3 q^2 (1 - q).
# The pre-registered test: people whose birth time is on a hospital record
# and lies within one hour of one of the five night boundaries. A coder who
# does not see the record scores the three answers and names a side; the
# null hit rate is 0.5. Exact one-sided binomial test, alpha 0.05, power
# 0.80: the smallest n, and the hits needed to reject chance, for several
# true battery hit rates.
from math import comb
def majority(q):
return q ** 3 + 3 * q ** 2 * (1 - q)
def tail(n, k, p):
return sum(comb(n, i) * p ** i * (1 - p) ** (n - i) for i in range(k, n + 1))
def design(p0, p1, alpha=0.05, power=0.80):
for n in range(10, 3000):
k = next(k for k in range(n + 1) if tail(n, k, p0) <= alpha)
if tail(n, k, p1) >= power:
return n, k
return None
if __name__ == "__main__":
for q in (0.5, 0.55, 0.6, 0.7, 0.8):
print(" one question right {:.2f} -> majority of three right {:.4f}".format(q, majority(q)))
for p1 in (0.6, 0.65, 0.7):
n, k = design(0.5, p1)
print(" true battery rate {:.2f}: {} people, reject chance at {} hits".format(p1, n, k))Single source and citation
Fan, Y. (2026). The Boundary-Hour Rectification, Twin-Chart and Bone-Weight Baseload Codex (Version 1.0.0), Chapter 2: Five Night Boundaries: 11 p.m. to 5 a.m.. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-124 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026124,
author = {Fan, Yafu},
title = {The Boundary-Hour Rectification, Twin-Chart and Bone-Weight Baseload Codex},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Method: True Solar Time, Distance to a Boundary, Likelihood Ratios, Bone Weight and Nayin
- Chapter 3 · Eight Daytime Boundaries: 7 a.m. to 9 p.m.
- Chapter 4 · Splitting Twin Charts: Eight Rules and What Twin Research Shows
- Chapter 5 · Bone Weight, the Lighter Half: 2 Liang 1 Qian to 4 Liang 6 Qian
- Chapter 6 · Bone Weight, the Heavier Half: 4 Liang 7 Qian to 7 Liang 2 Qian
- Chapter 7 · The Sixty Sound-Elements: Pressure Base and Wealth-Carrying Capacity of the Year Cell
- Chapter 8 · Practice: Rectifying, Weighing and Reading Sample Chart A, and a Pre-Registered Test