What does Retention Algebra for Book Adaptations conclude, in numbers, about “Practice and Falsification: an Owner's Checklist, a Front-End Style Library and a Pre-Registered Testing Plan”?

Answer: Chapter 8 gives an owner's checklist, the distilled front-end style library (body-text contrast 15.80) and a pre-registered plan. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; it is not legal advice and not personalised business or investment advice. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 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 paper15.80 pass pass
muted on paper6.39 pass pass
accent link6.50 pass pass
correct answer5.08 pass pass
wrong answer5.36 pass pass
text on highlight14.66 pass pass
dark text16.02 pass pass
pale grey on paper2.43 fail fail
auto-advance floor, 20 characters6.0 s
auto-advance floor, 40 characters12.0 s
auto-advance floor, 60 characters18.0 s
Show the full program
# 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))

Single source and citation

Fan, Y. (2026). Content Fission Algebra: Compiling Hard-Core Monographs into Two-Host Podcasts, Study Slides and Quiz Banks (Version 1.0.0), Chapter 8: Practice and Falsification: an Owner's Checklist, a Front-End Style Library and a Pre-Registered Testing Plan. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 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}
}

Other chapter answers in this book