What does Negative Working-Capital Flywheels conclude, in numbers, about “Rupture Probability under Three Shocks and the Ring-Fenced Reserve Ratio”?

Answer: Chapters 4 to 6 use fixed-seed Monte Carlo to show that single shocks rarely break a presale business while stacked shocks do; under illustrative parameters the cautious reserve-ratio red line is 0.474. The share of each deposit that may fund acquisition before delivery is capped at 0.475, with payback counted only in realised margin, and the chapters give trust anchors, the deposit-ratio trade-off and a weekly test for new-pays-old.

Scope of the numbers: Revenues, margins, payment terms, refund rates, acquisition costs and prices are illustrative, and all calculations are generated by the book's programs. Chapters 4 to 6 use fixed-seed Monte Carlo to show that single shocks rarely break a presale business while stacked shocks do; under illustrative parameters the cautious reserve-ratio red line is 0.474.

中文版

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.474

point p <= 0.01rho* = 0.427(p = 0.0100, upper 0.0136)
Wilson upper <= 0.01rho* = 0.474(p = 0.0067, upper 0.0098)
deterministic floor from Chapter 5, (c + d - 1) / d = 0.500
Show the full program
# Chapter 4. p42: the smallest reserve ratio with rupture risk <= 1%.
# Same weekly model and scenarios as p41 (copied so the program stands
# alone): seeds 20261120 + i, 52 weeks, three shocks. Rupture is monotone
# in the reserve ratio path by path, so bisection on rho is exact for the
# simulated sample. Two answers: the point estimate p <= 0.01, and the
# cautious one whose Wilson 95% upper bound is <= 0.01. N = 4,000 paths.
import math
import random

B, D, W, COST, FIX, SIG = 100.0, 0.6, 4, 0.7, 6.0, 0.15
HAZ = {"demand": 0.02, "refund": 0.01, "supplier": 0.01}


def scenario(i, weeks=52):
    rng = random.Random(20261120 + i)
    noise = [rng.lognormvariate(-SIG * SIG / 2, SIG) for _ in range(weeks)]
    hits = {}
    for name in ("demand", "refund", "supplier"):
        for t in range(weeks):
            if rng.random() < HAZ[name]:
                hits[name] = t
                break
    return noise, hits


def ruptured(noise, hits, rho, active=("demand", "refund", "supplier")):
    pipe = [[B, 0.0] for _ in range(W)]           # [value, prepaid share]
    cash = rho * D * W * B
    for t, z in enumerate(noise):
        demand = 0.45 if "demand" in active and t >= hits.get(
            "demand", 99) else 1.0
        pre = 0.5 if "supplier" in active and t >= hits.get(
            "supplier", 99) else 0.0
        n = B * demand * z
        flows = [D * n, -pre * COST * n]
        old = pipe.pop(0)
        flows += [(1 - D) * old[0], -COST * old[0] * (1 - old[1]), -FIX]
        pipe.append([n, pre])
        if "refund" in active and t == hits.get("refund", -1):
            for e in pipe:
                flows.append(-D * 0.30 * e[0])
                e[0] *= 0.70
        cash = math.fsum([cash] + flows)
        if cash < 0:
            return True
        cap = rho * D * math.fsum(e[0] for e in pipe)
        cash = min(cash, cap)
    return False


def wilson_upper(bad, n, z=1.96):
    p = bad / n
    centre = p + z * z / (2 * n)
    half = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n))
    return (centre + half) / (1 + z * z / n)


def count(scen, rho):
    bad = 0
    for noise, hits in scen:
        bad += ruptured(noise, hits, rho)
    return bad


N = 4000
scen = [scenario(i) for i in range(N)]
for label, test in (("point p <= 0.01", lambda b: b / N <= 0.01),
                    ("Wilson upper <= 0.01",
                     lambda b: wilson_upper(b, N) <= 0.01)):
    lo, hi = 0.0, 1.0
    for _ in range(10):
        mid = (lo + hi) / 2
        if test(count(scen, mid)):
            hi = mid
        else:
            lo = mid
    b = count(scen, hi)
    print("%-22s rho* = %.3f  (p = %.4f, upper %.4f)" % (
        label, hi, b / N, wilson_upper(b, N)))
print("deterministic floor from Chapter 5, (c + d - 1) / d = %.3f" % (
    (COST + D - 1) / D))

Single source and citation

Fan, Y. (2026). Negative Working-Capital Flywheels, Upfront Customer Float and Zero-Capital Bootstrap Scaling (Version 1.0.0), Chapter 4: Rupture Probability under Three Shocks and the Ring-Fenced Reserve Ratio. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-365 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026365,
  author    = {Fan, Yafu},
  title     = {Negative Working-Capital Flywheels, Upfront Customer Float and Zero-Capital Bootstrap Scaling},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book