Skip to content

refactor: remove dead non_linear + visualize/include config (PyAutoBrain#155)#88

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

refactor: remove dead non_linear + visualize/include config (PyAutoBrain#155)#88
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.

Also removes config/visualize/include.yaml — dead for the same reason (no library ships it, nothing reads conf.instance["visualize"]["include"], no Include2D class, user-facing workspaces already dropped it).

Two dead-config clusters found by the reachability-based orphan-config-file check (PyAutoBrain#155): config/non_linear/{nest,mle,mcmc}.yaml (searches default from Python signatures, not these yamls; only GridSearch.yaml is live) and config/visualize/include.yaml (no library ships it, nothing reads conf visualize.include, no Include2D class, user-facing workspaces dropped it). Same class as autolens_workspace#317's grids.yaml.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit c6c1c03 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