What does Community Topology Checkup conclude, in numbers, about “Closing the Empirical Loop: the Community Topology Checkup, Human Review and a Pre-Registered Test”?
Answer: Chapter 8 gives the monthly checkup procedure, the Community Topology Checkup tool and a pre-registered test plan (41 audited communities per group, 93 reviewed list entries). Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.
Scope of the numbers: Every community and member in the book is synthetic data with fixed seeds, and no data from any real community or person is used; all calculations are generated by its programs, and its parameters are illustrative. The book is not individual business advice, and its "detection of paid boosters" produces only a list of suspects for human review, never an automatic penalty for any member.
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: 41, 93
| z(0.975) = 1.9600, z(0.80) = 0.8416 | ||
| AUC H0 | AUC H1 | communities per group |
| 0.70 | 0.85 | 41 |
| 0.70 | 0.80 | 98 |
| 0.60 | 0.80 | 28 |
| 0.50 | 0.75 | 20 |
| flagged accounts to audit: 93 (half-width 0.0996) |
Show the full program
# Chapter 8. p82: Sample sizes for the pre-registered test.
# Primary endpoint: AUC of L3 for telling audited genuine communities
# from audited padded ones. H0: AUC = 0.70 (a generous bar for any
# activity metric); H1: AUC = 0.85. One-sided alpha 0.025, power 0.80,
# equal groups, Hanley and McNeil (1982) variance. Second: how many
# flagged accounts to audit so that a Wilson 95 % interval for the
# precision of the list has half-width <= 0.10 at the worst case 0.5.
import math
from statistics import NormalDist
Z = NormalDist()
def var_auc(a, n):
q1, q2 = a / (2.0 - a), 2.0 * a * a / (1.0 + a)
return (a * (1 - a) + (n - 1) * (q1 - a * a)
+ (n - 1) * (q2 - a * a)) / (n * n)
za, zb = Z.inv_cdf(0.975), Z.inv_cdf(0.80)
print("z(0.975) = %.4f, z(0.80) = %.4f" % (za, zb))
print("AUC H0 AUC H1 communities per group")
for a0, a1 in ((0.70, 0.85), (0.70, 0.80), (0.60, 0.80), (0.50, 0.75)):
n = 5
while (za * math.sqrt(var_auc(a0, n)) + zb * math.sqrt(var_auc(a1, n))
> a1 - a0):
n += 1
print(" %.2f %.2f %d" % (a0, a1, n))
p = 0.5
for m in range(10, 400):
c = 1 + za * za / m
half = za * math.sqrt(p * (1 - p) / m + za * za / (4 * m * m)) / c
if half <= 0.10:
print("flagged accounts to audit: %d (half-width %.4f)"
% (m, half))
breakSingle source and citation
Fan, Y. (2026). Persistent Homology and Betti Numbers: Structural Voids in High-Net-Worth Private Communities and the Review of Fake Cliques (Version 1.0.0), Chapter 8: Closing the Empirical Loop: the Community Topology Checkup, Human Review and a Pre-Registered Test. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-236 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026236,
author = {Fan, Yafu},
title = {Persistent Homology and Betti Numbers: Structural Voids in High-Net-Worth Private Communities and the Review of Fake Cliques},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Activity Is Not a Loop: Triangle Closure, Transitivity and Blocks of Mutual Boosting
- Chapter 2 · Persistent Homology: the Rips Filtration, Union-Find for Dimension Zero and Reduction Mod 2 for Dimension One
- Chapter 3 · Distance Comes Before Topology: Jaccard Distance, the Gap Between Classes and the Stability of Barcodes
- Chapter 4 · How Long Is Long: a Permutation Null Model, an Alarm Line and the Dose-Response of Community Size
- Chapter 5 · The Review List: Short Zero-Dimensional Bars, Camouflage and Base Rates
- Chapter 6 · The Monthly Checkup: a Barcode Time Series of Hollowing, and the Cost of Computation
- Chapter 7 · Eastern and Western Classics Examined: "Broad, Not Partisan" and Euler's Polyhedron Formula