πŸ›οΈ Interactive Tool v1.0.0

Policy Lab

Model your sovereign's debt trajectory under conventional vs productivity-linked issuance β€” with the feedback loop made explicit.

A decision-support tool for finance ministries, central banks, and researchers. Choose a preset or tune the parameters below, then click Run Analysis. ⚑ Powered by the endogenous-debt model (v1.1) from run_simulation.py.

⚠️ Model v1.1 (endogenous debt). Book Appendix C uses v1.0 (fixed debt). Numbers differ by design. Full model notes β†’
πŸ“– What is the Policy Lab? β–Ό

The Policy Lab puts the Productivity Bond Model in the hands of a sovereign finance analyst. It answers the question every finance ministry asks: "If we swap part of our issuance to Productivity Bonds, what happens to our debt trajectory, our debt service, and our risk of fiscal distress over the next decade?"

Unlike the homepage simulator (which shows summary metrics only), the Policy Lab returns year-by-year debt/GDP and debt service ratios β€” so you can see when pressure peaks, not just whether it does.

The feedback loop is explicit. Higher coupons in good years increase debt service; if the government borrows to pay, the debt stock grows; when a downturn arrives, the coupon falls but the debt is bigger. This is the model's most important design problem β€” and the reason for the PAM toggle (Principal Adjustment Mechanism).

πŸ“‹ Quick Presets

πŸ›οΈ Asteria Pilot β€” from the book (Appendix D)

πŸ›οΈ Sovereign Profile

πŸ“œ Bond Design & Environment

Ready
πŸ“Œ Model: endogenous debt, 10-year horizon. Defaults match config.py. ⚠️ Projections are not predictions. Results depend on assumptions about AI shocks, gov capture (ΞΈ_AI), and investor behaviour.
❓ FAQ

Frequently Asked Questions

Everything you need to know about the Policy Lab and its results.

πŸ›οΈ What does the Policy Lab do? β–Ό

The Policy Lab is a decision-support tool for sovereign finance ministries and researchers. It simulates the debt trajectory of a country issuing a mix of conventional and productivity-linked bonds.

You get:

  • Year-by-year debt/GDP trajectory β€” conventional vs productivity
  • Debt service / revenue ratio β€” with the 15% distress threshold visible
  • Expected cost β€” the bond price (PV of coupons + principal, risk-adjusted)
  • Distress probability β€” fraction of paths where DSR exceeds 15% in any year
  • Recommended portfolio share β€” optimal mix from welfare minimization
  • PAM effect β€” see what happens when you enable Principal Adjustment
βš™οΈ What is the PAM toggle? β–Ό

PAM stands for Principal-Adjustment Mechanism. The simulation shows that variable coupons can create a feedback loop: higher coupons during productive years increase debt service, which increases the debt stock, which increases future debt service β€” even if the coupon later falls.

The PAM is a rule that automatically reduces outstanding principal when DSR exceeds a threshold (default 15%). When you turn it on, the debt/GDP ratio drops (e.g., from 107% to 94%), which improves long-run sustainability.

Note on distress metrics: The PAM lowers debt/GDP, but the binary "ever above 15%" distress metric may not change much if the baseline deficit is large. This is a known limitation of binary distress metrics in highly stressed scenarios.

🎯 What is ΞΈ_AI and why does it matter? β–Ό

ΞΈ_AI is the fraction of AI-driven productivity gains that the government captures through taxes, royalties, or sovereign equity.

In the book's analytical framework, ΞΈ_AI is a critical threshold: below 0.15 the bond barely works, above 0.30 it substantially outperforms. However, in the current simulation (v1.1), AI shocks are rare (5% per year) and modest, so ΞΈ_AI affects outcomes primarily through those shocks.

This means the thresholds are a theoretical guideline, not a guaranteed simulation result. See Model Notes for the full explanation.

πŸ“Š How do the results compare to the book's Appendix C? β–Ό

The book and this tool tell the same story. Both show that a productivity bond without safeguards produces unacceptable fiscal distress β€” the feedback loop dominates.

The 88.17% distress figure in the book is the pre-PAM result. Chapter 14 explicitly argues that the PAM (Principal-Adjustment Mechanism) is required to make the instrument viable, and the book states it is "not an optional refinement. It is part of the architecture."

This tool shows the same two regimes:

  • Without PAM (default): productivity distress ~85% β€” same order of magnitude as the book's 88.17% (RNG variance)
  • With PAM enabled: distress drops to ~73% β€” the fix the book argues for

The conventional bond matches closely (11.05% book vs ~11% tool). The optimal portfolio share (30% in the book) is regime-dependent in this tool because the portfolio optimiser becomes unreliable when baseline distress exceeds 50% β€” a refinement, not a contradiction.

The only real model difference: the book used a fixed-debt model (debt path assumed), while the tool uses endogenous debt (each bond type rolls its own debt path). The endogenous model is more realistic, but the conclusions are identical: PAM is required.

πŸ”§ Is the Policy Lab open source? β–Ό

Yes. The full engine mirrors run_simulation.py, bond_valuation.py, and state_generator.py. The source code is available on GitHub, and you can run the Python version to verify every number.

Explore the Tools

Interactive calculators to help you understand the Productivity Bond Model.

πŸ“Š

NPI Index Tracker

Track the National Productivity Index for 47 countries using real-world data.

Open NPI Tracker β†’
🌿

Wellbeing Index

Measure your work-life balance, mental health, and productivity.

Try It β†’
πŸ’³

Debt Reality

Diagnose your financial situation and see the true cost of debt.

Try It β†’
πŸ“ˆ

Compound Curve

See how debt compounds over time and how small changes bend the curve.

Try It β†’
πŸ“– Learn

Read the Book

The Policy Lab is powered by the Productivity Bond Model. The full theory β€” including the simulation code, mathematical appendix, and implementation roadmap β€” is in The Infinite Debt Problem.

πŸ“„ Read the PDF 🎧 Listen to Audiobook
πŸ’Έ Run Homepage Simulator πŸ“ View the Model πŸ“‹ Changelog

Install on iPhone

To add this app to your home screen:

1.⬆️In Safari tap the Share button.
2.βž•Scroll down and tap "Add to Home Screen".