Skip to content

Commit da312f2

Browse files
MaxGhenisclaude
andcommitted
Add stacked simulation for efficient multi-scenario analysis
- Implement stacked_simulation module with TDD tests - Add ability to test multiple scenarios with shared tax calculations - Achieve ~4000x speedup by batching tax calculations - Fix withdrawal capping bug (portfolios can't go negative) - Add comprehensive notebook for personal injury settlement analysis - Clean up extraneous test files The stacked simulation approach runs all scenarios together for each spending level, using a single tax calculation per year instead of separate calculations for each simulation. This provides massive performance improvements for finding sustainable spending levels. 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
1 parent fb73d9a commit da312f2

13 files changed

+2108
-2206
lines changed

analyze_trajectory.py

Lines changed: 0 additions & 229 deletions
This file was deleted.

0 commit comments

Comments
 (0)