Repository navigation
goal-based-allocation 0.5.0
Changed
-
Require Python 3.11 or newer; Python 3.10 is no longer supported. CI tests Python 3.11–3.14
and uses Python 3.11 for lowest-direct dependency checks. The lockfile no longer selects the
vulnerable Pillow release retained for Python 3.10. -
RiccatiSolution.expected_wealthnow returns the expected terminal wealth of the unfloored
MV-optimal policy,ell/2 - (ell/2 - Pi0 exp(r_c T)) exp(-Theta)with the dynamic information
ratioTheta = 2 r_c T - ln a(T)(manuscript Theorem 3.8(c), October 2026 revision). It
previously returned-b(T) / (2 a(T)), the present value of the target, which is now
RiccatiSolution.pi_star_0.find_elland every calibrated or documented number are unchanged. -
simulate_mv_optimalsimulates the magnitude policy|ω*_a^[i]| (Π*/Π − 1)in both regimes by
default, the policy of the manuscript's stopped-wealth analysis (Assumption 4.3, October 2026
revision) and ofgap_process_asset; the new keywordpolicy='signed'runs the MV-optimal policy
of Corollary 3.4, which is short below target in stress. The Figure 1 path loop of the replication
script andexamples/wealth_process_simulation.pyapply the same magnitude policy; before, the
simulator used the signed policy and the figure loop the growth coefficient in both regimes. For
the paper's mandates the magnitude policy lowers survival by 0.1 to 0.6 points relative to the
signed policy, and the Laplace survival is within 0.4 points of its simulation. -
Module docstrings and the conventions page write
Exp(η)for the exponential law with meanη,
the convention of the computations and of the manuscript's equation (2.3) in its October 2026
revision, instead of the rate formExp(1/η). No computation changed.
Added
RiccatiSolution.information_ratioandRiccatiSolution.wealth_variance, and
find_ell_expected_wealth, which sets the multiplier for a required expected terminal wealth
(manuscript equation (3.16));tests/test_riccati_moments.pychecks the coefficient identities,
the single-regime Zhou–Li limit, the documented numbers and a Monte Carlo cross-check.
Fixed
- Update locked Pillow to 13.0.0 and certifi to 2026.10.19 to address the reported dependency
audit vulnerabilities. gap_process_assetmean-matches the recovery jump of the log-gap to the exact jump
-ln(1 - w (exp(J) - 1)), conditional on wealth staying below the target (manuscript Remark 4.5,
October 2026 revision), through the new_eta_eff_recovery_quadrature;recovery_exit_probability
returns the probability per recovery that wealth jumps above the target, below4e-6for the
paper's mandates. The crash formula mirrored onto the recovery, used before, understated the
effective recovery jump by 20–30%. Survival of the four paper mandates rises by 0.01 to 0.46
points, expected wealth by up to 0.7 and the implied return by up to 5 basis points; the quickstart
output, the README results table and the handbook examples carry the new values.- The manuscript's Theorem 3.8(c)–(d): the information ratio carries
+2 r_c T, the expected
terminal wealth is no longer identified with the present value of the target, and the
flat-barrier proof uses the regime-independent target. The handbook chapter follows the revision.