Matsya DP workflow and Dolo draft for GKN HANK model - #62
Open
Calbafa wants to merge 2 commits into
Open
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Session identifier: topics2026-mon-policy
This pull request implements the Matsya-based dynamic programming workflow for the Gornemann, Kuester, and Nakajima (2012) heterogeneous-agent monetary policy model.
The workflow was executed using a single stable Matsya session across all queries, ensuring that context was preserved and can be reviewed on the server side.
This PR includes the following artifacts:
docs/gkn-bellman-excerpt.md): a concise and faithful summary of the household dynamic programming problem, including states, controls, constraints, and Bellman equations.docs/gkn-bellman-improved.md): a refined version of the model description using a stage-based structure inspired by SolvingMicroDSOPs.docs/gkn-dolo.yaml): a simplified YAML representation of the model constructed incrementally using Matsya.docs/gkn-verification.md): a short discussion comparing Matsya outputs to the original paper, including accepted elements and necessary adjustments.docs/matsya-session.txt): records the Matsya session used for all queries.Due to the complexity of the full HANK model, the YAML representation abstracts from certain features such as the full distribution of agents and general equilibrium feedback. These simplifications are documented in the verification file.
Matsya was used iteratively to:
All Matsya calls were executed with the same session identifier to ensure continuity and reproducibility.