Commit d1dadfe
Fix DDD _snap_n floor mismatch in explicit n_range path
Hoist abs_min before the bracket branch so explicit n_range snaps use the
DDD realizable floor (16) instead of the registry profile floor (64).
Also pass floor=abs_min to bisection midpoint snap. Adds regression test
for low-range DDD sample-size search.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f1112ac commit d1dadfe
2 files changed
Lines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2316 | 2316 | | |
2317 | 2317 | | |
2318 | 2318 | | |
| 2319 | + | |
2319 | 2320 | | |
2320 | | - | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
2321 | 2324 | | |
2322 | 2325 | | |
2323 | 2326 | | |
| |||
2351 | 2354 | | |
2352 | 2355 | | |
2353 | 2356 | | |
2354 | | - | |
2355 | 2357 | | |
2356 | 2358 | | |
2357 | 2359 | | |
| |||
2413 | 2415 | | |
2414 | 2416 | | |
2415 | 2417 | | |
2416 | | - | |
| 2418 | + | |
2417 | 2419 | | |
2418 | 2420 | | |
2419 | 2421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1148 | 1172 | | |
1149 | 1173 | | |
1150 | 1174 | | |
| |||
0 commit comments