Background
lectures/_static/lecture_specific/optgrowth_fast/ contains two code snippets (ogm.py, ogm_crra.py)
that were :load:-ed by the old lecture optgrowth_fast.md ("Optimal Growth II: Accelerating the Code
with Numba").
That lecture was deleted in #679 (merged 2025-11-08), which refactored the optimal growth series into
the cake eating series (now the os_* lectures) with inline NamedTuple models. The refactor inlined
or removed the other external code files it used, but this folder was left behind.
Current state
Proposed tidy-up
Background
lectures/_static/lecture_specific/optgrowth_fast/contains two code snippets (ogm.py,ogm_crra.py)that were
:load:-ed by the old lectureoptgrowth_fast.md("Optimal Growth II: Accelerating the Codewith Numba").
That lecture was deleted in #679 (merged 2025-11-08), which refactored the optimal growth series into
the cake eating series (now the
os_*lectures) with inlineNamedTuplemodels. The refactor inlinedor removed the other external code files it used, but this folder was left behind.
Current state
optgrowth_fast/: there are no:load:directives or other references toogm.py/ogm_crra.pyanywhere in the repo, andOptimalGrowthModelappears nowhere outside thesetwo files. (The only lecture still loading a static
.pyismarkov_perf.)ogm_crra.pydefinesu_prime_inv(c)withoutselfwhile its body references
self.γ, which would fail on any call._static/lecture_specific/optgrowth/(3ndp.pdf,solution_og_ex2.png)_static/lecture_specific/coleman_policy_iter/(solve_time_iter.py)ogm.py) and[optgrowth_fast/ogm_crra.py] Update np.random → Generator API #963 (
ogm_crra.py). Both are blocked on a review question about changing the constructorsignature — which becomes moot if the files are removed.
Proposed tidy-up
lectures/_static/lecture_specific/optgrowth_fast/_static/lecture_specific/optgrowth/and_static/lecture_specific/coleman_policy_iter/