关于「十九个名格:判定规则、真实频率与直断」,《转盘奇门百格与六爻商业直断》给出的定量结论是什么?
结论:本章逐条写出十九个名格的判定规则、古象与直断。全部 1,080 个局时等权统计:天遁最少(0.0083),门迫最多(0.6667),六仪击刑过半(0.5296),三奇得使四成多(0.4315),伏吟 0.3204,其中星伏吟与门伏吟各 0.2222。按北京时间起 2024 至 2043 年的 87,660 张时盘,比例与等权统计只差小数第四位。几乎每张盘都吉凶并存(0.7056),没有凶格的盘只占 0.0259;所以名格要按它落在哪一宫来读,而不是按它有没有出现来读。这些断语是诠释;本章给出了一项可以预先登记的检验。
数据口径:全部计算由书中程序生成;本书不是投资、法律、职业、心理或婚姻建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.0083, 0.2222, 0.3204, 0.4315, 0.5296, 0.6667
| bureau-hours: 1,080 | ||
| QingLongFanShou | 109 | 0.1009 |
| FeiNiaoDieXue | 107 | 0.0991 |
| TianDun | 9 | 0.0083 |
| DiDun | 17 | 0.0157 |
| RenDun | 12 | 0.0111 |
| ShenDun | 20 | 0.0185 |
| GuiDun | 11 | 0.0102 |
| FengDun | 36 | 0.0333 |
| YunDun | 43 | 0.0398 |
| LongDun | 65 | 0.0602 |
| HuDun | 20 | 0.0185 |
| SanQiDeShi | 466 | 0.4315 |
| YuNvShouMen | 110 | 0.1019 |
| SanQiShengDian | 371 | 0.3435 |
| LiuYiJiXing | 572 | 0.5296 |
| SanQiRuMu | 370 | 0.3426 |
| MenPo | 720 | 0.6667 |
| FuYin | 346 | 0.3204 |
| FanYin | 220 | 0.2037 |
| star fu yin | 0.2222 | |
| door fu yin | 0.2222 | |
| star fan yin | 0.1111 | |
| door fan yin | 0.1111 | |
| star and door fu yin together 0.1241 | ||
| mean patterns per chart 3.3556 |
查看完整验算程序
# Chapter 6. p30: Share of the 1,080 bureau-hours that show each of the 19 named patterns.
# Chaibu rotating plates as in chapter 1: the earth plate is laid from the
# bureau number (forward in yang dun, backward in yin dun); the stars turn
# round the outer ring so that the duty star reaches the hour stem; the
# centre's stem rides with Rui; the duty door walks one Luoshu palace per
# hour stem from the decade leader (centre counted as Kun 2); the spirits
# start at the duty star's new palace. Each pattern is then tested with the
# exact rule printed in chapter 6. All 9 x 2 x 60 = 1,080 bureau-hours are
# weighted equally.
RING = (1, 8, 3, 4, 9, 2, 7, 6) # outer ring, clockwise from Kan
YIQI = ("wu", "ji", "geng", "xin", "ren", "gui", "ding", "bing", "yi")
STEMS = ("jia", "yi", "bing", "ding", "wu", "ji", "geng", "xin", "ren", "gui")
STAR = {1: "Peng", 2: "Rui", 3: "Chong", 4: "Fu", 6: "Xin", 7: "Zhu", 8: "Ren", 9: "Ying"}
DOOR = {1: "Xiu", 2: "Si", 3: "Shang", 4: "Du", 6: "Kai", 7: "Jing7", 8: "Sheng", 9: "Jing9"}
GODS = ("ZhiFu", "TengShe", "TaiYin", "LiuHe", "BaiHu", "XuanWu", "JiuDi", "JiuTian")
def step(p, yang, n=1):
for _ in range(n):
p = p % 9 + 1 if yang else (p - 2) % 9 + 1
return p
def chart(ju, yang, k):
"""Rotating chart of bureau ju, dun yang/yin, hour k (0 = jia-zi):
{palace: [heaven stems, earth stem, star, door, spirit]}, duty door."""
earth = {step(ju, yang, i): s for i, s in enumerate(YIQI)}
where = {s: p for p, s in earth.items()}
xp = where[YIQI[k // 10]]
src = 2 if xp == 5 else xp
tp = where[YIQI[k // 10] if k % 10 == 0 else STEMS[k % 10]]
tp = 2 if tp == 5 else tp
dp = step(xp, yang, k % 10)
dp = 2 if dp == 5 else dp
sh = RING.index(tp) - RING.index(src)
dsh = RING.index(dp) - RING.index(src)
c = {q: [[], earth[q], "", "", ""] for q in RING}
for i, q in enumerate(RING):
to = c[RING[(i + sh) % 8]]
to[0] = [earth[q]] + ([earth[5]] if q == 2 else [])
to[2] = STAR[q]
c[RING[(i + dsh) % 8]][3] = DOOR[q]
for g, name in enumerate(GODS):
c[RING[(RING.index(tp) + (g if yang else -g)) % 8]][4] = name
return c, DOOR[src]
PAT = ("QingLongFanShou", "FeiNiaoDieXue", "TianDun", "DiDun", "RenDun",
"ShenDun", "GuiDun", "FengDun", "YunDun", "LongDun", "HuDun",
"SanQiDeShi", "YuNvShouMen", "SanQiShengDian", "LiuYiJiXing",
"SanQiRuMu", "MenPo", "FuYin", "FanYin")
PPHASE = {1: 4, 2: 2, 3: 0, 4: 0, 6: 3, 7: 3, 8: 2, 9: 1} # 0 wood .. 4 water
DPHASE = {"Xiu": 4, "Sheng": 2, "Shang": 0, "Du": 0, "Jing9": 1, "Si": 2,
"Jing7": 3, "Kai": 3}
ENVOY = {("yi", "ji"), ("yi", "xin"), ("bing", "wu"), ("bing", "geng"),
("ding", "ren"), ("ding", "gui")}
ASCEND = {"yi": 3, "bing": 9, "ding": 7}
PUNISH = {"wu": 3, "ji": 2, "geng": 8, "xin": 9, "ren": 4, "gui": 4}
TOMB = {"yi": 2, "bing": 6, "ding": 8}
OPP = {1: 9, 9: 1, 2: 8, 8: 2, 3: 7, 7: 3, 4: 6, 6: 4}
GOOD = ("Kai", "Xiu", "Sheng")
def detect(c, duty):
"""Set of pattern names present (rules of chapter 6, outer palaces)."""
f = set()
for q, (h, e, star, door, god) in c.items():
pr = {(a, e) for a in h}
g = door in GOOD
tests = (("wu", "bing") in pr, ("bing", "wu") in pr,
"bing" in h and door == "Sheng" and e == "ding",
"yi" in h and door == "Kai" and e == "ji",
"ding" in h and door == "Xiu" and god == "TaiYin",
"bing" in h and door == "Sheng" and god == "JiuTian",
"ding" in h and door == "Du" and god == "JiuDi",
"yi" in h and g and q == 4,
"yi" in h and g and e == "xin",
"yi" in h and ((door == "Xiu" and q == 1) or (g and e == "gui")),
("yi" in h and door in ("Xiu", "Sheng") and e == "xin" and q == 8)
or ("geng" in h and door == "Kai" and q == 7),
bool(pr & ENVOY), door == duty and e == "ding",
any(ASCEND.get(a) == q for a in h),
any(PUNISH.get(a) == q for a in h),
any(TOMB.get(a) == q for a in h),
PPHASE[q] == (DPHASE[door] + 2) % 5)
f |= {PAT[i] for i, t in enumerate(tests) if t}
plates = fu_fan(c)
if plates[0] or plates[1]:
f.add("FuYin")
if plates[2] or plates[3]:
f.add("FanYin")
return f
def fu_fan(c):
"""(star fu yin, door fu yin, star fan yin, door fan yin)."""
return (all(c[q][2] == STAR[q] for q in c), all(c[q][3] == DOOR[q] for q in c),
all(c[q][2] == STAR[OPP[q]] for q in c),
all(c[q][3] == DOOR[OPP[q]] for q in c))
if __name__ == "__main__":
rows = [chart(ju, yang, k) for ju in range(1, 10) for yang in (1, 0)
for k in range(60)]
found = [detect(c, d) for c, d in rows]
n = len(found)
print(" bureau-hours: {:,d}".format(n))
for p in PAT:
m = sum(p in f for f in found)
print(" {:16s} {:4d} {:.4f}".format(p, m, m / n))
ff = [fu_fan(c) for c, _ in rows]
for i, lab in enumerate(("star fu yin", "door fu yin", "star fan yin",
"door fan yin")):
print(" {:13s} {:.4f}".format(lab, sum(x[i] for x in ff) / n))
print(" star and door fu yin together {:.4f}".format(
sum(x[0] and x[1] for x in ff) / n))
print(" mean patterns per chart {:.4f}".format(
sum(len(f) for f in found) / n))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《转盘奇门拆补法与六爻纳甲商业断事母典》第 6 章「十九个名格:判定规则、真实频率与直断」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-121 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026121,
author = {Fan, Yafu},
title = {The Rotating Qimen Chaibu and Liuyao Najia Codex of Business Verdicts},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}