Skip to content

Add calib_table function to summarize endogenous calibration targets#1138

Draft
jdebacker wants to merge 1 commit into
PSLmodels:masterfrom
jdebacker:calib_tables
Draft

Add calib_table function to summarize endogenous calibration targets#1138
jdebacker wants to merge 1 commit into
PSLmodels:masterfrom
jdebacker:calib_tables

Conversation

@jdebacker
Copy link
Copy Markdown
Member

Adds calib_table() to output_tables.py, which produces a 5-column table showing each calibrated parameter's name/symbol, value (or range), data target description, model moment, and data moment. Supports wealth Gini (beta_annual), investment rate I/K (delta_annual), and income Gini (e) as initial target types.

Adds calib_table() to output_tables.py, which produces a 5-column table
showing each calibrated parameter's name/symbol, value (or range),
data target description, model moment, and data moment. Supports wealth
Gini (beta_annual), investment rate I/K (delta_annual), and income Gini
(e) as initial target types.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 19, 2026

Codecov Report

❌ Patch coverage is 3.92157% with 49 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.52%. Comparing base (673b1f3) to head (8139ba5).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
ogcore/output_tables.py 3.92% 49 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1138      +/-   ##
==========================================
- Coverage   73.18%   72.52%   -0.67%     
==========================================
  Files          21       21              
  Lines        5233     5284      +51     
==========================================
+ Hits         3830     3832       +2     
- Misses       1403     1452      +49     
Flag Coverage Δ
unittests 72.52% <3.92%> (-0.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
ogcore/output_tables.py 78.41% <3.92%> (-16.74%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants