diff --git a/dashboard.html b/dashboard.html index 13cc4a925..99e42cb54 100644 --- a/dashboard.html +++ b/dashboard.html @@ -327,8 +327,8 @@ Keep track of decisions and outstanding questions throughout this conversation. After changes, report what was recorded, where it lives and what remains to do. Work on GitHub: -- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-05 10:10:16 UTC
↻ Update

- +- Open Mind repository: https://github.com/PyAutoLabs/PyAutoMind
Last updated 2026-11-05 11:02:59 UTC
↻ Update

+
Batch 2026-11-05-am — 0 in progress · 0 awaiting review

Nothing to review yet.

Start here

24
@@ -361,8 +361,9 @@

Fits a slot (ready to run unattended, cheapest to revie

Epics

21

Long-running multi-phase programmes — 📋 copies a prompt that works out where the epic stands from its ledger and continues it from the next logical point. Members are worked in order through the epic's ledger — continue the epic rather than starting one standalone.

-CTI upkeep parity — release-train wiring and first modern autocti release, arcticpy modernisation (upstream 2.7 / wheels, DNA, docs), integration-test parity (smoke coverage, workspace_test rebuild, 3.12–3.14 matrix, docs build), autocti_profiling + Pulse cti row, figures/assistant/docs currency, hygiene — 4 queued prompt(s), in order +CTI upkeep parity — release-train wiring and first modern autocti release, arcticpy modernisation (upstream 2.7 / wheels, DNA, docs), integration-test parity (smoke coverage, workspace_test rebuild, 3.12–3.14 matrix, docs build), autocti_profiling + Pulse cti row, figures/assistant/docs currency, hygiene — 5 queued prompt(s), in order

CTI upkeep parity — release-train wiring and first modern autocti release, arcticpy modernisation (upstream 2.7 / wheels, DNA, docs), integration-test parity (smoke coverage, workspace_test rebuild, 3.12–3.14 matrix, docs build), autocti_profiling + Pulse cti row, figures/assistant/docs currency, hygiene — ledger: draft/maintenance/autocti/cti_upkeep_epic.md — FILED 2026-11-04 — survey in draft/maintenance/autocti/cti_upkeep_epic_report.md; R1–R6 RULED 2026-11-04 (arcticpy fixed upstream…

+ @@ -536,8 +537,8 @@

Fits a slot (ready to run unattended, cheapest to revie

clean-slate-grouped-layout — planned — human said "continue" 2026-11-05; blocked only by the repo claim

tidy-skip-claimed-branches — planned — human said "continue" 2026-11-05; blocked only by the repo claim

-

Backlog

295
-

Lanes: any 285 · local-dev 8

+

Backlog

296
+

Lanes: any 286 · local-dev 8

Human review — 2
+
📋 autocti_workspace: the dataset_1d results/database example scripts have drifted — autocti_workspace · large · supervised · normal ``` @@ -1243,7 +1251,7 @@ Use the start-dev skill. draft/bug/pyautobrain/hygiene_tidy_recommends_deleting_ ## Backlog -Lanes: any 285 · local-dev 8 +Lanes: any 286 · local-dev 8
diff --git a/draft/bug/autocti/fits_fit_missing_output_dir_under_fast_plots.md b/draft/bug/autocti/fits_fit_missing_output_dir_under_fast_plots.md new file mode 100644 index 000000000..d070796e2 --- /dev/null +++ b/draft/bug/autocti/fits_fit_missing_output_dir_under_fast_plots.md @@ -0,0 +1,47 @@ +# autocti: fits_fit writes fit.fits into a directory nothing creates when PYAUTO_FAST_PLOTS=1 + +Type: bug +Target: autocti +Repos: +- autocti +- autocti_workspace +Themes: +- cti +- visualization +Difficulty: small +Autonomy: supervised +Priority: normal +Status: formalised +Consequence: glance +Witness: with `PYAUTO_TEST_MODE=1 PYAUTO_SKIP_VISUALIZATION=0 PYAUTO_FAST_PLOTS=1`, `scripts/dataset_1d/modeling/start_here.py` and `scripts/imaging_ci/modeling/start_here.py` in autocti_workspace run to completion and write `image/fit_dataset/fit.fits`; autocti_workspace `config/build/profile_release.yaml` flips back to `PYAUTO_FAST_PLOTS: "1"`. +Review-minutes: 3 +Unattended: ready +Epic: cti-upkeep +Phase: 3 + +## What happens + +Found 2026-11-05 while adding autocti_workspace `config/build/profile_release.yaml` +for the release train (PyAutoHands#332). All 3 `smoke_tests.txt` scripts fail +under the release profile with FAST_PLOTS on: + +``` +FileNotFoundError: .../output/test_mode/dataset_1d/simple/species[x2]//analyses/analysis_0/image/fit_dataset/fit.fits + autocti/dataset_1d/model/plotter.py:202 fit_plots.fits_fit(fit=fit, output_path=output_path) + autocti/dataset_1d/plot/fit_plots.py:216 hdu_list.writeto(Path(output_path) / "fit.fits", ...) +``` + +`output_path` is the `image_path / "fit_dataset"` subfolder. It only gets created as a +side effect of `autoarray.plot.utils.subplot_save` saving a figure. With +`PYAUTO_FAST_PLOTS=1` that function returns before it creates the directory, so the +FITS write fails. PyAutoGalaxy avoids this because its base plotter `image_path` +calls `os.makedirs`, and its fits writers target that path directly. + +## Fix + +Create the directory before the write in both FITS writers: +`autocti/dataset_1d/plot/fit_plots.py::fits_fit` and +`autocti/charge_injection/plot/fit_ci_plots.py::fits_fit` (or make the CTI plotters' +subfolder paths `mkdir(parents=True, exist_ok=True)`). Add a unit test that calls +`fits_fit` with a non-existent output directory. Then set the release profile's +FAST_PLOTS back to "1" (the temporary workaround comment points here). diff --git a/scripts/repos_sync.py b/scripts/repos_sync.py index 04be543a2..faf7b4554 100644 --- a/scripts/repos_sync.py +++ b/scripts/repos_sync.py @@ -1862,19 +1862,21 @@ def check_structure_lints(root, repos): "PyAutoBrain/agents/conductors/release/nightly.sh": {"PyAutoLabs", "PyAutoLens"}, "PyAutoBrain/agents/conductors/release/rehearse.sh": { "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", "PyAutoLens", + "PyAutoNerves", }, "PyAutoBrain/agents/conductors/release/validate.sh": { "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", "PyAutoLens", + "PyAutoNerves", }, "PyAutoBrain/agents/conductors/workspace/_workspace.py": { "HowToFit", @@ -1917,6 +1919,7 @@ def check_structure_lints(root, repos): "HowToGalaxy", "HowToLens", "PyAutoArray", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", @@ -2057,11 +2060,13 @@ def check_structure_lints(root, repos): }, "PyAutoHands/autohands/aggregate_results.py": { "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", "PyAutoLens", + "PyAutoNerves", + "autocti_workspace", "autofit_workspace", "autogalaxy_workspace", "autolens_workspace", @@ -2074,6 +2079,7 @@ def check_structure_lints(root, repos): "HowToGalaxy", "HowToLens", "PyAutoLabs", + "autocti_workspace", "autofit_workspace", "autogalaxy_workspace", "autolens_workspace", @@ -2087,17 +2093,19 @@ def check_structure_lints(root, repos): "HowToFit", "HowToGalaxy", "HowToLens", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLens", }, "PyAutoHands/autohands/generate_release_notes.py": { "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", "PyAutoLens", + "PyAutoNerves", "PyAutoScientist", }, "PyAutoHands/autohands/navigator.py": { @@ -2123,6 +2131,7 @@ def check_structure_lints(root, repos): "PyAutoHands/autohands/run_notebook.py": {"autolens_workspace"}, "PyAutoHands/autohands/slack_release_notes.py": { "PyAutoArray", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", @@ -2130,10 +2139,11 @@ def check_structure_lints(root, repos): }, "PyAutoHands/autohands/tag_and_merge.sh": { "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLens", + "PyAutoNerves", }, "PyAutoHands/pre_build.sh": { "HowToFit", @@ -2144,6 +2154,8 @@ def check_structure_lints(root, repos): "PyAutoLabs", "PyAutoLens", "admin_jammy", + "autocti_workspace", + "autocti_workspace_test", "autofit_workspace", "autofit_workspace_developer", "autofit_workspace_test", @@ -2188,6 +2200,7 @@ def check_structure_lints(root, repos): }, "PyAutoHands/tests/test_slack_release_notes.py": { "PyAutoArray", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLabs", @@ -2314,10 +2327,11 @@ def check_structure_lints(root, repos): "PyAutoHeart/tests/test_readiness.py": { "HowToLens", "PyAutoArray", - "PyAutoNerves", + "PyAutoCTI", "PyAutoFit", "PyAutoGalaxy", "PyAutoLens", + "PyAutoNerves", "autogalaxy_workspace", "autolens_workspace", "autolens_workspace_test", diff --git a/state.json b/state.json index 28fa31188..3d7f585c5 100644 --- a/state.json +++ b/state.json @@ -4,7 +4,7 @@ "repo": "PyAutoMind", "status": "yellow", "headline": "YELLOW \u2014 24 picks \u00b7 8 in flight", - "updated": "2026-11-05T10:10:16Z", + "updated": "2026-11-05T11:03:00Z", "pages_url": "https://pyautolabs.github.io/PyAutoMind/", "items": [ {