🇬🇧 English · 🇪🇸 Español
Roadmap and API compatibility
PureMacro has passed 1.0. This page replaces the old pre-1.0 checklist;
its URL is retained for existing links. As of 2026-11-15, 6.6.0 is the
published release on PyPI (succeeding 6.5.0, 6.4.0, 6.3.0, 6.2.0, 6.1.0, and 6.0.1).
Source tags 5.8.0, 5.9.0 and 6.0.0 were not published to PyPI. Consult the
changelog
and the version returned by puremacro.__version__ when reproducing a result.
Development priorities
Milestones shipped across 6.2.0–6.6.0 and remaining validation boundaries:
- Release engineering, sovereign grid scope & own-data policy briefs (6.1.0–6.5.0):
The
6.1.0baseline consolidated the GMM engine, asset-pricing core, explicitdebt_grid=...sovereign default API (sovereign default, extension validation, sovereign brief), consistent-accounting trade GE (tariff validation), and wheel/typing release checks. Subsequent6.2.0–6.5.0releases added cumulative local-projection fiscal and tariff policy briefs with own-data inputs, optional ENIGH quintile mapping, and elasticity-grid workflows (fiscal brief, tariff brief). Published sovereign extension moments and a full competitive collateral model remain outside the validated scope. - Equilibrium derivatives, continuation, simulation-aware SMM & identification-robust inference (6.2.0–6.5.0):
puremacro.core.EquilibriumSystem,linearize_equilibrium, andcontinue_equilibriumprovide dense implicit-function sensitivities and pseudo-arclength fold continuation (equilibrium linearization, branch continuation; statistical confidence sets for equilibrium branches remain separate).puremacro.structuraladdsfit_simulated_momentsaccounting for both empirical sampling error and Monte Carlo variance (simulation-aware SMM) alongside identification-robust point-null S-tests and moment confidence sets (identification-robust inference), plus fail-closed Markov/nonfinite guards inpuremacro.sovereign.smm. - One-asset HANK benchmark, bounded second-order HANK & financed fiscal closures (6.1.0–6.5.0):
The published one-asset HANK general equilibrium passes independent
nonlinear and grid/horizon checks (benchmark).
Experimental
solve_hank_second_orderadds quadratic state terms and anticipated-variance corrections with grid residual/mass/budget audits for small full-basis models (second-order HANK; reduced bases, two assets, productive capital, global accuracy, and welfare remain outside scope). Releases 6.5.0–6.6.0 add explicitly financed fiscal HANK closures inpuremacro.models.hank_fiscal(solve_hank_fiscal,compare_fiscal_closuresunderbalanced_budgetand Leeperdebt_ruletax financing; see structural models and validation status) with joint budget/asset residual and asset-truncation diagnostics, alongside the empirical LP–HANK household incidence bridge inpuremacro.models.hank_distributional_bridge(bridge_hank_distributional, distributional bridge). - Panel CCE Mean Group, auditable trade reallocation incidence, macro freshness monitor & workbench/CLI/MCP server (6.3.0–6.6.0):
Releases 6.5.0–6.6.0 add Common Correlated Effects Mean Group Local Projections
(
puremacro.lp.cce,estimator="mean_group"/cce_mg_panel_lp; see local projections) with Pesaran (2006) cross-unit inference, non-converged batch guards inrun_scenario_batch, and dynamic two-country, two-sector household reallocation incidence with OECD ICIO calibration inpuremacro.trade.reallocation_incidence(evaluate_transition_household_incidence, trade reallocation incidence). Bounded provenance and freshness reporting (puremacro.fetch.freshness.connector_freshness_report) audits the flagship connector cohort across zero-networkcache/recordedmodes and rate-budgetedliveprobes (connector health), whilepuremacro.macro_monitor(run_macro_monitor, macro monitor) bundles offline-first freshness,preflight_panel, rolling AR(1) nowcasts, and bounded LP transmission checks into RFC 8259 JSON and SHA-256 manifests. Finally,puremacro.workbench(run_empirical_structural_workbench), CLI tooling (puremacro workbench,hank-fiscal,robust-set), and the Pyodide-safe stdio MCP server (puremacro.mcp_server,puremacro-mcp) compose preflight, sensitivity grids, identification-robust moment sets, IRF comparisons, scorecards, standalone HTML / bilingual bundle exports, and explicit solver diagnostic propagation (workbench and scorecards, MCP server).
Completed development milestones do not establish every model or calibration, or promise shipment in a particular release. The research reliability guide records the current boundary between replication evidence, internal checks and demonstrations.
Compatibility policy
Public exports and result-class field names are recorded in
tests/fixtures/public_api_snapshot.json. Gate 3 requires an intentional,
reviewed snapshot update for additions and other surface changes. The snapshot
checks names, not numerical correctness, function signatures or semantic
compatibility; those require tests and review.
For the stable API, additions belong in a minor release. Renames, removals,
changed argument meanings or incompatible return shapes require a major
release. Before removal, retain a callable deprecated form for at least one
minor release, with a DeprecationWarning naming the fully qualified symbol,
replacement and removal version. Document numerical bug fixes in the changelog,
including changed reference results; do not preserve an incorrect answer merely
to keep a fixture unchanged. Compatible internal refactors and fixes can ship
in patch releases.
The established stable scope includes VAR (except regime-switching and GVAR), local projections, inference, identification, the Klein solver, volatility, cycles, cointegration, factor models, KORV GMM, MIDAS, spectral methods, synthetic control, wavelets, realized volatility and labor-share estimators. The research surfaces previously excluded from the stability promise remain experimental: other structural/research models (including HANK and sovereign extensions), regime VAR/GVAR, causal ML, dynamic programming/VFI, spatial GE, OccBin, narrative/uncertainty, SMM, Bartik and research data-pipeline builders. Their changes must still be explicit, tested and documented. Experimental status is not a claim of independent economic validation.
Private modules and non-exported helpers are implementation details. Teaching wrappers have separate optional dependencies. Examples are shipped in the wheel and checked as workflows, but do not acquire a stable estimator API merely by being examples. Fetchers depend on external provider schemas and are best-effort; offline fixtures and schema checks document their expected inputs.
Release evidence
Follow RELEASING.md. Release checks cover the supported Python/OS matrix, public API, synchronized versions, Python 3.11 syntax and native/Windows typing, the Pyodide import contract, optional numerical reference suites, and representative installed-wheel examples. Full notebook execution and live Pyodide smoke tests remain separate checks with their own recorded results. A successful wheel smoke run is not a substitute for either.