What does Packing, Refund Ladders and Depreciation for Studios conclude, in numbers, about “Practice and Falsification: a Checklist for the Principal of a Venue, the Distilled Kit and a Pre-Registered Test”?
Answer: Chapter 8 gives a principal's checklist to run daily, weekly, monthly and quarterly, describes the distilled kit built around the three-in-one quotation calculator together with its colour tokens and a checker for promotional copy, and sets out a pre-registered test protocol. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; the book is not individual tax, legal or investment advice. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.
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
| mode | token | colour | on | contrast | >= 4.5 |
| light | refund-high | #1E6B47 | #FFFFFF | 6.46 | ok |
| light | refund-mid | #7A5200 | #FFFFFF | 6.92 | ok |
| light | refund-low | #A12A1E | #FFFFFF | 7.33 | ok |
| light | text-body | #1B1B1B | #FFFFFF | 17.22 | ok |
| dark | refund-high | #7FD3A9 | #141414 | 10.35 | ok |
| dark | refund-mid | #F0B54A | #141414 | 10.01 | ok |
| dark | refund-low | #FF8F84 | #141414 | 8.35 | ok |
| dark | text-body | #EDEDED | #141414 | 15.74 | ok |
| lowest contrast 6.46 |
Show the full program
# Chapter 8. p83: colour tokens for the refund-ladder table, checked.
# The ladder is shown as a table whose rows are tinted by how much of
# the price comes back. Each text colour is checked against its
# background with the WCAG 2 contrast ratio (L1 + 0.05) / (L2 + 0.05),
# where L is relative luminance of sRGB. Target 4.5 for body text.
# Token values are proposals for a style library, not a brand.
import math
TOKENS = [
("light", "#FFFFFF", "refund-high", "#1E6B47"),
("light", "#FFFFFF", "refund-mid", "#7A5200"),
("light", "#FFFFFF", "refund-low", "#A12A1E"),
("light", "#FFFFFF", "text-body", "#1B1B1B"),
("dark", "#141414", "refund-high", "#7FD3A9"),
("dark", "#141414", "refund-mid", "#F0B54A"),
("dark", "#141414", "refund-low", "#FF8F84"),
("dark", "#141414", "text-body", "#EDEDED"),
]
def lum(hexc):
out = []
for i in (1, 3, 5):
c = int(hexc[i:i + 2], 16) / 255
out.append(c / 12.92 if c <= 0.04045 else
((c + 0.055) / 1.055) ** 2.4)
return math.fsum([0.2126 * out[0], 0.7152 * out[1], 0.0722 * out[2]])
def ratio(a, b):
la, lb = lum(a), lum(b)
hi, lo = max(la, lb), min(la, lb)
return (hi + 0.05) / (lo + 0.05)
print("mode token colour on contrast >= 4.5")
worst = None
for mode, bg, name, fg in TOKENS:
r = ratio(fg, bg)
worst = r if worst is None else min(worst, r)
print("{:5s} {:12s} {} {} {:8.2f} {}".format(
mode, name, fg, bg, r, "ok" if r >= 4.5 else "FAIL"))
print("lowest contrast {:.2f}".format(worst))Single source and citation
Fan, Y. (2026). One-Dimensional Time-Slot Packing for Multi-Format Studio Sets, Dynamic Cancellation-Option Ladders and Accelerated Depreciation of High-Wear Equipment (Version 1.0.0), Chapter 8: Practice and Falsification: a Checklist for the Principal of a Venue, the Distilled Kit and a Pre-Registered Test. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-173 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026173,
author = {Fan, Yafu},
title = {One-Dimensional Time-Slot Packing for Multi-Format Studio Sets, Dynamic Cancellation-Option Ladders and Accelerated Depreciation of High-Wear Equipment},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Time-Slot Packing: the 11/9 Bound of First Fit Decreasing, Exact Dynamic Programming and the Idle Share of Fragmented Calendars
- Chapter 2 · Online Arrivals: Greedy Placement, Littlewood Protection Levels and the Minimum Booking Length
- Chapter 3 · The Cancellation-Option Ladder: Pricing Each Step by the Chance of Resale, Service Escape and Seasonal Dynamic Ladders
- Chapter 4 · Overbooking as a Newsvendor Problem: the Marginal-Booking Rule, the Cost of Compensation and the Trap of Correlated No-Shows
- Chapter 5 · Accelerated Depreciation of High-Wear Equipment: Double Declining Balance, Units of Production, the Present Value of the Tax Shield and Economic Life
- Chapter 6 · Deposits and Damage Waivers: the Incentive-Compatibility Boundary under Moral Hazard and a Three-in-One Quotation Calculator
- Chapter 7 · Classical Sources: the Song Rental Office for State Houses and the Roman Contract of Hire