关于「只把例外送上来:自动闸门、随机抽检与协调开销」,《单兵指挥与串行瓶颈》给出的定量结论是什么?
结论:第五章讲自动闸门,送审约两成时天花板升到 21.75 倍,窗口间相干开销使容量在 21.21 个窗口处见顶。
数据口径:示意参数下,把串行份额从两成降到半成使加速比增加 3.325,把智能体从十个加到一百个只增加 1.236。 书中参数均为示意;全部计算由书中程序生成。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 21.75
| c | TPR | FPR | review | s | 1/s | slip/1k |
| -inf | 1.000 | 1.000 | 1.000 | 0.2000 | 5.00 | 0.00 |
| 0.0 | 0.977 | 0.500 | 0.524 | 0.1158 | 8.64 | 1.14 |
| 0.5 | 0.933 | 0.309 | 0.340 | 0.0783 | 12.77 | 3.34 |
| 1.0 | 0.841 | 0.159 | 0.193 | 0.0460 | 21.75 | 7.93 |
| 1.5 | 0.691 | 0.067 | 0.098 | 0.0239 | 41.80 | 15.43 |
| 2.0 | 0.500 | 0.023 | 0.047 | 0.0115 | 86.81 | 25.00 |
| 2.5 | 0.309 | 0.006 | 0.021 | 0.0053 | 188.56 | 34.57 |
| no gate, no review: s = 0, slip = 50.0 per 1000 |
查看完整验算程序
# Chapter 5. p51: An automatic gate sends only exceptions upstairs.
# Model: a share PI = 0.05 of agent outputs is bad. An automatic gate
# scores each output; good scores ~ Normal(0, 1), bad ~ Normal(2, 1)
# (a binormal ROC with d' = 2). Outputs scoring above the threshold c
# go to the commander (r = 12 min each); the rest ship unreviewed.
# Agent work per item a = 48 min. Reviewed share f, serial share
# s = f r / (a + f r), ceiling 1/s, and bad outputs that slip through
# per 1000 shipped. c = -inf reviews everything (s = 0.20).
# All parameters are illustrative.
from statistics import NormalDist
PI, DPRIME, A, R = 0.05, 2.0, 48.0, 12.0
Z = NormalDist()
def row(c):
if c is None:
tpr, fpr = 1.0, 1.0
else:
tpr = 1.0 - Z.cdf(c - DPRIME)
fpr = 1.0 - Z.cdf(c)
f = PI * tpr + (1.0 - PI) * fpr
s = f * R / (A + f * R)
slip = PI * (1.0 - tpr) * 1000.0
return tpr, fpr, f, s, slip
print("%6s %7s %7s %8s %7s %8s %9s" % ("c", "TPR", "FPR", "review",
"s", "1/s", "slip/1k"))
for c in [None, 0.0, 0.5, 1.0, 1.5, 2.0, 2.5]:
tpr, fpr, f, s, slip = row(c)
lab = " -inf" if c is None else "%6.1f" % c
print("%6s %7.3f %7.3f %8.3f %7.4f %8.2f %9.2f" % (
lab, tpr, fpr, f, s, 1.0 / s, slip))
print("no gate, no review: s = 0, slip = %.1f per 1000" % (
PI * 1000.0))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《单兵硅基帝国宪章学、串行总司令决策带宽与阿姆达尔串行瓶颈破局母典》第 5 章「只把例外送上来:自动闸门、随机抽检与协调开销」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-253 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026253,
author = {Fan, Yafu},
title = {Constitutional Engineering for a One-Commander Silicon Empire: Serial Decision Bandwidth and Breaking Amdahl's Bottleneck},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}