Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
0bf3882
some importvements with view and workspaces
Feb 17, 2026
5a31edb
Add first-order perturbation workspaces to qme_workspace and ensure p…
Feb 17, 2026
afe39ef
Enhance caching mechanism for solution matrices in perturbation and f…
Feb 17, 2026
d77083b
Refactor caching logic in first, second, and third order solution fun…
Feb 17, 2026
7b14e8f
Optimize temporary buffer usage in solve_quadratic_matrix_equation fu…
Feb 17, 2026
ded01c2
make sure caches flow corectly through perturbation functions
Feb 17, 2026
5b350c3
Update agent guide with enhanced setup instructions and Revise.jl usage
Feb 17, 2026
7bcc4c6
update bench script
Feb 17, 2026
0a2e111
Add caching support to first, second, and third order solution calcul…
Feb 17, 2026
f843725
Refactor filter_and_smooth function to improve parameter formatting
Feb 17, 2026
7a19ebc
Add ∇₀ and ∇ₑ buffers to qme_workspace and update first order solutio…
thorek1 Feb 17, 2026
b23e17a
Refactor benchmark script to streamline solver cache management and r…
thorek1 Feb 17, 2026
2126a72
no allocs A fill
thorek1 Feb 17, 2026
c088246
apply edits to zygote ad call
thorek1 Feb 17, 2026
932e162
Enhance first order solution calculation by adding buffer management …
thorek1 Feb 17, 2026
38c9cde
reorg AGENTS.md
thorek1 Feb 17, 2026
2c5762e
qr with fastlapack
thorek1 Feb 17, 2026
7ccfd1d
Enhance QR factorization and transpose application with additional wo…
thorek1 Feb 17, 2026
aa3fdee
also add lu!
thorek1 Feb 17, 2026
cc4aa3a
Refactor initial guess handling in first, second, and third order sol…
thorek1 Feb 17, 2026
b9277d9
add lu wrapper and move wrappers to separate file
thorek1 Feb 18, 2026
3acd5aa
Refactor QR factorization function signatures for improved type consi…
thorek1 Feb 18, 2026
a4841a9
Add generalized Schur factorization function and update its usage in …
thorek1 Feb 18, 2026
82095f8
force dense jacobian for now
thorek1 Feb 18, 2026
6dd6618
Add LU and Schur workspace enhancements for quadratic matrix equation…
Feb 18, 2026
da9277c
Refactor workspace management in various functions to streamline usag…
Feb 18, 2026
16edebf
Refactor workspace management in first order solution calculation to …
thorek1 Feb 18, 2026
1146329
Refactor workspace management across multiple functions to streamline…
thorek1 Feb 18, 2026
8f8149b
Refactor workspace management to implement first-order and QME doubli…
thorek1 Feb 18, 2026
21c9525
Enhance model structure by adding I_nPast to post_model_macro and upd…
thorek1 Feb 18, 2026
2515c7b
Refactor workspace management to streamline access to first-order and…
thorek1 Feb 19, 2026
9423e11
rearrange mul! call so it comes after call that uses. same ws
thorek1 Feb 19, 2026
dfac61a
try and fix JET
thorek1 Feb 19, 2026
d90c82c
Revert "try and fix JET"
thorek1 Feb 19, 2026
191cdfb
fix jet errors
thorek1 Feb 19, 2026
86ca9ee
add julia finding instructions
Feb 19, 2026
468b2da
use constants for I_nPast
thorek1 Feb 19, 2026
c72106c
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Feb 19, 2026
87216ae
AD Dual brnach doesntt use cache
thorek1 Feb 19, 2026
8364b44
move I_n to constants
thorek1 Feb 19, 2026
4cba4f4
some more workspace use in linear cases
thorek1 Feb 19, 2026
79fd97b
refactor: replace default algorithm symbol with DEFAULT_QME_ALGORITHM…
thorek1 Feb 19, 2026
ff037fc
some comments of how this was done before refactoring so as to unders…
thorek1 Feb 19, 2026
8662752
cahce refactoring
thorek1 Feb 20, 2026
74dc5a8
refactor: remove unnecessary allow_cache_hit parameter from jacobian,…
thorek1 Feb 20, 2026
bbe4d3b
fix type stability issue
thorek1 Feb 20, 2026
757bd6d
less allocs in kalman filter
thorek1 Feb 21, 2026
13d3ef1
even less allocations
thorek1 Feb 21, 2026
6270955
refactor: initialize additional solution cache arrays in clear_soluti…
thorek1 Feb 21, 2026
6d1ca4a
kalman alloc optims and remove derivs cahce mechanism
thorek1 Feb 22, 2026
9285984
no more get_cached functions
thorek1 Feb 22, 2026
f1f7b79
refactor: enhance cache validation logic in solve! function
thorek1 Feb 22, 2026
37d3f3b
refactor: optimize closest solution search with relative parameter di…
thorek1 Feb 22, 2026
d4c7022
refactor: update Kalman iterations to use promoted matrix types for i…
thorek1 Feb 22, 2026
9b35e8c
refactor: improve handling of non-stochastic steady state in solution…
thorek1 Feb 22, 2026
e9352c0
refactor: update matrix handling in Kalman filter and rrule for impro…
thorek1 Feb 22, 2026
fc4188b
refactor: update matrix initialization in calculate_kalman_filter_log…
thorek1 Feb 22, 2026
50216eb
refactor: remove unnecessary @view macro in calculate_kalman_filter_l…
thorek1 Feb 22, 2026
1614c6b
refactor: update parameter type for C in run_kalman_iterations for im…
thorek1 Feb 22, 2026
5cc911d
wrote AD func for calc kalman filter llh and removed AD funcs for run…
thorek1 Feb 22, 2026
08e550d
rm run_kalman filter iter fpr FD
thorek1 Feb 22, 2026
e1bdef7
add buffer for B, view on C; less allocs in kalman
thorek1 Feb 22, 2026
4f819ce
implement lu FLI buffer and use within Kalman filter
thorek1 Feb 22, 2026
71dbbdd
refactored signatures
thorek1 Feb 22, 2026
f25723d
bringing kalman and inersion filter signatures closer
thorek1 Feb 22, 2026
eeeb413
unify signatures for inversion and kalman
thorek1 Feb 22, 2026
96222bd
unify signatures
thorek1 Feb 23, 2026
54831e1
add deriv tests
thorek1 Feb 23, 2026
e5bf0a9
progress docs
thorek1 Feb 23, 2026
2627aa9
add rrule implementations for first, second, and third order stochast…
Feb 23, 2026
d4de119
add rrule for loglikelihood calculation with custom options
Feb 23, 2026
96cfa29
Refactor Tolerances struct to use Float64 instead of AbstractFloat
Feb 23, 2026
a0fee2f
refactor loglikelihood pullback to use fill! for zero initialization
Feb 23, 2026
6029b0b
add progress
Feb 23, 2026
935f61c
seemingly working rrule fo rget_loglikelihood
Feb 24, 2026
aa31fff
Add guards against NoTangent cotangents in rrule for steady-state and…
thorek1 Feb 24, 2026
f221e1f
better workflow instructions
thorek1 Feb 25, 2026
07a9823
Enhance development workflow with sentinel-based completion detection…
thorek1 Feb 25, 2026
a4c3eb4
more gitignore and test scripts
thorek1 Feb 25, 2026
1a75da4
run it with dlm
Feb 25, 2026
dfec55c
dont write to tmp
Feb 26, 2026
32bdd76
calculate_second_order_stochastic_steady_state_pullback is correct, w…
Feb 26, 2026
ef9e012
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
Feb 26, 2026
472ae94
get_llh rrules and funcs further down in callstack commented; refacto…
thorek1 Feb 27, 2026
fe96b98
third order works, results still wrong
thorek1 Feb 27, 2026
49619b4
add rrules all the way up to get_loglikelihood
thorek1 Feb 27, 2026
4280d60
debug scripts for third roder derivs
thorek1 Feb 27, 2026
9088507
temporarily comment out rrules closer towards get_llh
thorek1 Feb 27, 2026
39023e5
new third order calc rrule
thorek1 Feb 28, 2026
3de5627
fixed third order codes
thorek1 Feb 28, 2026
df8ce49
comment in get_relevant_steady_state_and_state_update and get_loglike…
thorek1 Feb 28, 2026
83d1be9
add zygote vs finitediff test for estimation runs
thorek1 Feb 28, 2026
0bafa3a
get_irf rrule and tests
thorek1 Feb 28, 2026
0a01809
add Dockerfile and update devcontainer configuration for MacroModelli…
thorek1 Feb 28, 2026
23b1ac8
update gradient propagation in rrule for get_irf to handle initial st…
Mar 1, 2026
8643a02
also test last period for irf rrule
Mar 1, 2026
218ccba
add second order moments rrule
thorek1 Mar 1, 2026
4b3e898
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 1, 2026
cd38f06
fix inverison filter
Mar 2, 2026
f32428e
refactor loglikelihood rrule conditions to simplify state updates; fi…
thorek1 Mar 3, 2026
29537f2
remove unnecessary extension from VSCode configuration
thorek1 Mar 3, 2026
2cab5a3
tackled some allcoation issues; commented spots where improvements ca…
thorek1 Mar 3, 2026
6a89488
Add compressed_kron² function and update related structures for impro…
thorek1 Mar 3, 2026
b04ca88
Add stable primal cache for Lyapunov equation in forward-mode AD
thorek1 Mar 4, 2026
3b51da8
refactor NSSS solver to improve cache management and buffer handling
Mar 4, 2026
932192c
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
Mar 4, 2026
97d125e
S2 and S3 in compressed space
thorek1 Mar 4, 2026
8c73e53
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 4, 2026
43ac2b1
sylvester with less allocs
Mar 4, 2026
d7d47e3
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
Mar 4, 2026
23d44f9
Add stable primal solution cache for Sylvester equation and update re…
thorek1 Mar 4, 2026
5051b88
Enhance second order solution calculations with compressed Kronecker …
thorek1 Mar 4, 2026
da78977
Enhance NSSS implicit derivative calculations with FastLapack LU work…
thorek1 Mar 4, 2026
4c0a2f7
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 4, 2026
8ae93fb
Remove RecursiveFactorization dependency and update conditional forec…
thorek1 Mar 4, 2026
a8d1909
Refactor third order solution calculations to utilize compressed mixe…
thorek1 Mar 4, 2026
21d7564
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 4, 2026
cf3baee
Refactor Krylov workspace handling in Lyapunov and Sylvester equations
thorek1 Mar 4, 2026
77bda86
Enhance sparse matrix multiplication functions with buffer reuse and …
thorek1 Mar 4, 2026
47ff90d
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 4, 2026
cda8e3a
Fix sparse matrix creation by explicitly referencing SparseArrays module
thorek1 Mar 4, 2026
ca0236d
Refactor third-order solution calculations by replacing compressed_mi…
thorek1 Mar 4, 2026
bf9ec4f
Fix hessian comparison in third-order solution test by applying trans…
thorek1 Mar 4, 2026
e4d9df5
Fix hessian comparison in third-order solution test by referencing se…
thorek1 Mar 4, 2026
75c9509
fixed test error on 0x0 matrices
thorek1 Mar 4, 2026
23592fd
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 4, 2026
3b8eee1
Fix steady state buffer length test in basic test set
thorek1 Mar 5, 2026
e87a6ae
Add compressed_mixed_kron function for efficient third-order Kronecke…
thorek1 Mar 5, 2026
a474e9b
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 5, 2026
5a97714
Enhance NSSS computation by adding sparse matrix handling and workspa…
thorek1 Mar 5, 2026
2fcc503
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 5, 2026
c09938e
Add state-limited checks for third-order derivatives in functionality…
thorek1 Mar 5, 2026
af5edaf
Increase tolerance for third-order derivative approximation in functi…
thorek1 Mar 5, 2026
2893690
Add seed parameter for Pigeons initialization to ensure reproducibility
thorek1 Mar 6, 2026
06b7137
Initial plan
Copilot Mar 6, 2026
e914957
Optimize model parsing: batch SymPy symbol creation and add session-l…
Copilot Mar 6, 2026
84f22e9
Optimize model parsing: batch SymPy symbol creation and add session-l…
Copilot Mar 6, 2026
2eea875
Enable @compile_workload to drastically reduce first-load JIT time
Copilot Mar 6, 2026
ea0b7db
Enable @nospecialize on user-facing functions and add get_irf to comp…
Copilot Mar 6, 2026
9fc7a89
Refactor Sylvester equation handling to ensure ownership clarity and …
thorek1 Mar 6, 2026
a5e5cbe
Ensure covariance stability by copying raw covariance in calculate_co…
thorek1 Mar 6, 2026
fd85f34
Revert @compile_workload; keep @nospecialize on non-estimation functi…
Copilot Mar 6, 2026
928f671
Add @compile_workload with consumption-savings model; revert SymPy ch…
Copilot Mar 6, 2026
e479b8d
Refactor matrix handling and update auxiliary structures for improved…
thorek1 Mar 7, 2026
33e7952
Fix Caldara model precompile=true: trivial_simplify + Int base handli…
Copilot Mar 7, 2026
16f1034
Expand trivial_simplify with algebraic rules; revert @compile_workloa…
Copilot Mar 7, 2026
2f033ee
bring back choose matrix for sylvester
thorek1 Mar 7, 2026
ad678e4
Refactor third order solution pullback to improve gradient flow by se…
thorek1 Mar 7, 2026
4446de4
Fix variable naming in get_steady_state function for clarity and cons…
thorek1 Mar 7, 2026
dc1f221
Enhance Sylvester equation solver by refining initial guess handling …
thorek1 Mar 7, 2026
a765b3e
Change norm calculation in solve_quadratic_matrix_equation to use min…
thorek1 Mar 7, 2026
c14d4f5
Replace CSV with DelimitedFiles for data loading in tests and update …
thorek1 Mar 7, 2026
e3a91e2
Add DelimitedFiles dependency and include it in test targets
thorek1 Mar 7, 2026
f59af5e
Refactor data loading in tests to use header directly instead of conv…
thorek1 Mar 7, 2026
b2c4bcc
Refactor get_steady_state function to improve steady state and parame…
thorek1 Mar 7, 2026
7341cba
Rename 𝐔₂_nonempty_col_as_kron_rowmask to ∇₂_nonempty_col_as_kron_row…
thorek1 Mar 7, 2026
8176ac7
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 7, 2026
1f78a62
Enhance Jacobian and Hessian Calculations with Workspaces
thorek1 Mar 10, 2026
7dd18af
Refactor matrix multiplication in calculate_third_order_solution for …
thorek1 Mar 10, 2026
da7dbfd
Optimize fill_kron_adjoint! and compressed_kron³_pullback! for effici…
thorek1 Mar 11, 2026
e74a982
Optimize filled_kron_adjoint with more density and added inbounds dec…
thorek1 Mar 11, 2026
adcc767
Add benchmarking for first, second, and third order solutions with gr…
thorek1 Mar 11, 2026
4fd65d5
Reorganize mandatory workflow steps in AGENTS.md for clarity and cons…
thorek1 Mar 11, 2026
53a057f
Enhance workspace type promotion in calculate_hessian and calculate_t…
thorek1 Mar 11, 2026
eab387c
Add compressed_permuted_mixed_kron function and update auxiliary matr…
thorek1 Mar 11, 2026
0f53c95
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 11, 2026
bef2dc0
Enhance compressed_permuted_mixed_kron function with sparse prealloca…
thorek1 Mar 11, 2026
999c613
Add cached product field to third_order_indices and update related fu…
thorek1 Mar 11, 2026
318605e
Remove redundant matrix format conversion in calculate_third_order_so…
thorek1 Mar 11, 2026
f287e67
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 11, 2026
4659b3f
Add compressed_kron function for efficient third-order Kronecker prod…
thorek1 Mar 12, 2026
894d66b
Refactor compressed_kron function for improved sparse matrix handling…
Mar 12, 2026
7bbb98c
Refactor compressed_kron function for better sparse matrix handling a…
thorek1 Mar 12, 2026
7ff986c
Add isolated reproduction for higher-order IRF assertions and state u…
thorek1 Mar 13, 2026
9d93b59
Refactor calculate_third_order_solution to use compressed_permuted_mi…
thorek1 Mar 13, 2026
0cbe1fe
Refactor calculate_third_order_solution to utilize compressed_kron wi…
thorek1 Mar 14, 2026
297456d
Refactor second-order auxiliary matrices and update related structure…
thorek1 Mar 14, 2026
5118265
Refactor calculate_third_order_solution to streamline Kronecker produ…
thorek1 Mar 14, 2026
1205e45
Refactor calculate_third_order_solution to improve clarity and update…
thorek1 Mar 14, 2026
7be56ba
Add compressed_kron_pullback_2arg function for adjoint computation wi…
thorek1 Mar 14, 2026
9762001
Refactor compressed_kron pullback functions and introduce compressed_…
thorek1 Mar 14, 2026
f837e9e
Introduce higher-order solution buffers and refactor related function…
thorek1 Mar 14, 2026
4071252
Refactor Pigeons initialization to use constant seeds for reproducibi…
thorek1 Mar 14, 2026
06c2621
Enhance third-order solution calculations by introducing symmetrised …
thorek1 Mar 15, 2026
3bf8bd4
fix jet
thorek1 Mar 15, 2026
dd139ea
Enhance rrule pullback efficiency by introducing pre-transposed const…
thorek1 Mar 15, 2026
536a838
Fix argument order in Sylvester_workspace initialization for first-or…
thorek1 Mar 15, 2026
f2ebc0c
Enhance third-order workspace and rrule functions by adding new matri…
thorek1 Mar 16, 2026
fe65ca7
walkthrough scripts
thorek1 Mar 16, 2026
297a8c2
Implement feature X to enhance user experience and fix bug Y in module Z
thorek1 Mar 17, 2026
04ee4c3
Remove unused variable ∂𝛔_discard_3rd from higher_order_workspace and…
thorek1 Mar 22, 2026
2dc476a
Optimize matrix multiplication by adding fused functions for compress…
thorek1 Mar 23, 2026
61a224b
Enhance moments calculations with duplication/elimination matrices
thorek1 Mar 24, 2026
f85f54f
Add block-triangular Lyapunov solver and update workspaces for third-…
Mar 24, 2026
df43a62
Refactor third-order moments calculation and improve Lyapunov solver
thorek1 Mar 25, 2026
c23e096
Add symmetric_rhs parameter to Lyapunov equation solvers for enhanced…
thorek1 Mar 25, 2026
71a6dce
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 25, 2026
846cc12
make rrule consitent with orimal call for moments
thorek1 Mar 25, 2026
f415aeb
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 25, 2026
4872f46
Convert matrix multiplication result to Matrix type in calculate_logl…
thorek1 Mar 26, 2026
8c0f58b
Set default value of symmetric_rhs parameter to true in solve_lyapuno…
thorek1 Mar 26, 2026
b704e6c
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 26, 2026
cb04fe4
Refactor Lyapunov equation solvers to use dense matrix representation…
thorek1 Mar 26, 2026
17d1476
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 26, 2026
eb3bcbd
Remove unnecessary timing macros from calculate_third_order_moments p…
thorek1 Mar 26, 2026
cb391ec
Refactor calculate_third_order_moments pullback to remove timing stat…
thorek1 Mar 26, 2026
1c8b5ea
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 26, 2026
c7841b6
no more symmetric_rhs
thorek1 Mar 26, 2026
bb0ccab
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 26, 2026
1c4425b
Remove estimation likelihood checks and related tests
thorek1 Mar 26, 2026
8bcafb8
Add functions for packing and unpacking symmetric matrices; optimize …
thorek1 Mar 26, 2026
0bfed1a
Optimize Lyapunov equation solver with allocation-free residual calcu…
thorek1 Mar 26, 2026
d8b4233
Fix covariance calculation by collecting matrix before solving for μˢ⁺₂
thorek1 Mar 26, 2026
0faf760
Refactor First_order_workspace to use type parameters for better flex…
thorek1 Mar 26, 2026
94df6fb
Increase sample size and number of chains in estimation tests for imp…
thorek1 Mar 26, 2026
172852b
Increase sample size and number of chains in estimation tests for imp…
thorek1 Mar 27, 2026
5d4040e
Increase sample size in second order estimation tests for improved ac…
thorek1 Mar 27, 2026
b738293
Initialize kron_buffer for current iterate in find_shocks function
thorek1 Mar 27, 2026
f618ed4
Enhance choose_matrix_format to handle sparse adjoints correctly by c…
thorek1 Mar 27, 2026
fca3575
Add acceptance_tol parameter to solve_lyapunov_equation for improved …
thorek1 Mar 27, 2026
9c89bef
Refactor Lyapunov workspace initialization in third order moments cal…
thorek1 Mar 28, 2026
2755979
Refactor initial_guess handling in calculate_first_order_solution for…
thorek1 Mar 28, 2026
e6c1c6b
Increase precision in functionality tests by adding absolute toleranc…
thorek1 Mar 29, 2026
935e739
Update lyapunov_acceptance_tol to try and fix tests
thorek1 Mar 29, 2026
683d4db
Remove unnecessary droptol! calls in third order moments calculations…
thorek1 Mar 29, 2026
9cec581
Merge branch 'optim_LFI_alloc' of https://github.com/thorek1/MacroMod…
thorek1 Mar 29, 2026
85ebbae
Decrease stall_tolerance in solve_nsss_wrapper for improved numerical…
thorek1 Mar 29, 2026
ad8989e
Fix cache assignment for first order solution in solve! function and …
thorek1 Mar 30, 2026
163a58f
undo tol related changes
thorek1 Mar 31, 2026
be08c3c
Refactor tolerance settings in perturbation calculations and function…
thorek1 Mar 31, 2026
087932b
Refactor tolerance handling in Lyapunov, quadratic, and Sylvester equ…
Apr 1, 2026
8daf3fc
Refactor tolerance handling in solver functions to use absolute and r…
Apr 1, 2026
2d0dd19
Enhance tolerance handling by introducing new utility functions for f…
Apr 1, 2026
23f9058
Invalidate solution cache validity stamps in solver functions to ensu…
Apr 1, 2026
a259285
Refactor non-stochastic steady state cache handling to improve validi…
Apr 1, 2026
9914965
Update Sylvester tolerance checks to use acceptance tolerance for sec…
Apr 1, 2026
9b28b7d
fix statsplotsext
Apr 1, 2026
4cc9abe
Enhance non-stochastic steady state handling by adding cache checks t…
Apr 2, 2026
1870300
Refactor NSSS solver and inversion filter to utilize workspace buffer…
thorek1 Apr 2, 2026
4099c3a
Enhance caching mechanism across various functions
thorek1 Apr 2, 2026
a92cf46
Enhance caching logic in solution calculations to handle dual numbers…
thorek1 Apr 2, 2026
6d0fb52
Enhance rrule functions to include parameter_values for improved flex…
thorek1 Apr 2, 2026
083f05a
Refactor non-stochastic steady state calculations to streamline cache…
thorek1 Apr 2, 2026
3cde6e6
Invalidate derivative stamps to prevent stale buffer issues in jacobi…
thorek1 Apr 2, 2026
6a4f68e
Remove unnecessary copy in covariance calculation for improved perfor…
thorek1 Apr 3, 2026
386904f
Enhance error handling in get_moments function to provide warnings an…
thorek1 Apr 3, 2026
3a7cf43
Replace zeros with NaN defaults in various functions to enhance error…
thorek1 Apr 3, 2026
1745a77
Add caching support for first-order OBC solution and stochastic stead…
thorek1 Apr 3, 2026
a8e9cf3
Refactor functionality_test to remove state-limited derivative checks…
thorek1 Apr 3, 2026
fc707f2
Merge branch 'optim_LFI_alloc' into copilot/improve-model-parsing-speed
thorek1 Apr 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM julia:latest

