• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarlNaumann / MacroStat
90%

Build:
DEFAULT BRANCH: master
Repo Added 03 Oct 2024 09:43AM UTC
Files 105
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • add-claude-github-actions-1773654701283
  • autograd
  • causality_graph
  • ci_migrate_to_gha
  • core_testing
  • diffprep
  • difftool_multiprocessing
  • difftools
  • docequations
  • documentation
  • ecoiopcex
  • ecoiopcexdocs
  • feat/estimation-module
  • feat/hetagent-infra
  • feat/parameter-constraints
  • fix_nk3e
  • gl06
  • gl06_insout
  • insout_steadystate
  • iopc
  • iopc_docs
  • jacobian_comparison
  • kirmansants
  • master
  • model_pcex
  • model_pcex2
  • nk3e_shocks
  • parameter_shocks
  • pichler2022forecasting
  • sobol_sampler

29 May 2026 01:19PM UTC coverage: 90.339% (-0.3%) from 90.685%
26639621242

push

github

web-flow
feat(core): support non-SFC models and variable-shape agent state (#77)

* feat(core): make Variables SFC-optional and shape-axis-aware

- get_stock/flow/index_variables and verify_sfc_info skip variables
  without an "sfc" key (non-SFC path); no opt-in flag needed
- new_state() reinterprets info[k]["sectors"] as a shape-axis list.
  Each entry is an int literal or a string resolved via
  Parameters.__getitem__ (which falls through to hyper). All entries
  resolving to positive ints → that shape tuple; otherwise legacy
  len(sectors) fallback preserves SFC-style label lists bit-identical
- delete per-step gather_timeseries() inside record_state; rely on the
  single end-of-forward() call (behavior.py:154). Recording stays
  stack-based for autograd safety; storage path is linear instead of
  quadratic in T
- compute_theoretical_steady_state now calls gather_timeseries() at
  end of method to honor the single-gather contract
- to_pandas falls back to positional integer columns when sector_map
  labels do not match the recorded tensor's column count (het-agent
  case); SFC label-match path unchanged

* test(core): add het-agent fixture and Variables shape-axis tests

- test_variables_hetagent.py: six targeted unit tests covering
  hyper-axis resolution, int literal, multi-level SFC routing via
  the level field, non-SFC skip path, legacy label-list fallback,
  and legacy multi-label sector
- test_hetagent_fixture.py: synthetic toy non-SFC heterogeneous-agent
  model with FirmCapital shape (N_firms=20,) and HouseholdWealth shape
  (N_households=100,). End-to-end test (init → simulate → to_pandas)
  and autograd-Jacobian test (decay parameter, finite non-zero grad)

* docs: update Migration Notes and SDE section for het-agent infra

- Migration Notes: record that the Variables SFC-optional and
  variable-shape abstraction landed (dispatch MacroStat_HetAgentInfra,
  branch feat/hetagent-infra). Mark-0 and Poledna ports unblocked
- Migration Notes: document... (continued)

499 of 544 branches covered (91.73%)

Branch coverage included in aggregate %.

25 of 41 new or added lines in 2 files covered. (60.98%)

3 existing lines in 1 file now uncovered.

3344 of 3710 relevant lines covered (90.13%)

5.41 hits per line

Relevant lines Covered
Build:
Build:
3710 RELEVANT LINES 3344 COVERED LINES
5.41 HITS PER LINE
Source Files on master
  • Tree
  • List 105
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26639621242 master feat(core): support non-SFC models and variable-shape agent state (#77) * feat(core): make Variables SFC-optional and shape-axis-aware - get_stock/flow/index_variables and verify_sfc_info skip variables without an "sfc" key (non-SFC path); no ... push 29 May 2026 01:26PM UTC web-flow github
90.34
26638453487 feat/hetagent-infra Merge 91be06a18 into 09da529b3 Pull #77 29 May 2026 01:01PM UTC web-flow github
90.34
26623145945 master ci: migrate from Cirrus to GitHub Actions (#76) * chore(ci): register slow marker and add py311/py312 tox envs Pre-flight hygiene for the CI migration off Cirrus. Two provider-independent fixes that de-risk the upcoming matrix: - Register the s... push 29 May 2026 07:07AM UTC web-flow github
90.68
26620087086 ci_migrate_to_gha Merge 3e3c52604 into 296c827dd Pull #76 29 May 2026 05:41AM UTC web-flow github
90.68
26619711266 ci_migrate_to_gha Merge 0ed5ea9f1 into 296c827dd Pull #76 29 May 2026 05:30AM UTC web-flow github
90.68
26619312848 ci_migrate_to_gha Merge 7faebe2b5 into 296c827dd Pull #76 29 May 2026 05:18AM UTC web-flow github
90.68
26597094141 ci_migrate_to_gha Merge 479d056ae into 296c827dd Pull #76 28 May 2026 07:33PM UTC web-flow github
90.68
26572770945 master feat(pichler): Dynamic IO model with zero-config 3-sector default (#75) * feat(core): add data parameters support to Parameters class * feat(util): extract where-block in autodocs * feat(models): add PichlerEtAl2022DIO model and tests * docs(m... push 28 May 2026 11:55AM UTC web-flow github
90.92
26572632164 pichler2022forecasting Merge 6c83ffc8d into 3e51db90f Pull #75 28 May 2026 11:52AM UTC web-flow github
90.92
26446002830 master refactor(KirmansAnts): Lamperti-only SDE with torch.Generator (#74) * refactor(KirmansAnts): drop rejection/reflect; Lamperti only Strip the three-integrator dispatch table introduced under Phase-1 boundary-handling exploration. The Lamperti-tra... push 26 May 2026 10:17AM UTC web-flow github
95.84
See All Builds (96)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc