Commit 1cf287a
authored
Strengthen do_approx_sphere regression guard (#146)
The pr-test-analyzer review found that
test_end_to_end_correlation_vs_fortran_from_sample_params_json's
correlation/Amari thresholds at max_iter=100 don't reliably catch a
reintroduced do_approx_sphere=false: measured 0.9986 correlation and
0.0049 Amari with the bug present, comfortably passing, only
marginally failing by max_iter=500. Add a direct, deterministic
assertion on the resolved do_approx_sphere value (independent of
optimization dynamics) as the actual regression guard, and bump
max_iter to 300 so the fit-based checks stay a meaningful secondary
sanity check.1 parent 7949329 commit 1cf287a
1 file changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
1137 | 1147 | | |
1138 | 1148 | | |
1139 | 1149 | | |
1140 | 1150 | | |
1141 | 1151 | | |
1142 | 1152 | | |
| 1153 | + | |
1143 | 1154 | | |
1144 | 1155 | | |
1145 | 1156 | | |
| |||
1149 | 1160 | | |
1150 | 1161 | | |
1151 | 1162 | | |
1152 | | - | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1153 | 1177 | | |
1154 | 1178 | | |
1155 | 1179 | | |
| |||
0 commit comments