Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear aXtraGrid #1172

Merged
merged 4 commits into from
Sep 21, 2022
Merged

Linear aXtraGrid #1172

merged 4 commits into from
Sep 21, 2022

Conversation

alanlujan91
Copy link
Member

Creates linearly spaced asset grid for models that inherit from IndShockConsumerType when aXtraNestFac == -1.

  • Tests for new functionality/models or Tests to reproduce the bug-fix in code.
  • Updated documentation of features that add new functionality.
  • Update CHANGELOG.md with major/minor changes.

@codecov-commenter
Copy link

Codecov Report

Base: 73.58% // Head: 73.57% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (f886fed) compared to base (69c5f9c).
Patch coverage: 83.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1172      +/-   ##
==========================================
- Coverage   73.58%   73.57%   -0.01%     
==========================================
  Files          72       72              
  Lines       11465    11462       -3     
==========================================
- Hits         8436     8433       -3     
  Misses       3029     3029              
Impacted Files Coverage Δ
HARK/ConsumptionSaving/ConsIndShockModel.py 85.29% <83.33%> (-0.05%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alanlujan91
Copy link
Member Author

see #1171

To do: unit test

@llorracc
Copy link
Collaborator

llorracc commented Sep 8, 2022

Is this ready to merge?

@alanlujan91
Copy link
Member Author

@llorracc this is ready to review, I have moved construct_assets_grid to utilities and added a unit test

@alanlujan91
Copy link
Member Author

to do : make more general use with abstract grids

"aXtraNestFac": -1,
}

params = SimpleNamespace(**params)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool choice. hadn't heard of SimpleNamespace before

@sbenthall sbenthall merged commit b6a3907 into econ-ark:master Sep 21, 2022
@sbenthall sbenthall added this to the 0.13.0 milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants