You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Avoid second-person phrasing (“you”) in docs and docstrings.
74
74
75
+
## Caching Guidance
76
+
77
+
- For constant calculations that can be computed once and reused, compute lazily on first use and store in the model struct cache; subsequent use must read from the cache.
78
+
79
+
## Session Progress Log
80
+
81
+
- Always take stock of what was done and what remains, and save it in `AGENT_PROGRESS.md`.
82
+
- At the start of a new session, always read `AGENT_PROGRESS.md` before making changes.
83
+
75
84
## Common Change Points
76
85
77
86
- New API: add in `src/get_functions.jl` and export from `src/MacroModelling.jl`.
Copy file name to clipboardExpand all lines: CLAUDE.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,15 @@ The constant `SYMPYWORKSPACE_RESERVED_NAMES` in `MacroModelling.jl` lists names
174
174
175
175
- Avoid second-person phrasing (“you”) in docs and docstrings.
176
176
177
+
### Caching Guidance
178
+
179
+
- For constant calculations that can be computed once and reused, compute lazily on first use and store in the model struct cache; subsequent use must read from the cache.
180
+
181
+
### Session Progress Log
182
+
183
+
- Always take stock of what was done and what remains, and save it in `AGENT_PROGRESS.md`.
184
+
- At the start of a new session, always read `AGENT_PROGRESS.md` before making changes.
185
+
177
186
## Testing Patterns
178
187
179
188
Tests use Julia's `Test` module with `@testset` blocks:
0 commit comments