What does Ziping Climate Tension and Ten Gods conclude, in numbers, about “Method: Climate Tension, Ten-God Arithmetic and Exact Distributions”?
Answer: Chapter 1 enumerates the 43830 days from 1924 to 2043: each of the one hundred and twenty cells takes 353 to 378 days, a ratio of 1.0708 between the fullest and the emptiest, so no cell is rare. There are only 9 different first climate keys, Bing, Ren and Jia take most of the cells, and Bing comes first in a share of 0.2250; read as ten gods, the keys are mostly forces that discipline or hold up the day stem. Over 525960 charts under the book's counting rule the dominant ten god is almost evenly distributed, but in 0.7062 of charts the top two are less than one visible stem apart, and the first key is shown on a stem in only 0.2732.
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: 1.0708, 353, 378, 43830
| days enumerated | 43830 |
| stem Yin Mao Chen Si Wu Wei Shen You Xu Hai Zi Chou | |
| Jia | 357 362 368 374 378 377 372 368 362 356 355 354 |
| Yi | 358 362 369 374 376 378 374 367 361 357 354 353 |
| Bing | 357 363 369 374 376 377 374 368 362 356 353 354 |
| Ding | 357 362 369 375 378 375 374 368 361 356 354 354 |
| Wu | 358 362 369 374 378 377 372 369 361 356 354 353 |
| Ji | 357 363 367 374 378 377 373 367 362 356 354 355 |
| Geng | 356 363 369 373 377 378 374 368 361 357 353 354 |
| Xin | 357 363 369 374 376 377 374 368 362 356 354 353 |
| Ren | 357 363 368 375 377 376 374 368 361 357 353 354 |
| Gui | 357 363 368 375 377 377 373 367 362 357 353 354 |
| cell mean 365.25, min 353, max 378, max/min 1.0708 | |
| chi-square against 120 equal cells | 23.96 on 119 df |
| days per month branch (share of all days): | |
| Yin | 3571 0.0815 |
| Mao | 3626 0.0827 |
| Chen | 3685 0.0841 |
| Si | 3742 0.0854 |
| Wu | 3771 0.0860 |
| Wei | 3769 0.0860 |
| Shen | 3734 0.0852 |
| You | 3678 0.0839 |
| Xu | 3615 0.0825 |
| Hai | 3564 0.0813 |
| Zi | 3537 0.0807 |
| Chou | 3538 0.0807 |
| largest stem spread inside one month branch | 3 days |
Show the full program
# Chapter 1. p01: How often each day stem meets each month branch. Full
# calendar enumeration of the 43830 civil days from 1924-01-01 to
# 2043-12-31 (two sexagenary year cycles). Day pillar: (JDN + 49) mod 60,
# so 2000-01-01 is Wu Wu. Month branch: the sun's apparent longitude at
# local noon (UTC+8); every 30 degrees from 315 starts a month (Yin at
# 315, Mao at 345 and on round the circle). Sun by the formula of Meeus
# (Astronomical Algorithms, ch. 25), good to about 0.01 degree, i.e. a
# quarter of an hour at a month boundary. Exact counts; no sampling.
from datetime import date, timedelta
from math import sin, radians
STEMS = ("Jia", "Yi", "Bing", "Ding", "Wu", "Ji", "Geng", "Xin", "Ren", "Gui")
MONTHS = ("Yin", "Mao", "Chen", "Si", "Wu", "Wei", "Shen", "You", "Xu",
"Hai", "Zi", "Chou") # calendar order, index 0 = Yin
def sun_lon(jd):
t = (jd - 2451545.0) / 36525.0
l0 = 280.46646 + 36000.76983 * t + 0.0003032 * t * t
m = radians(357.52911 + 35999.05029 * t - 0.0001537 * t * t)
c = ((1.914602 - 0.004817 * t - 0.000014 * t * t) * sin(m)
+ (0.019993 - 0.000101 * t) * sin(2 * m) + 0.000289 * sin(3 * m))
om = radians(125.04 - 1934.136 * t)
return (l0 + c - 0.00569 - 0.00478 * sin(om)) % 360.0
def month_index(jdn, hour_local):
jd = jdn - 0.5 + (hour_local - 8.0) / 24.0
return int(((sun_lon(jd) - 315.0) % 360.0) // 30.0)
if __name__ == "__main__":
d, end = date(1924, 1, 1), date(2043, 12, 31)
cnt = [[0] * 12 for _ in range(10)]
mlen = [0] * 12
n = 0
while d <= end:
jdn = d.toordinal() + 1721425
s, mi = (jdn + 49) % 60 % 10, month_index(jdn, 12.0)
cnt[s][mi] += 1
mlen[mi] += 1
n += 1
d += timedelta(days=1)
print(" days enumerated: {}".format(n))
print(" stem " + " ".join("{:>5}".format(m) for m in MONTHS))
for s in range(10):
print(" {:<5} ".format(STEMS[s]) + " ".join(
"{:>5}".format(x) for x in cnt[s]))
flat = [x for row in cnt for x in row]
e = n / 120.0
chi = sum((x - e) ** 2 / e for x in flat)
print(" cell mean {:.2f}, min {}, max {}, max/min {:.4f}".format(
e, min(flat), max(flat), max(flat) / min(flat)))
print(" chi-square against 120 equal cells: {:.2f} on 119 df".format(chi))
print(" days per month branch (share of all days):")
for i in range(12):
print(" {:<5} {:>5} {:.4f}".format(MONTHS[i], mlen[i], mlen[i] / n))
# within one month branch, are the ten stems equal? (row spread)
spread = max(max(cnt[s][i] for s in range(10)) - min(cnt[s][i]
for s in range(10)) for i in range(12))
print(" largest stem spread inside one month branch: {} days".format(
spread))Single source and citation
Fan, Y. (2026). The Ziping Climate-Tension and Ten-Gods Codex of Human Games (Version 1.0.0), Chapter 1: Method: Climate Tension, Ten-God Arithmetic and Exact Distributions. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-119 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026119,
author = {Fan, Yafu},
title = {The Ziping Climate-Tension and Ten-Gods Codex of Human Games},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · Jia and Yi Wood: Climate Tension in Twenty-Four Month Commands
- Chapter 3 · Bing and Ding: Twenty-Four Climate Tensions of the Sun and the Lamp
- Chapter 4 · Wu and Ji: Earth in the Twelve Month Commands
- Chapter 5 · Geng and Xin: Twenty-Four Climates of the Metal Day Masters
- Chapter 6 · Ren and Gui: The Twenty-Four Month Commands of the Water Day Masters
- Chapter 7 · The Ten Gods and the Twenty-Four Combinations: Who Speaks in a Chart, and Who Travels Together
- Chapter 8 · Practice: The Reading Card of Sample Chart A, and a Blind-Matching Test against Barnum Controls