What does Blind Boxes, Hidden Variants and Odds Disclosure conclude, in numbers, about “Closing the Loop: an Odds-Disclosure Generator for Lucky-Bag Pages, a Taiwan and Malaysia Checklist and a Pre-Registered Audit”?
Answer: Chapter 8 gives an odds-disclosure generator for lucky-bag pages, the distilled tool Lucky-Bag Odds Discloser, a checklist against the rules of Taiwan and Malaysia, a pre-registered audit (2808 boxes to test 1/144 against 1/288) and the conditions that would overturn the central claim. Marked boxes separate published evidence, runnable Python calculations (23 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; it is general information, not individualised legal or financial advice, and every statute must be checked by a person before listing. Chapter 5 computes a lucky bag's mean, spread and chance of being worth less than its price (0.8280 for the illustrative bag) and the weighting of small chances.
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: 144, 2808, 288
| stated | true | boxes n | reject if x <= | alpha | power |
|---|---|---|---|---|---|
| 1/144 | 1/288 | 2808 | 12 | 0.0482 | 0.8150 |
| 1/144 | 1/216 | 6864 | 36 | 0.0477 | 0.8020 |
| 1/144 | 1/180 | 20256 | 121 | 0.0499 | 0.8029 |
| 1/12 | 1/24 | 216 | 11 | 0.0477 | 0.8072 |
| cases of 12 for the 1/144 vs 1/288 audit: 234 |
Show the full program
# Chapter 8. p82: how many boxes a pre-registered audit must open.
# H0: the hidden rate is the stated 1/144. H1: the true rate is lower.
# One-sided exact binomial test at alpha = 0.05: reject H0 when the count
# of hidden boxes x is at or below the largest c with P0(X <= c) <= 0.05.
# Power = P1(X <= c). Report the least n with power >= 0.80, scanning n
# in steps of 24 boxes (two sealed cases). Alternatives illustrative.
# Context for Chapter 8 (Xiao, Henderson, Yang and Newall, Behavioural
# Public Policy): in 100 top-grossing PRC iPhone games, 91 had loot
# boxes; disclosures could not be found for 0.044 of those, and only
# 0.055 used the most prominent format; 0.905 of 12+ games had them.
import math
def log_pmf(n, k, p):
return (math.lgamma(n + 1) - math.lgamma(k + 1) - math.lgamma(n - k + 1)
+ k * math.log(p) + (n - k) * math.log(1 - p))
def cdf(n, c, p):
return math.fsum(math.exp(log_pmf(n, k, p)) for k in range(c + 1))
def plan(p0, p1, alpha=0.05, power=0.80):
n = 24
while True:
c = -1
while cdf(n, c + 1, p0) <= alpha:
c += 1
if c >= 0 and cdf(n, c, p1) >= power:
return n, c, cdf(n, c, p0), cdf(n, c, p1)
n += 24
print("stated true boxes n reject if x <= alpha power")
for p0, p1, lab in ((1 / 144, 1 / 288, "1/288"), (1 / 144, 1 / 216, "1/216"),
(1 / 144, 1 / 180, "1/180"), (1 / 12, 1 / 24, "1/24 ")):
n, c, a, pw = plan(p0, p1)
s = "1/144" if p0 < 0.01 else "1/12 "
print("{} {} {:6d} {:4d} {:.4f} {:.4f}".format(
s, lab, n, c, a, pw))
print("cases of 12 for the 1/144 vs 1/288 audit: {:.0f}".format(
plan(1 / 144, 1 / 288)[0] / 12))Single source and citation
Fan, Y. (2026). Blind-Box Coupon Collecting, Geometric Waits for Hidden Variants and Odds Disclosure for Lucky Bags (Version 1.0.0), Chapter 8: Closing the Loop: an Odds-Disclosure Generator for Lucky-Bag Pages, a Taiwan and Malaysia Checklist and a Pre-Registered Audit. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-210 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026210,
author = {Fan, Yafu},
title = {Blind-Box Coupon Collecting, Geometric Waits for Hidden Variants and Odds Disclosure for Lucky Bags},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · How Many Boxes for Twelve Designs: Harmonic Numbers, Variance and the Full Distribution
- Chapter 2 · The Hidden Variant at 1/144: Geometric Waits, Quantiles and Guarantees
- Chapter 3 · Collecting under Unequal Odds: Inclusion–Exclusion, a Poissonisation Integral and Tilted Designs
- Chapter 4 · Duplicates, Pooling and Buying the Gaps: the Double Dixie Cup and When to Stop Opening
- Chapter 5 · Expected Value and Spread of a Lucky Bag: Tiers, Convolution and the Weighting of Small Chances
- Chapter 6 · The Seller's Design Choices: Case Packing, Set-Completion Prizes and Two Allocation Rules
- Chapter 7 · Classical Sources East and West: Guanpu in the Dongjing Meng Hua Lu and de Moivre's De Mensura Sortis