关于「轮次衰减:软提示遵从率的指数模型、重发周期与日志判别」,《硬门禁与软提示衰减》给出的定量结论是什么?

结论:第三章给出带地板的指数衰减模型,半衰期 6.93 轮,四十轮会话的漏网是静态估计的 4.71 倍。

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

English version

对照数据表

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

half-life of the excess compliance ln2/k6.93 turns
turn comply miss
00.9500 0.0500
50.8516 0.1484
100.7920 0.2080
200.7338 0.2662
400.7046 0.2954
800.7001 0.2999
expected escapes per session, decaying versus static model:
T10 decaying 0.134 static 0.050 ratio 2.68
T40 decaying 0.942 static 0.200 ratio 4.71
T100 decaying 2.737 static 0.500 ratio 5.47

核心公式

\[c(t) = c_\infty + (c_0 - c_\infty)\,e^{-kt}.\]
查看完整验算程序
# Chapter 3. p31: a soft prompt whose pull fades with the turns.
# Author's working model (a hypothesis, not a published law): the
# chance that the agent follows a standing instruction at turn t is
#   c(t) = c_inf + (c0 - c_inf) x exp(-k t),
# starting at c0 and sinking to a floor c_inf. Illustrative values:
# c0 = 0.95, c_inf = 0.70, k = 0.10 per turn. Each turn offers a
# violation opportunity with probability v = 0.10, as in p11.
import math

C0, CINF, K, V = 0.95, 0.70, 0.10, 0.10


def comply(t):
    return CINF + (C0 - CINF) * math.exp(-K * t)


print("half-life of the excess compliance ln2/k = %.2f turns"
      % (math.log(2) / K))
print("%5s %10s %10s" % ("turn", "comply", "miss"))
for t in (0, 5, 10, 20, 40, 80):
    print("%5d %10.4f %10.4f" % (t, comply(t), 1 - comply(t)))
print("expected escapes per session, decaying versus static model:")
for T in (10, 40, 100):
    dec = math.fsum(V * (1 - comply(t)) for t in range(T))
    sta = V * (1 - C0) * T
    print("  T = %3d  decaying %.3f  static %.3f  ratio %.2f" % (
        T, dec, sta, dec / sta))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《客户端生命周期硬门禁工程、软提示遵从率轮次衰减与保存前物理拦截状态机母典》第 3 章「轮次衰减:软提示遵从率的指数模型、重发周期与日志判别」(版本 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}
}

本书其他章节结论