# System dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
git curl sudo ca-certificates python3 python3-pip \
&& rm -rf /var/lib/apt/lists/*

# Non-root user (Codespaces convention)
RUN groupadd -g 1000 vscode \
&& useradd -m -u 1000 -g vscode -s /bin/bash vscode \
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/vscode

USER vscode
WORKDIR /home/vscode

# Pre-populate Julia depot with MacroModelling (main branch) deps
RUN git clone --depth 1 https://github.com/thorek1/MacroModelling.jl.git /tmp/MacroModelling \
&& cd /tmp/MacroModelling \
&& julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' \
&& rm -rf /tmp/MacroModelling

# Pre-compile LanguageServer for the Julia VS Code extension
RUN julia -e 'using Pkg; Pkg.add("LanguageServer"); using LanguageServer'
19 changes: 0 additions & 19 deletions .devcontainer/add-notice.sh

This file was deleted.

38 changes: 16 additions & 22 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
// See https://github.com/julia-vscode/julia-devcontainer/blob/master/Dockerfile for image contents
{
"name": "Julia (Community)",
"image": "ghcr.io/julia-vscode/julia-devcontainer:latest",
// "image": "tkockerols/julia-development:latest",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"julialang.language-julia",
"rid9.datetime",
"mutantdino.resourcemonitor",
"bungcip.better-toml"
]
}
},
"onCreateCommand": "julia -e 'import Pkg; Pkg.add(\"SymPy\"); using SymPy'",
"postCreateCommand": "/julia-devcontainer-scripts/postcreate.jl",

"remoteUser": "vscode"
"name": "MacroModelling.jl",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"julialang.language-julia"
],
"settings": {
"julia.executablePath": "/usr/local/julia/bin/julia"
}
}
},
"onCreateCommand": "julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'",
"remoteUser": "vscode"
}
3 changes: 0 additions & 3 deletions .devcontainer/noop.txt

This file was deleted.

Loading
Loading