关于「按反馈降速:加性增、乘性减与瓦尔德序贯检验」,《私域速率整形》给出的定量结论是什么?
结论:一天只发 300 封的小发件人,真实投诉率明明守在 0.10%,单日读数越过 0.30% 的概率却有 0.2593,大约每四天就有一天误报一次;把一周合并起来读,概率降到 0.005834。一天 1000 封时,单日误报概率 0.0802,一周合并后 0.000014。到一天 5000 封,单日误报概率只剩 0.0002。最后一列说明原因:0.30% 这条线离真实值有几个标准误,一天 300 封时只有 1.10 个,一天 20000 封时有 8.95 个。
数据口径:示意计划每分钟平均 10.0 条,攒批猛发仍被拒收 420 条,接上桶深 20 的令牌桶后为零。 书中参数为示意,平台数字注明文档与查阅日期;全部计算由书中程序生成,程序不读写文件、不联网;本书是非个人化经营建议,不是法律或合规意见,任何线上发送节奏的改动须由主事者人工复核放行。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.000014, 0.0002, 0.005834, 0.0802, 0.10, 0.2593
| true rate 0.10%; alarm line 0.30% | |||
| per day | P(day >= line) | P(week >= line) | z of line, day |
| 300 | 0.2593 | 0.005834 | 1.10 |
| 1000 | 0.0802 | 0.000014 | 2.00 |
| 2000 | 0.0165 | 0.000000 | 2.83 |
| 5000 | 0.0002 | 0.000000 | 4.47 |
| 20000 | 0.0000 | 0.000000 | 8.95 |
查看完整验算程序
# Chapter 5. p53: a daily spam-rate reading is noisy at small volume.
# Gmail's sender guidelines (read on 2026-11-13) ask senders to keep the
# spam rate in Postmaster Tools below 0.10% and never to reach 0.30%.
# Suppose a sender's true complaint rate sits exactly at 0.10%. With v
# messages a day, the daily count is Binomial(v, 0.001). The program
# gives the exact chance that one day reads 0.30% or more, and the same
# for a seven-day pooled reading (7 v messages). The ratio column shows
# the 0.30% line in standard errors above the true rate. (Same guide:
# marketing mail must offer one-click unsubscribe, RFC 8058.)
import math
TRUE, LINE = 0.001, 0.003
def tail(n, p, k0):
"""P(K >= k0), K ~ Binomial(n, p), by the log-pmf."""
terms = []
for k in range(k0, n + 1):
lp = (math.lgamma(n + 1) - math.lgamma(k + 1)
- math.lgamma(n - k + 1) + k * math.log(p)
+ (n - k) * math.log(1 - p))
if lp < -60 and k > n * p:
break
terms.append(math.exp(lp))
return math.fsum(terms)
print("true rate 0.10%; alarm line 0.30%")
print("per day P(day >= line) P(week >= line) z of line, day")
for v in (300, 1000, 2000, 5000, 20000):
k_day = math.ceil(LINE * v - 1e-9)
k_wk = math.ceil(LINE * 7 * v - 1e-9)
z = (LINE - TRUE) / math.sqrt(TRUE * (1 - TRUE) / v)
print("%7d %14.4f %15.6f %14.2f"
% (v, tail(v, TRUE, k_day), tail(7 * v, TRUE, k_wk), z))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《私域通道防封号速率控制论、令牌桶限流与平台公示上限内的同意制触达吞吐母典》第 5 章「按反馈降速:加性增、乘性减与瓦尔德序贯检验」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-271 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026271,
author = {Fan, Yafu},
title = {Rate Control for Private Messaging Channels without Account Bans: Token-Bucket Shaping, Platform-Published Limits and Consent-Based Reach Throughput},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}