What does Paid-Ad Scaling for Paywalls conclude, in numbers, about “Classical Sources: the Sunzi on Waging War and Hopkins's Scientific Advertising”?
Answer: Chapter 7 reads the Sunzi on waging war and Hopkins's Scientific Advertising of 1923 and writes the distillation spec for the four kits.
Scope of the numbers: Under illustrative parameters one icebreaker buyer on tarotmalaysia is worth 2.68 times the icebreaker price, and a first-order break-even stop rule captures only 0.222 of the attainable profit across forty synthetic creatives. Parameters are illustrative and 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 only
| CPA | rule | spend (T) | loss (T) | days at RM 300 | loss RM |
| 1 T | W | 50.01 | 0.01 | 4.4 | 0 |
| 1 T | Z | 47.69 | -0.07 | 4.2 | -2 |
| 1 T | S | 11.35 | -0.04 | 1.0 | -1 |
| 2 T | W | 100.07 | 50.07 | 8.8 | 1,327 |
| 2 T | Z | 78.05 | 39.12 | 6.9 | 1,037 |
| 2 T | S | 16.19 | 8.03 | 1.4 | 213 |
| 3 T | W | 149.54 | 99.54 | 13.2 | 2,639 |
| 3 T | Z | 96.19 | 64.24 | 8.5 | 1,703 |
| 3 T | S | 10.61 | 7.07 | 0.9 | 188 |
| 5 T | W | 250.07 | 200.07 | 22.1 | 5,304 |
| 5 T | Z | 113.75 | 90.90 | 10.1 | 2,410 |
| 5 T | S | 8.01 | 6.40 | 0.7 | 170 |
Show the full program
# Chapter 7. p71: "a thousand pieces of gold a day" - the price of a
# long campaign, priced for creatives. Rule W ("wait"): judge a creative
# only after 50 conversions (a folk reading of the platform learning
# phase). Rule S: the sequential test of p32 (alpha 0.05, beta 0.10,
# H1 = 2 T, cap 60 T). Rule Z: stop at 2.996 T with zero conversions
# (p21), otherwise wait. For each true CPA: mean spend before the call,
# the loss above break-even (spend minus conversions valued at T), and
# days at RM 300 a day, T = 26.51 RM. Monte Carlo, fixed seed.
import math
import random
T, DAILY, N_WAIT = 26.51, 300.0, 50
ALPHA, BETA = 0.05, 0.10
A_UP = math.log((1 - BETA) / ALPHA)
B_LO = math.log(BETA / (1 - ALPHA))
JUMP, DRIFT, CAP = math.log(0.5), 0.5, 60.0
def sprt(rate, rng):
s, l, n = 0.0, 0.0, 0
while True:
gap = rng.expovariate(rate)
t_hit = (A_UP - l) / DRIFT
if t_hit <= gap or s + gap >= CAP:
return min(s + t_hit, CAP), n
s += gap
n += 1
l += DRIFT * gap + JUMP
if l <= B_LO:
return s, n
def wait(rate, rng, zero_stop):
s, n = 0.0, 0
while n < N_WAIT:
gap = rng.expovariate(rate)
if zero_stop and n == 0 and gap > 2.996:
return 2.996, 0
s += gap
n += 1
return s, n
if __name__ == "__main__":
rng = random.Random(20261120)
print(" CPA rule spend (T) loss (T) days at RM 300 loss RM")
for k in (1.0, 2.0, 3.0, 5.0):
for name in ("W", "Z", "S"):
sp, ls = [], []
for _ in range(4000):
if name == "S":
s, n = sprt(1.0 / k, rng)
else:
s, n = wait(1.0 / k, rng, name == "Z")
sp.append(s)
ls.append(s - n)
ms, ml = math.fsum(sp) / 4000, math.fsum(ls) / 4000
print(" {:>3.0f} T {} {:>9.2f} {:>9.2f} {:>14.1f}"
" {:>7,.0f}".format(k, name, ms, ml, ms * T / DAILY,
ml * T))Single source and citation
Fan, Y. (2026). Paid-Ad Scaling for Diagnostic Paywalls: Meta and TikTok Stopping Rules, Server-Side CAPI Calibration and Hundred-Order Daily Unit Economics (Version 1.0.0), Chapter 7: Classical Sources: the Sunzi on Waging War and Hopkins's Scientific Advertising. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-345 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026345,
author = {Fan, Yafu},
title = {Paid-Ad Scaling for Diagnostic Paywalls: Meta and TikTok Stopping Rules, Server-Side CAPI Calibration and Hundred-Order Daily Unit Economics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Funnel Unit Economics: Why First-Order Break-Even Is Not a Stop Line
- Chapter 2 · Stopping at Zero: the Rule of Three, Gamma-Poisson Posteriors and Spend Red Lines
- Chapter 3 · Signal, Noise and Sequential Tests: Small Budgets Can Only Call "Clearly Bad"
- Chapter 4 · Many Creatives on a Small Budget: Thompson Sampling, Even Splits and Screening Speed
- Chapter 5 · Calibrating Server-Side Events: Deduplication, Net-Value Signals and the Report Inflation Factor
- Chapter 6 · Control Laws for Scaling: Saturation, Carry-Over and Marginal Returns
- Chapter 8 · Closing the Loop: a Three-Site Ad Ledger, the Distilled Tool and a Pre-Registered Refutation