What does Pocket Command of Container Fleets conclude, in numbers, about “Base Rates: the More Pushes, the Less Credible Each One”?

Answer: Chapter 1 uses Bayes' rule to show that with some nine thousand checks a day, a base rate of 0.0005 and a false-alarm rate of 0.001, a push is genuine with probability only 0.3312; once alarm response is modelled, the share of real faults acted on at the best threshold is 0.807.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; the book offers non-personalised operating guidance, promises no availability figure, and was written without connecting to any machine. 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 onlyprinted values that match the answer: 0.0005, 0.001, 0.3312

evaluations per day: 9,216
base rateFPRPPVfalse/daytrue/day
0.010.010.500091.2491.24
0.010.0010.90919.1291.24
0.010.00010.99010.9191.24
0.0010.010.090292.079.12
0.0010.0010.49779.219.12
0.0010.00010.90830.929.12
0.00050.010.047292.114.56
0.00050.0010.33129.214.56
0.00050.00010.83200.924.56
0.00010.010.009892.150.91
0.00010.0010.09019.220.91
0.00010.00010.49750.920.91
FPR needed for PPV >= 0.5 (TPR 0.99):
base rate 0.001-> FPR <= 0.000991
base rate 0.0005-> FPR <= 0.000495
base rate 0.0001-> FPR <= 0.000099
Show the full program
# Chapter 1. p11: positive predictive value of a push under low base rates
# Bayes' rule for one alert check: PPV = TPR*b / (TPR*b + FPR*(1-b)).
# The fleet size and check cadence are illustrative: 24 containers,
# 4 metrics each, one evaluation every 15 minutes (96 per day).
import math

CONTAINERS, METRICS, PER_DAY = 24, 4, 96
EVALS = CONTAINERS * METRICS * PER_DAY
TPR = 0.99


def ppv(b, fpr, tpr=TPR):
    hit = tpr * b
    return hit / math.fsum([hit, fpr * (1.0 - b)])


def false_pushes(b, fpr):
    return EVALS * fpr * (1.0 - b)


print("evaluations per day: {:,}".format(EVALS))
print("base rate   FPR      PPV     false/day  true/day")
for b in (0.01, 0.001, 0.0005, 0.0001):
    for fpr in (0.01, 0.001, 0.0001):
        print("{:<10} {:<8} {:.4f}  {:>8.2f}  {:>7.2f}".format(
            b, fpr, ppv(b, fpr), false_pushes(b, fpr), EVALS * b * TPR))
print("FPR needed for PPV >= 0.5 (TPR 0.99):")
for b in (0.001, 0.0005, 0.0001):
    need = TPR * b / (1.0 - b)
    print("  base rate {:<7} -> FPR <= {:.6f}".format(b, need))

Single source and citation

Fan, Y. (2026). Pocket Command of Multi-Container Fleets: Mobile Remote Control, Exception-Only Push Filtering and Away-From-Keyboard Continuity (Version 1.0.0), Chapter 1: Base Rates: the More Pushes, the Less Credible Each One. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-416 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026416,
  author    = {Fan, Yafu},
  title     = {Pocket Command of Multi-Container Fleets: Mobile Remote Control, Exception-Only Push Filtering and Away-From-Keyboard Continuity},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book