关于「实证闭环:写书里程碑、客户分期截止与预注册检验」,《截止期与时间动机》给出的定量结论是什么?
结论:第八章给出写书窗口的里程碑排程、客户分期截止设计、预注册检验方案与蒸馏小工具「截止期排程器」。书中以标注框区分已发表的证据、可运行的 Python 计算(18 段程序)、原典与作者的假说。
数据口径:书中参数为示意;全部计算由书中程序生成;本书不是个人化的经营、法律或理财建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(18 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| stage | guess | cum guess | cum median | milestone p80 |
| programs | 6.0 | 6.0 | 8.8 | 16.1 |
| Chinese text | 12.0 | 18.0 | 27.9 | 47.5 |
| English text | 10.0 | 28.0 | 44.2 | 73.0 |
| bib, yaml, kit | 2.0 | 30.0 | 47.5 | 77.8 |
| gate fixes | 3.0 | 33.0 | 52.6 | 85.3 |
| buffer factor on the whole guess at p80: 2.583 | ||||
| chance of finishing within the bare guess: 0.207 |
查看完整验算程序
# Chapter 8. p81: Milestones for one volume of this book series. The
# writer's own hour guesses per stage are inflated by the planning-
# fallacy ratio R fitted in p51 (lognormal, mu 0.384, sigma 0.720), with
# a shared factor between stages (correlation 0.5). Milestones are set at
# the 80th percentile of cumulative hours. Hour guesses are illustrative.
import math
import random
MU, SIG, RHO, Q = 0.384, 0.720, 0.5, 0.80
STAGES = (("programs", 6.0), ("Chinese text", 12.0),
("English text", 10.0), ("bib, yaml, kit", 2.0),
("gate fixes", 3.0))
def simulate(n=20000, seed=20261112):
rng = random.Random()
rng.seed(seed)
cums = [[] for _ in STAGES]
for _ in range(n):
zc = rng.gauss(0.0, 1.0)
acc = []
for _, h in STAGES:
z = math.sqrt(RHO) * zc + math.sqrt(1 - RHO) * rng.gauss(0, 1)
acc.append(h * math.exp(MU + SIG * z))
run = 0.0
for i, x in enumerate(acc):
run = math.fsum((run, x))
cums[i].append(run)
return cums
def quantile(xs, q):
s = sorted(xs)
return s[min(len(s) - 1, int(q * len(s)))]
if __name__ == "__main__":
cums = simulate()
plan = 0.0
print("stage guess cum guess cum median milestone p80")
for (name, h), c in zip(STAGES, cums):
plan += h
print("%-15s %6.1f %9.1f %10.1f %13.1f"
% (name, h, plan, quantile(c, 0.5), quantile(c, Q)))
last = cums[-1]
m80 = quantile(last, Q)
print("buffer factor on the whole guess at p80: %.3f" % (m80 / plan))
hit = len([x for x in last if x <= plan]) / float(len(last))
print("chance of finishing within the bare guess: %.3f" % hit)唯一数据源与引用
范雅福(Fan, Y.). (2026). 《双曲贴现偏好反转、截止期承诺装置与时间动机方程母典》第 8 章「实证闭环:写书里程碑、客户分期截止与预注册检验」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-199 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026199,
author = {Fan, Yafu},
title = {Hyperbolic-Discounting Preference Reversals, Deadline Commitment Devices and the Temporal Motivation Equation},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}