What does First-Minute Onboarding and Stickiness conclude, in numbers, about “The Ethical Ceiling of Variable Reinforcement: Frequency Caps, One-Tap Off Switches and Dark-Pattern Counter-Examples”?
Answer: Variable reinforcement works through prediction error. In the illustrative model the error when a reward arrives is 0.000 under a fixed ratio and 0.791 under a variable ratio, and after rewards stop the first learner gives up after 5 misses while the second needs 12. This force may be used only on real diversity of content. The second daily notification buys only 0.96 active days in the model while driving away 654 more members per ten thousand, so the book caps notifications at one a day. The eight dark-pattern rules serve only as counter-examples, and any hit is red.
Scope of the numbers: Enlarging a tap target from 24 to 44 pixels lowers the illustrative miss rate from 0.0865 to 0.0017. Parameters are illustrative and correspond to no real user or sale; all calculations are generated by the book's programs.
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: 0.000, 0.791, 12
| schedule | V[0..5] | |PE| at reward | quits after |
| FR5 | 0.00 0.00 0.00 0.00 1.00 0.00 | 0.000 | 5 misses |
| VR5 | 0.14 0.21 0.17 0.27 0.12 0.15 | 0.791 | 12 misses |
| closed form for VR5: 0.8^k < 0.05 first at k = 14 |
Show the full program
# Chapter 5. p51: fixed versus variable ratio, prediction error and
# persistence after rewards stop. A learner keeps a value V[s] for each
# state s = visits since the last reward (capped at 9) and updates
# V[s] += 0.1 (r - V[s]) on each visit (Rescorla-Wagner form). FR5 pays
# every 5th visit; VR5 pays each visit with probability 0.2 (fixed seed).
# Persistence: when rewards stop, the learner quits once a run of misses
# has probability below 0.05 under the schedule it has learned.
# A behavioural analogy only; the parameters are illustrative.
import math
import random
rng = random.Random(379051)
ALPHA, CAP = 0.1, 9
def learn(kind, visits=3000):
v = [0.0] * (CAP + 1)
s, errs = 0, []
for t in range(visits):
if kind == "FR5":
r = 1.0 if s == 4 else 0.0
else:
r = 1.0 if rng.random() < 0.2 else 0.0
d = r - v[s]
v[s] += ALPHA * d
if r == 1.0 and t >= 1000:
errs.append(abs(d))
s = 0 if r == 1.0 else min(s + 1, CAP)
return v, math.fsum(errs) / len(errs)
def misses_before_quit(v):
# probability of k straight misses from s = 0, using learned V[s]
run, k = 1.0, 0
while run >= 0.05:
p_hit = min(max(v[min(k, CAP)], 0.0), 1.0)
run *= 1.0 - p_hit
k += 1
if k > 200:
break
return k
if __name__ == "__main__":
print("schedule V[0..5] |PE| at reward"
" quits after")
for kind in ("FR5", "VR5"):
v, pe = learn(kind)
vals = " ".join("{:.2f}".format(x) for x in v[:6])
print(" {} {} {:.3f} {} misses".format(
kind, vals, pe, misses_before_quit(v)))
k = 0
while 0.8 ** k >= 0.05:
k += 1
print("closed form for VR5: 0.8^k < 0.05 first at k = {}".format(k))Single source and citation
Fan, Y. (2026). Zero-Friction First-Minute Onboarding, Micro-Interaction Habit Loops and High-Stickiness Interface Engineering (Version 1.0.0), Chapter 5: The Ethical Ceiling of Variable Reinforcement: Frequency Caps, One-Tap Off Switches and Dark-Pattern Counter-Examples. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-379 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026379,
author = {Fan, Yafu},
title = {Zero-Friction First-Minute Onboarding, Micro-Interaction Habit Loops and High-Stickiness Interface Engineering},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The First-Minute Funnel: a Registration Wall Puts Friction Before Value
- Chapter 2 · Feedback Within a Hundred Milliseconds: Latency Thresholds Beat Lavish Effects
- Chapter 3 · Tapping and Choosing: Fitts' Law, Hick's Law and the Tappable Elements of the First Screen
- Chapter 4 · Suspense and Ratchets: Endowed Progress, the Goal Gradient and Personal Assets
- Chapter 6 · The DAU/MAU Retention Equation: Visit-Frequency Distributions and the sBG Retention Curve
- Chapter 7 · Source Criticism: the Laozi, the Xunzi, Aristotle and William James on Beginnings and Habit
- Chapter 8 · Field Tools and Checker Specifications: the First-Minute and Stickiness Ledger, the Calculator and a Pre-registered Test