关于「实战工具与检查器规格:愿望台账、红线与预注册检验」,《愿望形式化编译》给出的定量结论是什么?
结论:第八章给出蒸馏小工具「愿望约束反演与反例编译器」、按四件套分组的检查器规格表、愿望台账与预注册检验:44 条愿望即可做第一次判决。书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
数据口径:书中金额为无币种示意单位,参数为示意,全部计算由书中程序生成;本书是非个人化经营建议,不作个人财务或投资建议,心理学文献只写关联与适用条件,区间下界不是任何收入承诺。 书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 44
| (a) visitors per arm, conversion test | |
| 0.020 | 0.030: 3,826 per arm, 7,652 in all |
| 0.020 | 0.025: 13,809 per arm, 27,618 in all |
| 0.030 | 0.036: 13,914 per arm, 27,828 in all |
| (b) compiled wishes, counterexample found before launch | |
| p0 0.30 vs p1 0.50 | 44 wishes |
| p0 0.30 vs p1 0.45 | 78 wishes |
| p0 0.40 vs p1 0.50 | 191 wishes |
查看完整验算程序
# Chapter 8. p82: pre-registered sample sizes for the prototype test
# (a) two-proportion test of a page change: baseline conversion against
# a better one, alpha 0.05 two-sided, power 0.80 (normal approximation).
# (b) the ledger test of the book's core claim: share of compiled wishes
# whose first counterexample is found before launch; one-sample test of
# p0 against p1. All rates are illustrative planning values.
import math
from statistics import NormalDist
Z = NormalDist()
za, zb = Z.inv_cdf(0.975), Z.inv_cdf(0.80)
def two_prop(p1, p2):
pb = (p1 + p2) / 2
a = za * math.sqrt(2 * pb * (1 - pb))
b = zb * math.sqrt(p1 * (1 - p1) + p2 * (1 - p2))
return math.ceil((a + b) ** 2 / (p2 - p1) ** 2)
def 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)
print("(a) visitors per arm, conversion test")
for p1, p2 in ((0.020, 0.030), (0.020, 0.025), (0.030, 0.036)):
n = two_prop(p1, p2)
print(" {:.3f} -> {:.3f}: {:>8,} per arm, {:>8,} in all".format(
p1, p2, n, 2 * n))
print("(b) compiled wishes, counterexample found before launch")
for p0, p1 in ((0.30, 0.50), (0.30, 0.45), (0.40, 0.50)):
print(" p0 {:.2f} vs p1 {:.2f}: {:>5} wishes".format(
p0, p1, one_prop(p0, p1)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《创始人模糊愿望形式化编译、约束反演与可执行商业系统生成母典》第 8 章「实战工具与检查器规格:愿望台账、红线与预注册检验」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-414 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026414,
author = {Fan, Yafu},
title = {Formalising Fuzzy Founder Wishes: Constraint Inversion, Falsifiable Spec Synthesis and Executable Revenue System Compilation},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}