关于「东西方原典考辨:秦《工律》的「同物必等」与道奇、罗米格的保护约束」,《验收抽样与到货验货》给出的定量结论是什么?
结论:第七章考辨秦律「同物必等」与道奇、罗米格的保护约束,量具偏差可使不良率放大 8.4 倍。
数据口径:书中批量、不良率与成本均为示意参数;全部计算由书中程序生成;本书属于非个人化经营建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 8.4
| t/sigma | offset | p out | n0 (c=0, beta 0.10) |
| 1.0 | 0.0 | 0.31731 | 7 |
| 1.0 | 0.5 | 0.37534 | 5 |
| 1.0 | 1.0 | 0.52275 | 4 |
| 1.5 | 0.0 | 0.13361 | 17 |
| 1.5 | 0.5 | 0.18141 | 12 |
| 1.5 | 1.0 | 0.31475 | 7 |
| 2.0 | 0.0 | 0.04550 | 50 |
| 2.0 | 0.5 | 0.07302 | 31 |
| 2.0 | 1.0 | 0.16001 | 14 |
| 2.5 | 0.0 | 0.01242 | 185 |
| 2.5 | 0.5 | 0.02410 | 95 |
| 2.5 | 1.0 | 0.06704 | 34 |
| 3.0 | 0.0 | 0.00270 | 852 |
| 3.0 | 0.5 | 0.00644 | 357 |
| 3.0 | 1.0 | 0.02278 | 100 |
| ruler off by one sigma at t = 3 sigma: p rises 8.4 fold |
查看完整验算程序
# Chapter 7. p71: "items of one kind must match in size", made testable.
# Model: a dimension X ~ Normal(mu, sigma) against a two-sided
# tolerance of +/- t around the standard; the nonconforming share is
# p = P(|X - standard| > t). A ruler that is off by delta shifts mu.
# For each p, n0 is the zero-acceptance sample that rejects such a
# lot with prob >= 0.90 (binomial, n0 = ceil(ln 0.10 / ln(1 - p))).
# The tolerance ratios and offsets are illustrative.
import math
def phi(z):
return 0.5 * (1.0 + math.erf(z / math.sqrt(2.0)))
def share_out(k, shift):
# tolerance k sigma, process mean off by shift sigma
return (1.0 - phi(k - shift)) + phi(-k - shift)
def n_zero(p, beta=0.10):
return math.ceil(math.log(beta) / math.log(1.0 - p))
if __name__ == "__main__":
print(" t/sigma offset p out n0 (c=0, beta 0.10)")
for k in (1.0, 1.5, 2.0, 2.5, 3.0):
for shift in (0.0, 0.5, 1.0):
p = share_out(k, shift)
print(" {:.1f} {:.1f} {:.5f} {:6d}".format(
k, shift, p, n_zero(p)))
p0 = share_out(3.0, 0.0)
p1 = share_out(3.0, 1.0)
print("ruler off by one sigma at t = 3 sigma: p rises {:.1f} fold"
.format(p1 / p0))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《验收抽样方案与操作特性曲线、买手到货验货抽检件数母典》第 7 章「东西方原典考辨:秦《工律》的「同物必等」与道奇、罗米格的保护约束」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-329 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026329,
author = {Fan, Yafu},
title = {Acceptance Sampling Plans and Operating-Characteristic Curves: How Many Items a Buyer Must Inspect on Arrival},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}