5D Library › HPA-Axis Coupled Oscillations, Cortisol Awakening Response Flattening and Burnout Recovery Kinetics · 中文
Chapter 8. The Month, and the Gate
Which days matter
The plan of Chapter 6 assumes that the load is removed every day and the light is taken every day. Nobody manages that, and the two failures are not equivalent: a day on which the load returns undoes receptor progress, while a day on which the light is missed merely leaves the phase where it was.
Calculation
# Chapter 8. p15: The thirty days, with a real person in them. The plan
# of p12 assumes the load is removed and the light is taken every day.
# Nobody does that. Here each day the load is removed with one chance
# and the light is taken with another, and the two failures cost
# different things: a day of load undoes receptor progress, and a missed
# light day leaves the phase where it was. Four thousand people, thirty
# days, seed 97.
import random
SEED, PEOPLE, DAYS = 97, 4000, 30
P_UNLOAD, P_LIGHT = 0.70, 0.80
SYNTH, BASAL, EXTRA = 1.0, 1.0 / 28.0, 3.0 / 28.0
C_ON, C_OFF = 2.5, 1.0
SHIFT, START_PHASE = 0.3515, 3.0
def occupancy(c):
return c / (1.0 + c)
def steady(c):
return SYNTH / (BASAL + EXTRA * occupancy(c))
def step(r, c):
return r + (steady(c) - r) * (BASAL + EXTRA * occupancy(c))
def settled():
r = steady(C_OFF)
for d in range(399): # ends on a Sunday, as in p09
r = step(r, C_ON if (d % 7) < 5 else C_OFF)
return r
def one(rng, start, full):
r, phase = start, START_PHASE
for _ in range(DAYS):
r = step(r, C_OFF if rng.random() < P_UNLOAD else C_ON)
if rng.random() < P_LIGHT:
phase = max(0.0, phase - SHIFT)
return r / full, phase
def q(v, a):
s = sorted(v)
return s[int(a * (len(s) - 1))]
if __name__ == "__main__":
full = steady(C_OFF)
start = settled()
rng = random.Random(SEED)
dens, phases = [], []
for _ in range(PEOPLE):
d, p = one(rng, start, full)
dens.append(d)
phases.append(p)
print(" starting density {:.4f} of rested, phase error {:.2f} hours"
.format(start / full, START_PHASE))
print(" load removed with chance {:.2f}, light taken with {:.2f}"
.format(P_UNLOAD, P_LIGHT))
print(" after {} days, density as a share of rested:".format(DAYS))
print(" median {:.4f}, 10% to 90% {:.4f} to {:.4f}"
.format(q(dens, 0.5), q(dens, 0.1), q(dens, 0.9)))
print(" phase error left: median {:.3f}, 10% to 90% {:.3f} to {:.3f}"
.format(q(phases, 0.5), q(phases, 0.1), q(phases, 0.9)))
perfect = start
for _ in range(DAYS):
perfect = step(perfect, C_OFF)
print(" a perfect month would reach {:.4f}".format(perfect / full))
print(" so imperfect adherence gives up {:.4f} of the gap"
.format(1.0 - (q(dens, 0.5) - start / full)
/ (perfect / full - start / full)))
print(" share of people who end below where they started: {:.4f}"
.format(sum(1 for d in dens if d < start / full) / PEOPLE))
print(" share whose phase is still over an hour out: {:.4f}"
.format(sum(1 for p in phases if p > 1.0) / PEOPLE))
print(" the same month with the load removed every day and the")
print(" light taken four days in five:")
rng2 = random.Random(SEED + 1)
d2 = []
for _ in range(PEOPLE):
r = start
for _ in range(DAYS):
r = step(r, C_OFF)
d2.append(r / full)
print(" median density {:.4f}, against {:.4f} above"
.format(q(d2, 0.5), q(dens, 0.5)))
print(" so the days of load matter more than the days of light,")
print(" which is the opposite of how the two are usually sold")
# starting density 0.8598 of rested, phase error 3.00 hours
# load removed with chance 0.70, light taken with 0.80
# after 30 days, density as a share of rested:
# median 0.9255, 10% to 90% 0.8954 to 0.9539
# phase error left: median 0.000, 10% to 90% 0.000 to 0.000
# a perfect month would reach 0.9915
# so imperfect adherence gives up 0.5014 of the gap
# share of people who end below where they started: 0.0030
# share whose phase is still over an hour out: 0.0000
# the same month with the load removed every day and the
# light taken four days in five:
# median density 0.9915, against 0.9255 above
# so the days of load matter more than the days of light,
# which is the opposite of how the two are usually soldWith the load removed on 0.70 of days and the light taken on 0.80, the month ends with a median density of 0.9255 of rested, against 0.9915 for a perfect month, so imperfect adherence gives up 0.5014 of the gap. Almost nobody ends worse than they started, at 0.0030, and the phase is fixed in essentially everyone, with a median error of 0.000 hours. Removing the load every day while still missing the light one day in five reaches 0.9915.
The asymmetry is the whole message. The light is forgiving because its effect accumulates and a missed day costs only that day’s shift; the load is not, because a day of load pushes the slow variable back. So the days of load matter more than the days of light, which is the opposite of how the two are usually sold: the lamp is the purchasable part and the leave is not.
Hypothesis · not established
The author’s interpretation (not yet tested): in interventions that combine light timing with workload reduction, the measured benefit will track adherence to the workload component and be nearly independent of adherence to the light component, so trials that monitor only the light will find weak and inconsistent effects. What would show it wrong: if a trial measuring adherence to both components found the light adherence to be the stronger predictor of outcome, the asymmetry computed here would not hold.
The page that should have come first
Everything above assumes the reader is someone for whom this is a question of recovery rather than a question of diagnosis. For many readers that assumption is wrong, and the consequences of getting it wrong are not symmetrical.
Two things have to be said plainly. First, the state the model reaches in Chapter 4, a low cortisol with a raised corticotropin, is the laboratory picture of primary adrenal insufficiency. Bornstein and colleagues’ clinical practice guideline sets out how that condition is diagnosed and treated, and it is treated with hormone replacement, not with a protocol (Bornstein et al. 2016). Untreated, it kills. Second, the label under which this book’s subject is usually sold does not survive examination: Cadegiani and Kater’s systematic review of the studies claiming to establish “adrenal fatigue” found the methods inadequate and the construct unsupported (Cadegiani and Kater 2016). The mechanisms in Chapters 1 to 6 are real; the diagnosis is not one.
Evidence
Published. Bornstein and colleagues’ Endocrine Society guideline covers the diagnosis and treatment of primary adrenal insufficiency, which is treated by replacement (Bornstein et al. 2016). Cadegiani and Kater’s systematic review examined the studies offered in support of “adrenal fatigue” and found the construct unsupported by the evidence (Cadegiani and Kater 2016).
Calculation
# Chapter 8. p16: The one page that must come first. The end state of
# p07, a low cortisol with a high central output, is also what primary
# adrenal failure looks like, and that is a condition people die of. So
# a flat profile is not a result a reader may interpret; it is a reason
# to be tested. The prevalences below are rounded from published figures
# and applied independently, which overstates how many people carry
# exactly one flag. The point of the table is the list of pairs, not the
# total. Twenty thousand synthetic adults, seed 97.
import random
SEED, N = 97, 20000
STOP = (
("on a glucocorticoid now", 0.0250,
"the axis is already suppressed; stopping can kill"),
("stopped one in the last year", 0.0300,
"the axis may not have recovered yet"),
("known adrenal insufficiency", 0.0012,
"needs replacement, not a protocol"),
("known Cushing syndrome", 0.0004,
"needs a surgeon, not a protocol"),
("bipolar disorder", 0.0200,
"bright morning light can precipitate mania"),
("a retinal disease", 0.0150,
"bright light therapy needs an eye assessment"),
("pregnant or breastfeeding", 0.0300,
"the axis is altered and the evidence does not transfer"),
)
CARE = (
("treated hypothyroidism", 0.0700,
"the symptoms overlap and the tests interact"),
("obstructive sleep apnoea", 0.0900,
"a flat profile may be the apnoea, not the axis"),
("a shift worker", 0.1700,
"the light protocol has to be inverted, not copied"),
("an antidepressant", 0.1100,
"sleep timing and the axis both move"),
("type 2 diabetes", 0.0700,
"cortisol changes move glucose"),
("treated hypertension", 0.2600,
"salt and fluid advice is not neutral"),
("a benzodiazepine or Z drug", 0.0400,
"withdrawal mimics every symptom in this book"),
)
if __name__ == "__main__":
rng = random.Random(SEED)
stop_n = care_n = clear_n = multi = 0
sc = [0] * len(STOP)
cc = [0] * len(CARE)
for _ in range(N):
s = [rng.random() < p for _, p, _ in STOP]
c = [rng.random() < p for _, p, _ in CARE]
for i, v in enumerate(s):
sc[i] += v
for i, v in enumerate(c):
cc[i] += v
if any(s):
stop_n += 1
if sum(s) > 1:
multi += 1
elif any(c):
care_n += 1
else:
clear_n += 1
print(" {} synthetic adults".format(N))
print(" do not attempt this without a doctor:")
for (name, p, why), k in zip(STOP, sc):
print(" {:<30}{:.4f}".format(name, k / N))
print(" {}".format(why))
print(" see a doctor first, then it may be possible:")
for (name, p, why), k in zip(CARE, cc):
print(" {:<30}{:.4f}".format(name, k / N))
print(" {}".format(why))
print(" carrying at least one absolute flag: {:.4f}"
.format(stop_n / N))
print(" of those, with more than one: {:.4f}".format(multi / stop_n))
print(" needing a doctor first but not barred: {:.4f}"
.format(care_n / N))
print(" free to follow the plan unsupervised: {:.4f}"
.format(clear_n / N))
print(" so the gate stops or refers {:.4f} of adults"
.format((stop_n + care_n) / N))
print(" the commonest reason to see a doctor first is treated")
print(" hypertension at {:.4f}, and the commonest absolute flag is"
.format(cc[5] / N))
worst = max(range(len(STOP)), key=lambda i: sc[i])
print(" {} at {:.4f}".format(STOP[worst][0], sc[worst] / N))
print(" adrenal insufficiency is rare, at {:.4f}, and that is"
.format(sc[2] / N))
print(" exactly why a flat profile must be tested rather than")
print(" assumed: the rare cause is the dangerous one")
# 20000 synthetic adults
# do not attempt this without a doctor:
# on a glucocorticoid now 0.0246
# the axis is already suppressed; stopping can kill
# stopped one in the last year 0.0302
# the axis may not have recovered yet
# known adrenal insufficiency 0.0010
# needs replacement, not a protocol
# known Cushing syndrome 0.0003
# needs a surgeon, not a protocol
# bipolar disorder 0.0196
# bright morning light can precipitate mania
# a retinal disease 0.0138
# bright light therapy needs an eye assessment
# pregnant or breastfeeding 0.0291
# the axis is altered and the evidence does not transfer
# see a doctor first, then it may be possible:
# treated hypothyroidism 0.0716
# the symptoms overlap and the tests interact
# obstructive sleep apnoea 0.0886
# a flat profile may be the apnoea, not the axis
# a shift worker 0.1705
# the light protocol has to be inverted, not copied
# an antidepressant 0.1088
# sleep timing and the axis both move
# type 2 diabetes 0.0694
# cortisol changes move glucose
# treated hypertension 0.2564
# salt and fluid advice is not neutral
# a benzodiazepine or Z drug 0.0396
# withdrawal mimics every symptom in this book
# carrying at least one absolute flag: 0.1131
# of those, with more than one: 0.0486
# needing a doctor first but not barred: 0.5184
# free to follow the plan unsupervised: 0.3684
# so the gate stops or refers 0.6315 of adults
# the commonest reason to see a doctor first is treated
# hypertension at 0.2564, and the commonest absolute flag is
# stopped one in the last year at 0.0302
# adrenal insufficiency is rare, at 0.0010, and that is
# exactly why a flat profile must be tested rather than
# assumed: the rare cause is the dangerous oneAcross 20000 synthetic adults, 0.1131 carry at least one absolute flag and of those 0.0486 carry more than one. A further 0.5184 carry something that calls for a doctor’s assessment first, which leaves 0.3684 free to follow the plan unsupervised. The gate stops or refers 0.6315 of adults.
Note
The flags that matter most. Being on a glucocorticoid now, carried by 0.0246, or having stopped one within the last year, at 0.0302, both mean the axis is already suppressed, and in the first case stopping abruptly can be fatal. Bipolar disorder, at 0.0196, is a reason not to use bright morning light without psychiatric advice, because it can precipitate mania. Retinal disease, at 0.0138, needs an eye assessment before light therapy. Obstructive sleep apnoea, at 0.0886, is in the referral list for a different reason: a flat profile and exhaustion may be the apnoea rather than the axis, and treating the wrong one wastes the months Chapter 3 says a reader does not have. Adrenal insufficiency itself is rare, at 0.0010, and that rarity is exactly the argument for testing: the rare cause is the dangerous one.
The independence assumption overstates how many people carry exactly one flag and understates how many carry several, because these conditions cluster. That does not shrink the gate. The figure that matters, 0.1131 stopped outright, counts anyone with any flag, and clustering lowers it only slightly.
Summary
Realistic adherence leaves the month at 0.9255 of rested against 0.9915 for a perfect month, giving up 0.5014 of the gap, and the loss comes from the days of load rather than the days of light. The safety gate stops 0.1131 of adults outright and refers a further 0.5184, leaving 0.3684. The state this book’s model reaches is the laboratory picture of a treatable and dangerous disease, and the label under which the subject is sold is not supported by the evidence. The arithmetic in this book is a description of mechanisms and a bound on their size; the action it supports is a conversation with a doctor, not a protocol.
References
Fan, Y. (2026). HPA-Axis Coupled Oscillations, Cortisol Awakening Response Flattening and Burnout Recovery Kinetics: Glucocorticoid Receptor Downregulation, Ultradian Pulsatility and Allostatic Load Reset [下丘脑垂体肾上腺轴耦合振荡、皮质醇觉醒反应扁平化与倦怠恢复动力学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090252 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).