Commit 87661d7
fix: address CI review round 10 - _snap_n floor enforcement for n_range
- P1: fix _snap_n() to honor floor even when grid_step==1 (non-DDD),
so explicit n_range with survey_config is clamped to min_viable_n
- Add regression test for n_range=(10, 200) with min_viable_n=80
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b91a485 commit 87661d7
2 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2834 | 2834 | | |
2835 | 2835 | | |
2836 | 2836 | | |
2837 | | - | |
2838 | | - | |
2839 | 2837 | | |
| 2838 | + | |
| 2839 | + | |
2840 | 2840 | | |
2841 | 2841 | | |
2842 | 2842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
2398 | 2417 | | |
2399 | 2418 | | |
2400 | 2419 | | |
| |||
0 commit comments