关于「东西方原典考辨:《韩非子·有度》的法与绳,里森《人为差错》的差错分类」,《硬门禁与软提示衰减》给出的定量结论是什么?

结论:第七章考辨《韩非子·有度》与里森的差错分类,门禁之后的残余有 0.627 是知识型错误。

数据口径:软提醒按比例起作用,各层独立时残余违规率是漏过率之积,示意参数下四层之后仍是 0.0048,不是零;只有确定性的代码门禁能在它自己定义的模式类别之内做到零。 书中参数均为示意;全部计算由书中程序生成。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.627

kind share c s after rev after gate
slip/lapse0.45 0.95 0.50 0.378 0.053
rule-based0.25 0.60 0.40 0.252 0.283
knowledge0.20 0.05 0.30 0.235 0.627
violation0.10 0.90 0.20 0.134 0.038
residual left: review only 0.5950, review plus gate 0.2122
latent hole: a2 a week, p = 0.50, escapes 4.0
latent hole: a2 a week, p = 0.10, escapes 20.0
latent hole: a10 a week, p = 0.10, escapes 100.0
查看完整验算程序
# Chapter 7. p72: Reason's error types meet a pattern gate.
# Illustrative mix of errors in an agent's saved chapters, by the kind
# Reason (1990) distinguishes: skill-based slips and lapses, rule-based
# mistakes, knowledge-based mistakes, and violations of a standing
# rule. Each kind has a chance to leave a mark a code gate can match
# (c) and a chance to be caught by a soft review (s). The residual mix
# after review only and after review plus gate shows which kind is
# left. Then a latent hole in the rule set: escapes through it are
# a / p when a errors a week meet it and a weekly review finds the
# hole with probability p.
from fractions import Fraction as F

KINDS = [("slip/lapse", F(45, 100), F(95, 100), F(50, 100)),
         ("rule-based", F(25, 100), F(60, 100), F(40, 100)),
         ("knowledge", F(20, 100), F(5, 100), F(30, 100)),
         ("violation", F(10, 100), F(90, 100), F(20, 100))]
print("%-11s %6s %6s %6s %10s %10s" % ("kind", "share", "c", "s",
                                       "after rev", "after gate"))
r_tot, g_tot = F(0), F(0)
rows = []
for name, w, c, s in KINDS:
    rv = w * (1 - s)
    gt = rv * (1 - c)
    r_tot += rv
    g_tot += gt
    rows.append((name, w, c, s, rv, gt))
for name, w, c, s, rv, gt in rows:
    print("%-11s %6.2f %6.2f %6.2f %10.3f %10.3f" % (
        name, float(w), float(c), float(s), float(rv / r_tot),
        float(gt / g_tot)))
print("residual left: review only %.4f, review plus gate %.4f" % (
    float(r_tot), float(g_tot)))
for a, p in ((2, F(1, 2)), (2, F(1, 10)), (10, F(1, 10))):
    print("latent hole: a = %2d a week, p = %.2f, escapes %.1f" % (
        a, float(p), float(a / p)))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《客户端生命周期硬门禁工程、软提示遵从率轮次衰减与保存前物理拦截状态机母典》第 7 章「东西方原典考辨:《韩非子·有度》的法与绳,里森《人为差错》的差错分类」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-256 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026256,
  author    = {Fan, Yafu},
  title     = {Hard Gates across the Client Lifecycle: the Decay of Soft-Prompt Compliance over Turns and State Machines for Interception before Publication},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论