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

CPArulespend (T)loss (T)days at RM 300loss RM
1 TW50.010.014.40
1 TZ47.69-0.074.2-2
1 TS11.35-0.041.0-1
2 TW100.0750.078.81,327
2 TZ78.0539.126.91,037
2 TS16.198.031.4213
3 TW149.5499.5413.22,639
3 TZ96.1964.248.51,703
3 TS10.617.070.9188
5 TW250.07200.0722.15,304
5 TZ113.7590.9010.12,410
5 TS8.016.400.7170
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