关于「实战工具与检查器规格:每日棘轮台账、红黄绿判据与预注册证伪」,《人机互哺与证伪棘轮》给出的定量结论是什么?
结论:第八章给出实战工具与检查器规格:每日棘轮台账、红黄绿判据、蒸馏小工具「人机互哺棘轮门禁与坍缩警戒试算器」与预注册证伪方案。书中以标注框区分已发表的证据、可运行的 Python 计算(20 段程序)、原典与作者的假说。
数据口径:书中参数为示意,全部计算由书中程序生成。 本书不是软件工程意见,也不是投资意见,不对任何具体商业模型的内部机制下断言。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 20
| z_alpha | 1.6449, z_beta = 0.8416 |
| H1: back-filled success, gate vs confirm (rules per arm) | |
| 0.60 vs 0.45: n | 136 |
| 0.60 vs 0.50: n | 305 |
| 0.55 vs 0.50: n | 1,233 |
| H2: library diversity, low vs adequate real share (weeks) | |
| d | 0.8: n = 20 weeks per group |
| d | 0.5: n = 50 weeks per group |
| d | 0.3: n = 138 weeks per group |
| H3: panel error of 5 agents, independent prediction 0.0579 | |
| true 0.08: n | 769 decided candidates |
| true 0.10: n | 229 decided candidates |
| true 0.14: n | 68 decided candidates |
查看完整验算程序
# Chapter 8. p82: sample sizes for the pre-registered tests.
# H1 (gate): rules admitted by the SPRT gate succeed in back-filled
# field use more often than rules admitted by "confirm"; one-sided
# two-proportion test, alpha 0.05, power 0.80, normal approximation:
# n = (z_a sqrt(2 pbar qbar) + z_b sqrt(p1 q1 + p2 q2))^2 / (p1-p2)^2
# H2 (collapse): weekly diversity of the rule library is lower in weeks
# whose real-data share sat below the alarm line; standardised
# difference d, n per group = 2 (z_a + z_b)^2 / d^2 (one-sided).
# H3 (panel): the empirical panel error of k = 5 correlated agents
# exceeds the independent-vote prediction; one-sample binomial test
# of observed error against p0 (normal approximation).
# All effect sizes are illustrative and must be fixed before data.
import math
from statistics import NormalDist
Z = NormalDist()
ZA, ZB = Z.inv_cdf(0.95), Z.inv_cdf(0.80)
def n_two_prop(p1, p2):
pb = (p1 + p2) / 2.0
a = ZA * math.sqrt(2 * pb * (1 - pb))
b = ZB * math.sqrt(p1 * (1 - p1) + p2 * (1 - p2))
return math.ceil((a + b) ** 2 / (p1 - p2) ** 2)
def n_d(d):
return math.ceil(2 * (ZA + ZB) ** 2 / d ** 2)
def n_one_prop(p0, p1):
a = ZA * math.sqrt(p0 * (1 - p0))
b = ZB * math.sqrt(p1 * (1 - p1))
return math.ceil((a + b) ** 2 / (p1 - p0) ** 2)
if __name__ == "__main__":
print("z_alpha = {:.4f}, z_beta = {:.4f}".format(ZA, ZB))
print("H1: back-filled success, gate vs confirm (rules per arm)")
for p1, p2 in ((0.60, 0.45), (0.60, 0.50), (0.55, 0.50)):
print(" {:.2f} vs {:.2f}: n = {:>5,}".format(
p1, p2, n_two_prop(p1, p2)))
print("H2: library diversity, low vs adequate real share (weeks)")
for d in (0.8, 0.5, 0.3):
print(" d = {:.1f}: n = {:>4,} weeks per group".format(d, n_d(d)))
print("H3: panel error of 5 agents, independent prediction 0.0579")
for p1 in (0.08, 0.10, 0.14):
print(" true {:.2f}: n = {:>5,} decided candidates".format(
p1, n_one_prop(0.0579, p1)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《人机互哺双螺旋进化、实证门禁稳健棘轮与共生创作复利母典》第 8 章「实战工具与检查器规格:每日棘轮台账、红黄绿判据与预注册证伪」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-374 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026374,
author = {Fan, Yafu},
title = {Co-Evolutionary Human-AI Writing Spirals, Falsification-Gated Ratchets and Symbiotic Capability Compounding},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}