What does Heavyweight Cotton, Print Durability and Micro-Batch Economics conclude, in numbers, about “The Empirical Loop: Batch Records, Pre-Registered Tests and the Distillation Spec”?
Answer: Chapter 8 gives the batch record, the distilled Micro-Batch Break-Even and Wash-Durability Calculator, interval-censored life estimation and three pre-registered tests. Marked boxes separate published evidence, runnable calculations (20 programs), sources and the author's hypotheses, each stating what would refute it.
Scope of the numbers: Marked boxes separate published evidence, runnable calculations (20 programs), sources and the author's hypotheses, each stating what would refute it.
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
| fabric | 297 GSM, c = 2.71 cm, G = 591.1 mg.cm |
| shrink fit: relaxation 3.95, consolidation 2.83, limit 6.78 % | |
| cut body 76.84 cm for 72 cm after 5 cycles; 71.63 cm at limit | |
| B10 40C inside out, flat | 33.6 cycles (film 80 um) |
| B10 40C tumble | 16.8 cycles (film 80 um) |
| B10 40C out + tumble | 11.2 cycles (film 80 um) |
| bulk: order 61, expected profit 1417.6 | |
| on demand: expected profit 1878.0 -> on demand | |
| break-even CV at mean 40 | 0.392 (forecast CV 0.8) |
| label | 40C or below, inside out, dry flat; B10 forecast 33.6 |
Show the full program
# Chapter 8. p81: one batch record run through the book's formulas.
# Illustrative record: measured 297 GSM, bending length 2.71 cm; wash
# test (five tumble cycles, ISO 6330 / ISO 5077 procedures named only by
# number): length change 4.4 % after cycle 1, 6.3 % after cycle 5;
# film 80 um; price 89; forecast 40 pieces with CV 0.8 from past designs.
# Steps: Peirce G (p11); two-stage fit with r = 0.10, q = 0.70 fixed
# (p31) and exact pattern cut (p32); B10 by care (p42, p51); bulk versus
# on demand with negative-binomial demand (p62). The distilled tool.py
# prints exactly this sheet when run without arguments.
import math
GSM, CBEND, S1, S5, FILM = 297, 2.71, 4.4, 6.3, 80
PRICE, CB, V, KB, COD, KOD, ALPHA = 89.0, 22.0, 5.0, 400.0, 38.0, 60.0, 0.05
MU, CV, BODY = 40.0, 0.8, 72.0
G = GSM / 10.0 * CBEND ** 3
a1, b1 = 1 - 0.10, 1 - 0.70
a5, b5 = 1 - 0.10 ** 5, 1 - 0.70 ** 5
P = (S5 - S1 * a5 / a1) / (b5 - b1 * a5 / a1)
R = (S1 - P * b1) / a1
cut = BODY / (1 - S5 / 100)
print("fabric: %d GSM, c = %.2f cm, G = %.1f mg.cm" % (GSM, CBEND, G))
print("shrink fit: relaxation %.2f, consolidation %.2f, limit %.2f %%" % (
R, P, R + P))
print("cut body %.2f cm for %.0f cm after 5 cycles; %.2f cm at limit" % (
cut, BODY, cut * (1 - (R + P) / 100)))
K10 = (-math.log(0.9)) ** (1 / 2.5)
G_REF, T_REF = 331.8 * 9.81e-6, 0.80e-3 # p51 reference cloth
def added(h_um, g, t):
h = h_um * 1e-6
return (30e6 * h ** 3 / 12 + 30e6 * h * (t / 2 + h / 2) ** 2) / g
def b10(h_um, factor):
d80 = added(80, G_REF, T_REF)
d = added(h_um, G * 9.81e-6, T_REF * GSM / 240)
eta_w = 90.0 * (h_um / 80.0) ** 1.5 / factor
eta_p = 110.0 * (d80 / d) ** 2 / factor
return (eta_w ** -2.5 + eta_p ** -2.5) ** (-1 / 2.5) * K10
for name, f in (("40C inside out, flat", 1.0), ("40C tumble", 2.0),
("40C out + tumble", 3.0)):
print("B10 %-22s %5.1f cycles (film %d um)" % (name, b10(FILM, f), FILM))
def pmf(mu, cv):
r = 1.0 / (cv * cv - 1.0 / mu)
q = r / (r + mu)
out, pk, k = [], q ** r, 0
while k < 2 * mu + 50 or pk > 1e-13:
out.append(pk)
pk *= (k + r) / (k + 1) * (1 - q)
k += 1
return out
def bulk(mu, cv):
f = pmf(mu, cv)
cf = (PRICE - CB) / (PRICE - V)
lo, hi = 0, len(f) - 1
while lo < hi:
mid = (lo + hi) // 2
if math.fsum(f[:mid + 1]) >= cf:
hi = mid
else:
lo = mid + 1
sold = math.fsum(min(k, lo) * p for k, p in enumerate(f))
left = math.fsum(max(lo - k, 0) * p for k, p in enumerate(f))
return lo, PRICE * sold + V * left - CB * lo - KB
q, pb = bulk(MU, CV)
pod = (PRICE - COD) * (1 - ALPHA) * MU - KOD
print("bulk: order %d, expected profit %.1f" % (q, pb))
print("on demand: expected profit %.1f -> %s" % (
pod, "on demand" if pod > pb else "bulk run"))
lo, hi = 1.0 / math.sqrt(MU) + 1e-6, 3.0
for _ in range(50):
mid = (lo + hi) / 2
if bulk(MU, mid)[1] > pod:
lo = mid
else:
hi = mid
print("break-even CV at mean %.0f: %.3f (forecast CV %.1f)" % (
MU, (lo + hi) / 2, CV))
print("label: 40C or below, inside out, dry flat; B10 forecast %.1f" % (
b10(FILM, 1.0)))Single source and citation
Fan, Y. (2026). Heavyweight Cotton Areal-Density Mechanics, Heat-Transfer Coating Wash-Cycle Durability and Micro-Batch Custom Apparel Economics (Version 1.0.0), Chapter 8: The Empirical Loop: Batch Records, Pre-Registered Tests and the Distillation Spec. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-337 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026337,
author = {Fan, Yafu},
title = {Heavyweight Cotton Areal-Density Mechanics, Heat-Transfer Coating Wash-Cycle Durability and Micro-Batch Custom Apparel Economics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Areal Density and Bending Rigidity: Peirce's Cantilever and the Limits of the Cube Law
- Chapter 2 · Stand and Drape: Why the Drape Coefficient Lags Behind Rigidity
- Chapter 3 · Shrinkage in Two Stages: Relaxation, Consolidation and the Design of Preshrinking
- Chapter 4 · A Little Damage per Wash: Cumulative Damage and Life Distributions of Heat-Transfer Film
- Chapter 5 · Does a Thicker Film Wash Better? Two Failure Modes and an Interior Optimum in Film Thickness
- Chapter 6 · Does a Bigger Run Make More Money? The Newsvendor Fractile and the Break-Even of Zero Inventory
- Chapter 7 · Reading the Sources: Song Yingxing's "Clothing" and Book I, Chapter III of The Wealth of Nations