Skip to content

refactor: remove dead non_linear config files (PyAutoBrain#155) - #9

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-orphan-config-files
Jul 23, 2026
Merged

refactor: remove dead non_linear config files (PyAutoBrain#155)#9
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-orphan-config-files

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Part 2 of PyAutoBrain#155 — removes dead orphan config surfaced by the new reachability-based /hygiene config check.

config/non_linear/{nest,mle,mcmc}.yaml is dead: nothing reads conf.instance["non_linear"] for them. Non-linear searches take their defaults from their Python constructor signatures (Nautilus n_live=3000 in autofit/non_linear/search/nest/nautilus/search.py), while these yamls say n_live=200 and have no effect. No library ships them; the only live file in the directory is GridSearch.yaml, which stays.

Same defect class as the grids.yaml removal (autolens_workspace#317). Verified after deletion that conf.instance["non_linear"] still resolves (gridsearch kept) and config loading is unbroken.

config/non_linear/{nest,mle,mcmc}.yaml is dead config — nothing reads
conf.instance["non_linear"] for them. Non-linear searches take their defaults
from their Python constructor signatures (e.g. Nautilus n_live=3000 in
autofit/non_linear/search/nest/nautilus/search.py), while these yamls say
n_live=200 and have no effect. No library ships them; the only live file in
this directory is GridSearch.yaml (kept). The user-facing workspaces already
dropped them; this clears the stale test/assistant/developer/euclid copies.

Same defect class as the grids.yaml removal (autolens_workspace#317); found by
the reachability-based orphan-config-file check added in PyAutoBrain (issue
PyAutoBrain#155).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit e59c7fe into main Jul 23, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/hygiene-orphan-config-files branch July 23, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant