What does Live Locks, Bank Matching and Styling CRM conclude, in numbers, about “Practice: One Year of Live Sessions and One Test Protocol”?
Answer: Chapter 8 puts these into a year's ledger and one test protocol. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its customers, delays, rates and parameters are illustrative models; all calculations are generated by its programs; the book is not legal, financial, banking or data-protection advice. Marked boxes separate published evidence, runnable Python calculations (16 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.
| shop | missed | idle | checking | returning | total | blocked |
|---|---|---|---|---|---|---|
| A | 519000 | 2754 | 56800 | 5116000 | 4537446 | 2308 |
| B | 0 | 3060 | 6000 | 6688000 | 6678940 | 849 |
Show the full program
# Chapter 8. p15: One year of live sessions, as a ledger. 100 sessions
# a year, 6 scarce pieces each, 5000 margin per piece; a piece bought
# but never paid for is resold at a loss of 5100. Shop A waits 15
# minutes for payment (missed 0.1730, idle 0.0009, p02), matches by
# exact key (85.2 minutes a session, p08) and blasts its pool (1279
# extra returning purchases, 2308 blocked, p11). Shop B buys on the
# lock (missed 0, idle 0.0010), matches with Bayes and unique offsets
# (9.0 minutes) and targets twice a month (1672 extra, 849 blocked).
# A returning purchase earns 4000; an hour of checking costs 400.
# Inputs are the illustrative outputs named; no sampling.
SHOPS = {"A": (0.1730, 0.0009, 85.2, 1279, 2308),
"B": (0.0, 0.0010, 9.0, 1672, 849)}
if __name__ == "__main__":
print(" shop missed idle checking returning total"
" blocked")
for k, (miss, idle, mins, extra, blk) in SHOPS.items():
pieces = 100 * 6
lost = pieces * miss * 5000
idle_loss = pieces * idle * 5100
check = 100 * mins / 60 * 400
ret = extra * 4000
tot = ret - lost - idle_loss - check
print(" {:4s} {:7.0f} {:7.0f} {:8.0f} {:9.0f} {:7.0f}"
" {:7d}".format(k, lost, idle_loss, check, ret, tot, blk))Single source and citation
Fan, Y. (2026). Live-Shopping Flash Inventory Locks, Bayesian Bank-Feed Reconciliation and Personalized Styling CRM (Version 1.0.0), Chapter 8: Practice: One Year of Live Sessions and One Test Protocol. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-112 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026112,
author = {Fan, Yafu},
title = {Live-Shopping Flash Inventory Locks, Bayesian Bank-Feed Reconciliation and Personalized Styling CRM},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Locks on a Live Shelf: How Long to Hold a Piece
- Chapter 2 · The Cascade in Closed Form, and Who Goes First
- Chapter 3 · The Same Five Digits Twice: Collisions, Masks and Offsets
- Chapter 4 · Matching Rows to Orders: Likelihoods and the Hungarian Method
- Chapter 5 · A Hybrid Recommender: Taste in Shapes and Colours People Name
- Chapter 6 · Waking the Pool: Blasts, Targets and the Right Day
- Chapter 7 · Permits, Secret Codes and Record Linkage