Skip to content

Bump ogcore from 0.17.0 to 0.19.1 - #93

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ogcore-0.19.1
Closed

Bump ogcore from 0.17.0 to 0.19.1#93
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ogcore-0.19.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps ogcore from 0.17.0 to 0.19.1.

Release notes

Sourced from ogcore's releases.

0.19.1

This release:

Adds:

  • Stall detection for the TPI outer loop (Issue #1177): when the best distance has not improved over the last TPI_stall_window iterations (default 50; 0 disables), run_TPI logs a diagnosis distinguishing a cycling outer loop (suggesting a lower nu or TPI_outer_method="anderson") from a diverging economy (usually an inconsistent fiscal block, which solver settings cannot fix). The default TPI_stall_action="warn" only logs, leaving model solutions unchanged; "stop" also ends the loop early, so a hopeless run fails through the existing non-convergence checks instead of spending the rest of maxiter. The window check lives in ogcore.solvers.diagnose_stall and works for both the picard and anderson update rules. The diagnosis is re-logged if it changes (e.g. escalates from cycling to diverging), and a run that ends unconverged while stalled carries the diagnosis in the RuntimeError message, so it reaches users who only see the traceback. PR #1178.
  • Changes the default of stationarized to False in output_plots.plot_aggregates and output_plots.plot_industry_aggregates, so unstationarized values are plotted by default, resolving Issue #1133, Issue #1183.

Bug Fixes:

  • Fixes Issue Issue #1186: with demographics that vary across lifetime income groups (introduced in PR #1165), the use_zeta = False branch of household.get_bq divided each group's bequest pool by its birth share (lambdas[j]) rather than its actual population share, so bequests received did not sum to bequests left and the steady-state resource constraint failed. Receipts are now divided by the group's actual population (from omega_SS / omega), matching the use_zeta = True branch. Results are unchanged when demographics are common across groups. PR #1187.
  • Fixes Issue #1015: fixes escape with special characters in parameter names that caused failures when reading from JSON files. Adds a test to prevent this in the future. PR #1193.
  • Resolve Issue #1152: expose same keys in the steady-state and time path dictionaries. PR #1185.
  • Correct payroll tax calculations, resolving Issue #1023. PR #1184.

0.19.0

This release updates the default parameters to allow alternative growth rates for two pension systems:

  • Fixes Issue #1169: the Notional Defined Contribution pension system could not run against a real Specifications object because its growth-rate settings were not parameters. ndc_growth_rate, dir_growth_rate, and points_growth_rate are now parameters in default_parameters.json (choices "r", "Curr GDP", "LR GDP"; default "LR GDP", matching the previous fallback behavior). g_ndc and g_dir now handle the scalar r and g_y of the steady state, and delta_ret falls back to the steady-state mortality rates implied by rho (averaged over lifetime income groups) when no mort_rates_SS attribute is set. The NDC system is added to the real-Specifications pension test.

0.18.1

This is a bug fix release:

  • Fixes Issue #1180: get_pop_objs raised an AssertionError for the homogeneous case (income_percentiles=None with no income-specific inputs), because expand_pop_obj_J asserted before reaching its homogeneous branch. income_percentiles now defaults to a single income group (J=1) when no income-specific inputs are supplied, restoring the pre-0.18 call signature; it remains required whenever gradients or immigrant income shares are provided. Also removes a stray debug print from that branch.

0.18.0

This release:

  • Demographic parameters (rho, omega, imm_rates) are now allowed to vary across lifetime income groups J. See PR #1165 PSLmodels/OG-Core#1165.
Changelog

Sourced from ogcore's changelog.

[0.19.1] - 2026-08-10 12:00:00

Added

  • Stall detection for the TPI outer loop (Issue #1177): when the best distance has not improved over the last TPI_stall_window iterations (default 50; 0 disables), run_TPI logs a diagnosis distinguishing a cycling outer loop (suggesting a lower nu or TPI_outer_method="anderson") from a diverging economy (usually an inconsistent fiscal block, which solver settings cannot fix). The default TPI_stall_action="warn" only logs, leaving model solutions unchanged; "stop" also ends the loop early, so a hopeless run fails through the existing non-convergence checks instead of spending the rest of maxiter. The window check lives in ogcore.solvers.diagnose_stall and works for both the picard and anderson update rules. The diagnosis is re-logged if it changes (e.g. escalates from cycling to diverging), and a run that ends unconverged while stalled carries the diagnosis in the RuntimeError message, so it reaches users who only see the traceback. [PR #1178](PSLmodels/OG-Core#1178).
  • Changes the default of stationarized to False in output_plots.plot_aggregates and output_plots.plot_industry_aggregates, so unstationarized values are plotted by default, resolving Issue #1133. [PR #1183](PSLmodels/OG-Core#1183).

Bug Fixes

  • Fixes Issue #1186: with demographics that vary across lifetime income groups (introduced in PR #1165), the use_zeta = False branch of household.get_bq divided each group's bequest pool by its birth share (lambdas[j]) rather than its actual population share, so bequests received did not sum to bequests left and the steady-state resource constraint failed. Receipts are now divided by the group's actual population (from omega_SS / omega), matching the use_zeta = True branch. Results are unchanged when demographics are common across groups. [PR #1187](PSLmodels/OG-Core#1187).
  • Fixes Issue #1015: fixes escape with special characters in parameter names that caused failures when reading from JSON files. Adds a test to prevent this in the future. [PR #1193](PSLmodels/OG-Core#1193).
  • Resolve Issue #1152: expose same keys in the steady-state and time path dictionaries. [PR #1185](PSLmodels/OG-Core#1185).
  • Correct payroll tax calculations, resolving Issue #1023. [PR #1184](PSLmodels/OG-Core#1184).

[0.19.0] - 2026-07-29 12:00:00

Added

  • Fixes Issue #1169: the Notional Defined Contribution pension system could not run against a real Specifications object because its growth-rate settings were not parameters. ndc_growth_rate, dir_growth_rate, and points_growth_rate are now parameters in default_parameters.json (choices "r", "Curr GDP", "LR GDP"; default "LR GDP", matching the previous fallback behavior). g_ndc and g_dir now handle the scalar r and g_y of the steady state, and delta_ret falls back to the steady-state mortality rates implied by rho (averaged over

... (truncated)

Commits
  • 2b6a668 Merge pull request #1198 from jdebacker/0.19.1
  • 81ca323 update changelog for consistency
  • b2252db bring api docs up to date
  • b909caa bump version and update changelog
  • 670b5cb sync with master
  • a8b0232 Merge pull request #1185 from arihantlodha-cmd/consistent-ss-tpi-output-keys
  • 200fa11 Merge pull request #1178 from marcelolafleur/feature/tpi-stall-detection
  • 3978542 Merge pull request #1184 from arihantlodha-cmd/payroll-tax-revenue-function
  • 2602824 Merge pull request #1193 from arihantlodha-cmd/fix-theta-label-escape
  • 956666d Merge branch 'master' into feature/tpi-stall-detection
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ogcore](https://github.com/PSLmodels/OG-Core) from 0.17.0 to 0.19.1.
- [Release notes](https://github.com/PSLmodels/OG-Core/releases)
- [Changelog](https://github.com/PSLmodels/OG-Core/blob/master/CHANGELOG.md)
- [Commits](PSLmodels/OG-Core@v0.17.0...v0.19.1)

---
updated-dependencies:
- dependency-name: ogcore
  dependency-version: 0.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #94.

@dependabot dependabot Bot closed this Aug 25, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/ogcore-0.19.1 branch August 25, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants