|
| 1 | +# Fix release result/sample parameter-path regressions |
| 2 | + |
| 3 | +## Context |
| 4 | + |
| 5 | +PyAutoHeart release validation run `28784914443` exposed a family of workspace |
| 6 | +failures. Against current `main`, nine scripts converge on |
| 7 | +`PyAutoFit/autofit/non_linear/samples/sample.py::parameter_lists_for_paths` |
| 8 | +raising `KeyError` for model paths that no longer match stored sample kwargs. |
| 9 | + |
| 10 | +Primary repository: @PyAutoFit. Downstream verification repositories: |
| 11 | +@autogalaxy_workspace and @autolens_workspace. |
| 12 | + |
| 13 | +## Scripts |
| 14 | + |
| 15 | +- `autogalaxy_workspace/scripts/imaging/features/pixelization/galaxy_reconstruction.py` |
| 16 | +- `autogalaxy_workspace/scripts/imaging/features/shapelets/modeling.py` |
| 17 | +- `autogalaxy_workspace/scripts/multi/features/imaging_and_interferometer/modeling.py` |
| 18 | +- `autolens_workspace/scripts/group/features/advanced/mass_stellar_dark/chaining.py` |
| 19 | +- `autolens_workspace/scripts/guides/modeling/advanced/hierarchical.py` |
| 20 | +- `autolens_workspace/scripts/imaging/features/advanced/shapelets/modeling.py` |
| 21 | +- `autolens_workspace/scripts/interferometer/features/subhalo/detect/start_here.py` |
| 22 | +- `autolens_workspace/scripts/interferometer/features/extra_galaxies/slam.py` |
| 23 | +- `autolens_workspace/scripts/multi/features/imaging_and_interferometer/modeling.py` |
| 24 | + |
| 25 | +## Required work |
| 26 | + |
| 27 | +1. Reproduce from clean task worktrees with the release profile and current library |
| 28 | + sources; distinguish stale cached output from newly written samples. |
| 29 | +2. Trace model path construction, stored kwargs, path aliases, and collection/list |
| 30 | + indices through `Samples`, `Sample`, and result loading. |
| 31 | +3. Fix the owning PyAutoFit contract if valid current-model paths cannot resolve. |
| 32 | + Do not weaken workspace scripts or silently ignore missing parameters. |
| 33 | +4. Add focused PyAutoFit regression tests covering single, multi-analysis, chained, |
| 34 | + list-profile, and multi-dataset paths represented above. |
| 35 | +5. Run PyAutoFit pytest, then rerun all nine scripts under their release profiles. |
| 36 | + |
| 37 | +Preserve tutorial prose and make workspace edits only where a script genuinely uses a |
| 38 | +retired API rather than exposing a library defect. |
0 commit comments