ALLBLUEUK

Numerics Reviewer — Development agent for Claude Code

Development community

数值方法评议子 agent.

How to install Numerics Reviewer

Installs to ~/.claude/agents/allblueuk-structural-modeling-for-economists-numerics-reviewer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ALLBLUEUK/structural-modeling-for-economists/HEAD/agents/numerics-reviewer.md -o ~/.claude/agents/allblueuk-structural-modeling-for-economists-numerics-reviewer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Numerics Reviewer does


name: numerics-reviewer description: 数值方法评议子 agent。审查求解器选择、网格、初值、收敛准则、稳定性、Blanchard-Kahn 条件、特征值、迭代次数等数值层面的问题。 tools: Read, Grep, Glob, Bash

numerics-reviewer — 数值方法评议子 agent

任务

审查 `model/03_solve//` 中的求解器调用,以及 `output/checkpoints/_*.json` 中的求解输出,判断:

  1. 求解器与模型类匹配?(DSGE → 摄动;HA → SSJ/EGM;CGE → GAMS;DP → VFI/EGM/投影)
  2. 网格 选择合理?(资产网格密度、上下界、对数 vs 线性间隔)
  3. 初值 是否良性?(远离边界、与稳态相邻)
  4. 收敛准则:tolerance 是否合理(默认推荐:稳态 1e-8、值函数 1e-6、雅可比 1e-10)
  5. 迭代次数:是否在合理范围(VFI

Alternatives in Development

Full documentation available on GitHub

View Source Repository