Commit 37a374e
committed
fix(simulation): add convergence as built-in auto-stop before quiescence
Position distribution stability (window=3, tolerance=0.005) is now
checked every timestep regardless of scenario stop_conditions. Prevents
sims from burning API calls when outcomes are already frozen.1 parent f473c8f commit 37a374e
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
245 | 249 | | |
246 | 250 | | |
247 | 251 | | |
| |||
0 commit comments