Commit 5f2ae2b
committed
test(recovery): bind m01 new-era surface test by id, not __FREE (ADR-0034 fallout)
test_de_recovers_via_experiment_surface drove the new-era experiment:/data: surface
with the legacy spec.free `{'k__FREE': ...}` against the `k k__FREE` alias model. Once
ADR-0034 made the new-era surface bind free parameters BY ID (no __FREE marker), the
config loader correctly rejected `k__FREE` (the model's parameter ids are S_init, k),
so this recovery test failed on main — caught only now because the recovery tier is
opt-in (-m recovery) and was not run when ADR-0034 landed.
Fix is local to this one test (the legacy make_config tests still exercise the __FREE
alias): rewrite the new-era model's `k k__FREE` alias to a bare `k <nominal>` and declare
the free parameter by its bare id `k`. The shared data-generation path (exp_for /
simulate_truth) is unchanged. Full `-m recovery` tier now green (16 passed).1 parent 06d2132 commit 5f2ae2b
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
241 | 247 | | |
242 | | - | |
243 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
244 | 256 | | |
245 | 257 | | |
246 | 258 | | |
| |||
258 | 270 | | |
259 | 271 | | |
260 | 272 | | |
261 | | - | |
| 273 | + | |
262 | 274 | | |
263 | 275 | | |
264 | 276 | | |
| |||
0 commit comments