关于「实践与证伪:经营者清单、前端样式库蒸馏件与预注册检验方案」,《专著改编的信息保留代数》给出的定量结论是什么?
结论:第八章给出经营者清单、前端样式库蒸馏件(正文对比度 15.80)与预注册方案。书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。
数据口径:书中参数为示意;全部计算由书中程序生成;本书不是法律意见,也不是个人化的经营或投资建议。 第六章在 40 个制作工时下求出播客、投影片与题库的最优组合,价值 2.0685,不做题库只有 1.4164;事实核对应放在上游;每周 2 次提醒使期望学习次数最高,为 6.2792,过量提醒有害,对脆弱学习者阈值更低;只改编有权改编的书,合成内容必须标识。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 15.80
| card type scale px: [13, 16, 20, 25, 31, 39] | |
| slide type scale px: [28, 35, 44, 55] | |
| spacing px: [4, 8, 12, 16, 24, 32, 48] | |
| pair contrast body AA large AA | |
| text on paper | 15.80 pass pass |
| muted on paper | 6.39 pass pass |
| accent link | 6.50 pass pass |
| correct answer | 5.08 pass pass |
| wrong answer | 5.36 pass pass |
| text on highlight | 14.66 pass pass |
| dark text | 16.02 pass pass |
| pale grey on paper | 2.43 fail fail |
| auto-advance floor, 20 characters | 6.0 s |
| auto-advance floor, 40 characters | 12.0 s |
| auto-advance floor, 60 characters | 18.0 s |
查看完整验算程序
# Chapter 8. p82: design tokens for the compiled study cards and slides.
# Type sizes follow a modular scale (base 16 px for cards, 28 px for
# projected slides, ratio 1.25); spacing is a 4 px grid. Colour pairs are
# checked with the WCAG 2 contrast ratio (L1 + 0.05) / (L2 + 0.05), where
# L is relative luminance from linearised sRGB channels with weights
# 0.2126, 0.7152, 0.0722. Body text needs 4.5 (AA), large text 3.0.
# The auto-advance floor of a card is its length over a slow reading
# speed of 5 characters a second, padded by 1.5. Palette illustrative.
import math
PAIRS = (("text on paper", "#1F2328", "#FFFFFF"),
("muted on paper", "#57606A", "#FFFFFF"),
("accent link", "#0B5FAA", "#FFFFFF"),
("correct answer", "#1A7F37", "#FFFFFF"),
("wrong answer", "#CF222E", "#FFFFFF"),
("text on highlight", "#1F2328", "#FFF8C5"),
("dark text", "#E6EDF3", "#0D1117"),
("pale grey on paper", "#A0A7AF", "#FFFFFF"))
def lum(hexcode):
chans = []
for i in (1, 3, 5):
c = int(hexcode[i:i + 2], 16) / 255.0
chans.append(c / 12.92 if c <= 0.04045
else ((c + 0.055) / 1.055) ** 2.4)
return math.fsum(w * c for w, c in zip((0.2126, 0.7152, 0.0722), chans))
def ratio(a, b):
la, lb = sorted((lum(a), lum(b)), reverse=True)
return (la + 0.05) / (lb + 0.05)
print("card type scale px:", [round(16 * 1.25 ** k) for k in range(-1, 5)])
print("slide type scale px:", [round(28 * 1.25 ** k) for k in range(0, 4)])
print("spacing px:", [4 * k for k in (1, 2, 3, 4, 6, 8, 12)])
print("pair contrast body AA large AA")
for name, fg, bg in PAIRS:
r = ratio(fg, bg)
print("{:19s} {:8.2f} {:7s} {}".format(
name, r, "pass" if r >= 4.5 else "fail",
"pass" if r >= 3.0 else "fail"))
for chars in (20, 40, 60):
print("auto-advance floor, {} characters: {:.1f} s".format(
chars, chars / 5.0 * 1.5))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《一书多吃内容裂变代数:从硬核专著自动编译双人播客、导学投影片与通关题库》第 8 章「实践与证伪:经营者清单、前端样式库蒸馏件与预注册检验方案」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-151 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026151,
author = {Fan, Yafu},
title = {Content Fission Algebra: Compiling Hard-Core Monographs into Two-Host Podcasts, Study Slides and Quiz Banks},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}