-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
store shocks in namespace --> #760 #803
Conversation
…lt tracking behavior
@mnwhite I wonder if you could help me with this. I've been able to work out some changes that move the shocks into a namespace -- a dictionary I was able to get tests passing on the ConsIndShockModel agent types. And I was making progress on ConsPrefShockModel and ConsMedShockModel, but then I wanted to make sure I was keeping valid results. So I expanded the test covered to simulated values of These new tests do not pass. I can't tell from where I'm sitting whether I should expect different results, maybe because of how the random seeds are drawn, or if I've made a mistake somewhere. Any ideas? |
An argument |
Ok, it looks like the falling ConsPrefShock test was due to my not properly handling the read_shocks issue. |
This PR is now ready to review. |
(Whoops--closed by accident! Reopened it) I request the reviewer pay a little extra attention to Otherwise, it's mostly just replacing the exogenous shock |
SB: You said to merge this first, before #812, right? This looks good to me, but I wanted to be double sure. |
Glad I asked. |
Storing the shock values in a namespace dictionary.